display hgt.200812.nc

Emily yi_zhou01 at YAHOO.CA
Tue Sep 29 11:48:18 EDT 2009


Hi, 

Yi (Emily) Zhou

601-2980 Don Mills Road

Toronto, ON. M2J 3B9



Phone: 416-628-5971

Email: yi_zhou01 at yahoo.ca

--- On Tue, 9/29/09, ebrahim mirzaei <emirzaei at GMAIL.COM> wrote:

From: ebrahim mirzaei <emirzaei at GMAIL.COM>
Subject: Re: display hgt.200812.nc
To: GRADSUSR at LIST.CINECA.IT
Received: Tuesday, September 29, 2009, 12:40 AM

Hi Emily,If your data is netCDF, why don't you use sdfopen without .ddf or .ctl file:
'reinit''open d:\gradsfile\ncdata\hgt.200812.nc'

'set grads off''set grid off'
'set lon 220 310'
'set lat 20 60'


'set lev 500'
'set time 09z28dec2008'
'd hgt'



On Mon, Sep 28, 2009 at 9:17 PM, Emily <yi_zhou01 at yahoo.ca> wrote:


Hi group members,



I face a problem when I display 500 hpa geopotential height chart, it shows wrong data.

My gs file is:
'reinit'
'open d:\gradsfile\ncdata\hgt200812.ddf'
'set grads off'
'set grid off'


'set lon 220 310'
'set lat 20 60'
'set lev 500'
'set time 09z28dec2008'
'd hgt'
====================
My ddf is as below:
DSET d:\gradsfile\ncdata\hgt.200812.nc


DTYPE netcdf
TITLE NARR 4D field Lambert Conformal Conic projection
UNDEF 32766 missing_value
UNPACK scale_factor add_offset
PDEF 349 277 lcc 1 -145.5 1 1 50 50 -107 32463.41 32463.41
XDEF 615 linear 150 0.3333


YDEF 255 linear 2 0.3333
ZDEF 29 levels 1000, 975, 950, 925, 900, 875, 850, 825, 800, 775, 750, 725, 700,
 650, 600, 550, 500, 450, 400, 350, 300, 275, 250, 225, 200, 175, 150, 125, 100
tdef 248 linear
 00:00z01dec2008 3hr
vars 3
hgt 29 t,z,y,x  geopotential_height
lat=>glat 0 y,x Latitude
lon=>glon 0 y,x Longitude
endvars
=============
My grads version: Grads 2.0 a3,
window xp

I notice that the contours laber values are like -25900, -25800..... I think the value is wrong. Then I check ncdump information, the hgt value from ncdump also shows like -25900,.....



Is there some one knowing what wrong with this?Thanks very much.

Regards,

Emily
York University, Toronto, Canada.
 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090929/5fbecf1c/attachment.html 


More information about the gradsusr mailing list