printlogo
http://www.ethz.ch/index_EN
Institute for Atmospheric and Climate Science
 
print
  

ive2cf example

From the office ...

alpen

#!/bin/tcsh

# working folder
set folder = /home/mischa/lhome/p2s_test/

# name of the CF-netCDF file
# this is a normal 3D netCDF file
set cffile = P19800101_00.nc

cd $folder

# cf2ive
/home/mischa/bin/cf2ive $cffile

# p2s
set ivefile = P19800101_00
/usr/local/bin/p2s $ivefile PV TH

# specify names
if ( ! -f spez.txt) touch spez.txt
cat >> spez.txt <<EOF
vertlevel sigma
title Secondary File from p2s
EOF

# ive2cf
/home/mischa/bin/ive2cf S19800101_00 -f spez.txt

# cleaning
\rm S19800101_00 P19800101_00 P19800101_00_cst spez.txt

exit 0

 

Wichtiger Hinweis:
Diese Website wird in älteren Versionen von Netscape ohne graphische Elemente dargestellt. Die Funktionalität der Website ist aber trotzdem gewährleistet. Wenn Sie diese Website regelmässig benutzen, empfehlen wir Ihnen, auf Ihrem Computer einen aktuellen Browser zu installieren. Weitere Informationen finden Sie auf
folgender Seite.

Important Note:
The content in this site is accessible to any browser or Internet device, however, some graphics will display correctly only in the newer versions of Netscape. To get the most out of our site we suggest you upgrade to a newer browser.
More information

© 2012 ETH Zurich | Imprint | Disclaimer | 10 January 2006
top