[RegCNET] [Help RegCM3] postproc

Mohamad Ibrahim OMAR egy_mohamad at yahoo.com
Wed Apr 27 14:44:07 CEST 2011


Hi, 
you can add the following lines to your postproc.in file and run it again 


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 allRegCMdata 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 (fromterrain)
'OUT_HEAD',     ! Header File name (from RegCM)
'1994062500',   ! 1stRegCM Output File Extension
'1994070100',   ! 1stRegCM Output File Extension

and let me know if there is a problem

THANKS




 
Mohamed Ibrahim El-Sayed OMAR
Egyptian Meteorological Authority
Scientific Research Department
Climate Studies Centre
Kobry El-Quobba, P.O.Box. 11784 
Cairo, EGYPT
Mobil phone  : 002 0160802805  
Home Phone : 002 0482370261





________________________________
From: Xuejia Wang <wangxuejia86 at 163.com>
To: RegCNET at lists.ictp.it
Sent: Tue, April 26, 2011 2:30:53 PM
Subject: [RegCNET] [Help RegCM3] postproc



Hello Everyone,
   I have a trouble in PostProc of RegCM3.When I run ./postproc.x,I can't get 
ncfile.Please help me!Thanks!
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 allRegCMdata 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 (fromterrain)
'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
 


________________________________
 体验网易邮箱2G超大附件,轻松发优质大电影、大照片,提速3倍! 


________________________________
 体验网易邮箱2G超大附件,轻松发优质大电影、大照片,提速3倍! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20110427/cee64937/attachment.html>


More information about the RegCNET mailing list