[gradsusr] Cannot contour grid - all undefined values
Estefanía Jiménez
estefaniajimenez.r at gmail.com
Fri May 17 13:13:18 EDT 2013
Exactly! With wgrib -V I get this:
Undefined parameter table (center 100-2 table 128), using NCEP-opn
rec 1:0:date 1976010100 TMP kpds5=11 kpds6=100 kpds7=1000 levels=(3,232)
grid=255 1000 mb 0-1yr ave: bitmap: 5500 undef
TMP=Temp. [K]
timerange 3 P1 0 P2 1 TimeU 4 nx 110 ny 50 GDS grid 0 num_in_ave 0
missing 0
center 100 subcenter 2 process 13 Table 128
latlon: lat 7.000000 to 11.900000 by 0.100000 nxny 5500
long -89.000000 to -78.099000 by 0.100000, (110 x 50) scan 2 mode
128 bdsgrid 1
min/max data 3.40282e+38 -3.40282e+38 num bits 16 BDS_Ref 3.40282e+38
DecScale 0 BinScale -32766
rec 2:778:date 1976010100 TMP kpds5=11 kpds6=100 kpds7=925 levels=(3,157)
grid=255 925 mb 0-1yr ave: bitmap: 5500 undef
TMP=Temp. [K]
timerange 3 P1 0 P2 1 TimeU 4 nx 110 ny 50 GDS grid 0 num_in_ave 0
missing 0
center 100 subcenter 2 process 13 Table 128
latlon: lat 7.000000 to 11.900000 by 0.100000 nxny 5500
long -89.000000 to -78.099000 by 0.100000, (110 x 50) scan 2 mode
128 bdsgrid 1
min/max data 3.40282e+38 -3.40282e+38 num bits 16 BDS_Ref 3.40282e+38
DecScale 0 BinScale -32766
rec 3:1556:date 1976010100 TMP kpds5=11 kpds6=100 kpds7=850 levels=(3,82)
grid=255 850 mb 0-1yr ave: bitmap: 5500 undef
TMP=Temp. [K]
timerange 3 P1 0 P2 1 TimeU 4 nx 110 ny 50 GDS grid 0 num_in_ave 0
missing 0
center 100 subcenter 2 process 13 Table 128
latlon: lat 7.000000 to 11.900000 by 0.100000 nxny 5500
long -89.000000 to -78.099000 by 0.100000, (110 x 50) scan 2 mode
128 bdsgrid 1
min/max data 3.40282e+38 -3.40282e+38 num bits 16 BDS_Ref 3.40282e+38
DecScale 0 BinScale -32766
rec 4:2334:date 1976010100 TMP kpds5=11 kpds6=100 kpds7=500 levels=(1,244)
grid=255 500 mb 0-1yr ave: bitmap: 5500 undef
TMP=Temp. [K]
timerange 3 P1 0 P2 1 TimeU 4 nx 110 ny 50 GDS grid 0 num_in_ave 0
missing 0
center 100 subcenter 2 process 13 Table 128
latlon: lat 7.000000 to 11.900000 by 0.100000 nxny 5500
long -89.000000 to -78.099000 by 0.100000, (110 x 50) scan 2 mode
128 bdsgrid 1
min/max data 3.40282e+38 -3.40282e+38 num bits 16 BDS_Ref 3.40282e+38
DecScale 0 BinScale -32766
rec 5:3112:date 1976010100 TMP kpds5=11 kpds6=100 kpds7=250 levels=(0,250)
grid=255 250 mb 0-1yr ave: bitmap: 5500 undef
TMP=Temp. [K]
timerange 3 P1 0 P2 1 TimeU 4 nx 110 ny 50 GDS grid 0 num_in_ave 0
missing 0
center 100 subcenter 2 process 13 Table 128
latlon: lat 7.000000 to 11.900000 by 0.100000 nxny 5500
long -89.000000 to -78.099000 by 0.100000, (110 x 50) scan 2 mode
128 bdsgrid 1
min/max data 3.40282e+38 -3.40282e+38 num bits 16 BDS_Ref 3.40282e+38
DecScale 0 BinScale -32766
2013/5/17 Jeff Duda <jeffduda319 at gmail.com>
> So you're doing this then?
>
> 'open (control_file).ctl'
> 'd temp'
>
> And you get the error?
>
> If so, then there could be an error in the way lats4d wrote the data to
> the grib file you are using. I've never used lats4d, but I have noticed
> sometimes with GRIB files if you don't specify the dimensions correctly you
> can get these problems. What happens if you just do a wgrib -V on the data
> file?
>
> Jeff
>
>
> On Fri, May 17, 2013 at 11:44 AM, Estefanía Jiménez <
> estefaniajimenez.r at gmail.com> wrote:
>
>> No, I think I don't need a PDEF entry. This is what I get when I open
>> the file:
>>
>> LON set to -89 -78.1
>> LAT set to 7 11.9
>> LEV set to 1000 1000
>> Time values set: 1976:1:1:0 1976:1:1:0
>>
>>
>> 2013/5/17 Jeff Duda <jeffduda319 at gmail.com>
>>
>>> What is the Grads dimension environment when you try to display temp?
>>> Also, do you need a PDEF entry in that control file?
>>>
>>> Jeff
>>>
>>>
>>> On Fri, May 17, 2013 at 11:23 AM, Estefanía Jiménez <
>>> estefaniajimenez.r at gmail.com> wrote:
>>>
>>>> Sure! Thanks for answering... here is the .ctl file:
>>>>
>>>> dset ^media_clima.grb
>>>> title file created by grads using lats4d available from
>>>> http://dao.gsfc.nasa.gov/software/grads/lats4d/
>>>> undef 1e+20
>>>> dtype grib
>>>> index ^media_clima.gmp
>>>> xdef 110 linear -89.000000 0.100000
>>>> ydef 50 linear 7.000000 0.100000
>>>> zdef 5 levels
>>>> 1000 925 850 500 250
>>>> tdef 1 linear 0Z1jan1976 1yr
>>>> vars 1
>>>> temp 5 11,100 ABSOLUTE TEMPERATURE [K]
>>>> endvars
>>>>
>>>> It is just one value was in the file 'cause is an average.
>>>>
>>>>
>>>> 2013/5/17 Jeff Duda <jeffduda319 at gmail.com>
>>>>
>>>>> Generally that means you tried to display a variable that is not
>>>>> defined at a given vertical level or time slice. Did you try to plot a
>>>>> surface variable when your dimension environment is not lev 1000 or z 1?
>>>>> Was this a defined variable?
>>>>> Give more information.
>>>>>
>>>>> Jeff Duda
>>>>>
>>>>>
>>>>> On Fri, May 17, 2013 at 11:00 AM, Estefanía Jiménez <
>>>>> estefaniajimenez.r at gmail.com> wrote:
>>>>>
>>>>>> Hi everyone! I'm getting this when I'm trying to display the
>>>>>> temperature: *Cannot contour grid - all undefined values*. Does
>>>>>> anyone know what the problem is??
>>>>>>
>>>>>> Thank u!
>>>>>>
>>>>>> --
>>>>>> Met27
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> gradsusr mailing list
>>>>>> gradsusr at gradsusr.org
>>>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Jeff Duda
>>>>> Graduate research assistant
>>>>> University of Oklahoma School of Meteorology
>>>>> Center for Analysis and Prediction of Storms
>>>>>
>>>>> _______________________________________________
>>>>> gradsusr mailing list
>>>>> gradsusr at gradsusr.org
>>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> _______________________________________________
>>>> gradsusr mailing list
>>>> gradsusr at gradsusr.org
>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>
>>>>
>>>
>>>
>>> --
>>> Jeff Duda
>>> Graduate research assistant
>>> University of Oklahoma School of Meteorology
>>> Center for Analysis and Prediction of Storms
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>>
>> --
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> Jeff Duda
> Graduate research assistant
> University of Oklahoma School of Meteorology
> Center for Analysis and Prediction of Storms
>
> _______________________________________________
> 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/20130517/b4419006/attachment-0003.html
More information about the gradsusr
mailing list