regcm3/regcm/PracticeRun> ./postproc.x
rm -f *.o postproc
pgf90 -byteswapio -Ktrap=fp -L/public1/software/
netcdf3.6.0/lib -lnetcdf -c -o postproc.o postproc.f
postproc.f:
pgf90 -byteswapio -Ktrap=fp -L/public1/software/netcdf3.6.0/lib -lnetcdf -c -o netcdf.o netcdf.f
netcdf.f:
pgf90 -byteswapio -Ktrap=fp -o postproc postproc.o netcdf.o -L/public1/software/netcdf3.6.0/lib -lnetcdf
ENTER THE TYPE OF REGCM OUTPUT TO BE PROCESSED:
ICBC (0=no; 1=yes)
0
ATM (0=no; 1=yes)
0
SRF (0=no; 1=yes)
1
RAD (0=no; 1=yes)
0
CHE (0=no; 1=yes)
0
SUB (0=no; 1=yes)
0
*******************************************************
IDATE0 = 1994062500 IDATE1 = 1994062500 IDATE2 =
1994080100
*******************************************************
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
POSTPROCESSING OF 3D DATA WILL BE PERFORMED ON
SIGMA LEVELS
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
OUTPUT WILL BE WRITTEN IN NETCDF 4-BYTE
FORMAT
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
DONE!!!
There is no nc file. postproc.in is as following:
1994062500, ! idate0 = First date in File (yymmddhh)
1994062500, ! idate1 = Start date for averaging and re-writing
1994080100, ! idate2 = End date for averaging and re-writing
2, ! iotype: 1=I*2 NetCDF; 2=r*4 NetCDF; 3=
grads; 4=vis5d
.false., ! plev
.false., ! usgs
.false., ! Write out header?
.false., ! Write out all
RegCMdata b/twn idate1 &
idate2?
.false., ! Average RegCM data b/twn idate1 & idate2?
.false., ! Diurnali avg of RegCM data b/twn idate1 & idate2?
.true., ! Continually average data b/twn idate1 & idate2?
-1., ! No. Days for continual averaging (-1=monthly;1=daily;5=5day)
'199408', ! postproc output filename (not including type & ext)
'../Input', ! ICBC directory
'./output', ! RegCM Output directory
'
DOMAIN.INFO', ! Domain Info Filename (from
terrain)
'OUT_HEAD', ! Header File name (from RegCM)
'1994080100', ! 1stRegCM Output File
Extension
~
~
~
~
~
~
~
~
~
~
~
~
~
~
My postproc.x is as following:
#!/bin/csh -f
set mydir=$PWD
cd ../PostProc
make clean
make
cd $mydir
mv ../PostProc/postproc .
./postproc