[gradsusr] Control File (Template) Entire Grid Undefined

Melissa Wagner mawagner at asu.edu
Wed Feb 22 17:29:49 EST 2017


Hello Grad Users,

I am still having the same issue of the control file not reading the data
correctly. I still get the "entire grid undefined". I have removed the
byteswpped as well as tried other options like big_indian. This does not
work.

I did an ncdump -h filename and get the following:

// global attributes:
                :TITLE = "OUTPUT FROM HRLDAS v20140513" ;
                :missing_value = -1.e+33f ;
                :START_DATE = "2008-06-01_00:00:00" ;
                :MAP_PROJ = 1 ;
                :LAT1 = 17.81886f ;
                :LON1 = -127.3326f ;
                :DX = 20000.f ;
                :DY = 20000.f ;
                :TRUELAT1 = 39.f ;
                :TRUELAT2 = 39.f ;
                :STAND_LON = -98.f ;
                :MMINLU = "MODIFIED_IGBP_MODIS_NOAH" ;


I have changed my control file to this:

dset ^%y4%m2%d2%h2.LDSAOUT_DOMAIN1
options TEMPLATE
dtype netcdf
undef -1.e33
title  OUTPUT FROM HRLDAS v20140513
pdef  310 189 lcc  17.81886 -127.3326  0   0  39.00000  39.00000  -98.00000
 20000.000  20000.000
xdef  980 linear -127.3326   0.09009010
ydef  440 linear  17.81886   0.09009010
zdef    1 linear 1 1
tdef 24 linear 00Z01JUN2008     60MN
VARS 1
TG=>tg  1 t,y,x Ground Temperature [K]
ENDVARS

But it still does not read the data. Could someone please help me
troubleshoot this issue.

Best,
Melissa


On 21 February 2017 at 13:24, James T. Potemra <jimp at hawaii.edu> wrote:

> Melissa,
>
> I don't think it makes sense to have "options byteswapped" with a netcdf
> file.  Second, since you don't define xdef, ydef, zdef, tdef, I think these
> will need to be defined as longitude,latitude,depth,time in your file (the
> complete output from ncdump -h might help).
>
> Jim
>
> On 2/20/17 5:50 PM, Melissa Wagner wrote:
>
> Hello Grads Users,
>
> I am writing because my control file (template) will not display the
> Noah-MP offline data. Grads v2.0.a8 opens the control file  but reads
> "Entire Grid Undefined" when I try to display the variable. I would greatly
> appreciate any help you may have to offer.
>
> Best,
> Melissa
>
> My control file is:
>
> dset ^%y4%m2%d2%h2.LDSAOUT_DOMAIN1
> options  byteswapped
> options TEMPLATE
> dtype netcdf
> undef -1.e33
> title  OUTPUT FROM HRLDAS v20140513
> pdef  309 189 lcc  17.1886 -127.3326  1   1  39.00000  39.00000  -98.00000
>  20000.000  20000.000
> xdef  310 linear -127.3326   0.18983819
> ydef  190 linear  17.81886   0.18983819
> zdef    4 linear 1 1
> tdef 24 linear 00Z01JUN2008     60MN
> VARS 1
> TG=>tg  1 t,y,x Ground Temperature [K]
> ENDVARS
>
> ncdump -h yields the following global attribute info.
>
>  :TITLE = "OUTPUT FROM HRLDAS v20140513" ;
>                 :missing_value = -1.e+33f ;
>                 :START_DATE = "2008-06-01_00:00:00" ;
>                 :MAP_PROJ = 1 ;
>                 :LAT1 = 17.81886f ;
>                 :LON1 = -127.3326f ;
>                 :DX = 20000.f ;
>                 :DY = 20000.f ;
>                 :TRUELAT1 = 39.f ;
>                 :TRUELAT2 = 39.f ;
>                 :STAND_LON = -98.f ;
>                 :MMINLU = "MODIFIED_IGBP_MODIS_NOAH" ;
>
>
>
> _______________________________________________
> gradsusr mailing listgradsusr at gradsusr.orghttp://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170222/35d73be3/attachment.html 


More information about the gradsusr mailing list