[RegCNET] cru-prblem

Rauscher Sara A srausche at ictp.it
Mon Jul 7 10:18:05 CEST 2008


Hi Elham,
Another problem is that the directory path leading to where the CRU 
files are located must be changed. You need to download the CRU files 
from our web site, and then in cru.param change /RAID2/D1/CRU/TS2.1/ to 
be the path to the data on your local machine.
sara

elham M wrote:
> Dear sara
> It was problem in cru.param run
> I only change  idatecr1 and idatecru2.
> cru.param is :
>
> c ** PGI compile: pgf77 CRU2RCM.f -L../../Commons/env/liblinux -lnetcdf
> c ** IFC compile: ifc -tpp7 -O3 -cm -w -w90 -w95 CRU2RCM.f 
> -L../../Commons/env/liblinux -lnetcdf -o cru
>
> C ** idatecru0 = First year-month of the CRU dataset (YYYYMM)
> C ** idatecru1 = First year-month desired (YYYYMM)
> C ** idatecru2 = Last year-month desired (YYYYMM)
>       integer idatecru0, idatecru1, idatecru2
>       parameter(idatecru0=190101)
>       parameter(idatecru1=199601)
>       parameter(idatecru2=199601)
>
> C ** ORIGINAL CRU GRID
> C ** nfld  = number of CRU fields
> C ** nlon  = number of longitudes
> C ** nlat  = number of latitudes
> C ** dlon  = Resolution in the x-direction
> C ** dlat  = Resolution in the y-direction
> C ** glon1 = Longitude position of the western most point
> C ** glat1 = Latitude position of the southern most point
>       integer nfld, ifld, nlon, nlat
>       real glon1, glat1, dlat, dlon
>       PARAMETER (nfld=9)
> PARAMETER (NLON=720, NLAT=360, dlat=0.5, dlon=0.5 )
>       PARAMETER (GLON1=-179.75, GLAT1=-89.75)
>
> c NAME OF THE CRU FILES ON THE RegCM GRID.
>       character outfile(nfld)*50
>       DATA  (outfile(ifld),ifld=1,nfld)
>      &   /'PRE1996.nc'
>      &   ,'TMP1996.nc'
>      &   ,'DTR1996.nc'
>      &   ,'VAP1996.nc'
>      &   ,'CLD1996.nc'
>      &   ,'FRS1996.nc'
>      &   ,'TMN1996.nc'
>      &   ,'TMX1996.nc'
>      &   ,'WET1996.nc'/
>
> c NAME OF THE GLOBAL INPUT CRU FILES
>       character infile(nfld)*50
>       DATA  (infile(ifld),ifld=1,nfld)
>      &   /'/RAID2/D1/CRU/TS2.1/CRUPRE.CDF'
>      &   ,'/RAID2/D1/CRU/TS2.1/CRUTMP.CDF'
>      &   ,'/RAID2/D1/CRU/TS2.1/CRUVAP.CDF'
>      &   ,'/RAID2/D1/CRU/TS2.1/CRUCLD.CDF'
>      &   ,'/RAID2/D1/CRU/TS2.1/CRUFRS.CDF'
>      &   ,'/RAID2/D1/CRU/TS2.1/CRUTMN.CDF'
>      &   ,'/RAID2/D1/CRU/TS2.1/CRUTMX.CDF'/
>
> c NAME OF THE CRU VARIABLES
>       character vnam(nfld)*10
>       DATA  (vnam(ifld),ifld=1,nfld)
>      &   /'PRE'
>      &   ,'TMP'
>      &   ,'VAP'
>      &   ,'CLD'
>      &   ,'FRS'
>      &   ,'TMN'
>      &   ,'TMX'
>      &   ,'WET'/
>
> thanks for help
>
> --- On *Tue, 7/1/08, Rauscher Sara A /<srausche at ictp.it>/* wrote:
>
>     From: Rauscher Sara A <srausche at ictp.it>
>     Subject: Re: [RegCNET] cru-prblem
>     To: tarastar_20 at yahoo.com
>     Cc: "regcnet" <regcnet at lists.ictp.it>
>     Date: Tuesday, July 1, 2008, 10:27 AM
>
>     Hi Elham,
>     I suspect the problem is in your cru.param...can you please send that to 
>     the group?
>     sara
>
>     elham M wrote:
>     >
>     >  
>     >
>     > hi usr.
>     >
>     >  
>     >
>     > i have problem with CRU.
>     >
>     > i put data in directory, set the time in cru.param and run cruPGI5.x 
>     > but it is a error
>     >
>     >  
>     >
>     >  
>     >
>     > PGFTN-S-0066-Too few data constants in initialization statement 
>     > (CRU2RCM.f: 41)
>     >
>     > 0 inform, 0 warnings, 1 severes, 0 fatal for rwdata
>     >
>     > PGFTN-S-0066-Too few data constants in initialization statement 
>     > (CRU2RCM.f: 41)
>     >
>     > 0 inform, 0 warnings, 1 severes, 0 fatal for readcdf3d
>     >
>     > ./cruPGI5.x: line 4: ./cru: No
>      such file or directory
>     >
>     > rm: cannot remove `cru': No such file or directory
>     >
>     > where is problem
>     >
>     >  
>     >
>     > so the output are 1-month. if I average 3-month waht i do?
>     >
>     > the postproce not creat average file.
>     >
>     >  
>     >
>     >  
>     >
>     > can help me?
>     >
>     > thanks
>     >
>     > elham
>     >
>     >
>     > ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > RegCNET mailing list
>     > RegCNET at lists.ictp.it
>     > https://lists.ictp.it/mailman/listinfo/regcnet
>
>     -- 
>
>     Dr. Sara A. Rauscher
>     Earth System Physics Section 
>     The Abdus Salam International Centre for Theoretical Physics
>     Strada Costiera 11 
>     34014 Trieste ITALY
>     ph: +39 040 2240 225 fax: +39 040 2240 449
>     email: srausche at ictp.it
>
>

-- 

Dr. Sara A. Rauscher
Earth System Physics Section 
The Abdus Salam International Centre for Theoretical Physics
Strada Costiera 11 
34014 Trieste ITALY
ph: +39 040 2240 225 fax: +39 040 2240 449
email: srausche at ictp.it





More information about the RegCNET mailing list