[gradsusr] Cannot contour grid - all undefined values

Jeff Duda jeffduda319 at gmail.com
Fri May 17 12:50:15 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130517/2fa61649/attachment-0003.html 


More information about the gradsusr mailing list