creating a new file
raghu
raghu at NCMRWF.GOV.IN
Thu Nov 30 23:27:39 EST 2006
Remove byteswapped
--
---------- Original Message -----------
From: brian vant-hull <brianvanthull at YAHOO.COM>
To: GRADSUSR at LIST.CINECA.IT
Sent: Thu, 30 Nov 2006 08:03:10 -0800
Subject: Re: creating a new file
> It looks like the problem is with your data, not grads, and you
> actually don't have defined values in that particular time period
> and region. Look at different times and places to convince yourself
> data does exist somewhere, and if not, go back to the MM5 and see
> what's wrong.
>
> Wajeeha Shafeeq <wajeeha.shafeeq at GCISC.ORG.PK> wrote: Hi,
> I am using MM5 output data. I have to write a file on some
> particular lat/lon. For this I am using the following script.
> #####################################################
> 'open mmoutjan05-3-01.ctl'
> 'set lon 70 80'
> 'set lat 32 38'
> 'set gxout fwrite'
> 'set fwrite humidity.dat'
> t=1
> while(t<=40)
> 'set t 't
> 'd const(t,-9999,-u)'
> t=t+1
> endwhile
> 'disable fwrite'
> reinit
> ####################################################
> The ctl is as follows:
> #####################################################
> dset ^humidity.dat
> byteswapped
> title MM5 data
> undef -9999.
> pdef 102 102 lcc 26.83 66.62 1.00 1.00 30.00 60.00 73.00 12000. 12000.
> xdef 163 linear 70 0.0541
> ydef 105 linear 32 0.0541
> zdef 23 levels
> 0.99500
> 0.98500
> 0.97000
> 0.94500
> 0.91000
> 0.87000
> 0.82500
> 0.77500
> 0.72500
> 0.67500
> 0.62500
> 0.57500
> 0.52500
> 0.47500
> 0.42500
> 0.37500
> 0.32500
> 0.27500
> 0.22500
> 0.17500
> 0.12500
> 0.07500
> 0.02500
> tdef 40 linear 06:00Z01JAN2005 360MN
> vars 1
> rh 23 99 rel humidity (%)
> endvars
> ###########################################################
> The problem is when I open the new file and displays its variable
> it give the following error "Contouring: nan to nan interval inf"
> I have made this ctl file by changing the xdef and ydef values of
> the original MM5 ctl file. Regards, Wajeeha Shafeeq
>
> Brian Vant-Hull
> 301-646-1149
>
> ---------------------------------
> Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
------- End of Original Message -------
More information about the gradsusr
mailing list