[gradsusr] "Cannot contour grid - all undefined values" with some grib2-files in OpenGrADS

Taha Alhosary TAlHosary at ncms.ae
Tue Nov 11 22:48:35 EST 2014


Dear All,
Is there script in grads to draw gradient of temperature or potential temperature or any meteorological parameter.

Regards,
T.N.Alhosari

From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Zaib-un- Nisa
Sent: Tuesday, November 11, 2014 7:57 PM
To: GrADS Users Forum
Subject: Re: [gradsusr] "Cannot contour grid - all undefined values" with some grib2-files in OpenGrADS

use command ;
q file
see the name of variable (tsfs)
then type
d tsfs
you need to set time and z level
sometimes when there is some data is missing against a variable we receive error of all undefined values
so i recommend check ur data through  q file command
set t
set z
set gxout shaded
d variable

On Tue, Nov 11, 2014 at 6:49 PM, <tom.kalkov at web.de<mailto:tom.kalkov at web.de>> wrote:
Hi,

I want to visualize the Grib2-File
EDP_MAX_LUIR_201311130000_f001_l0260.gb2 (see attachment)
and get the error "Cannot contour grid - all undefined values".

I am using Windows 7 with the following software:
- OpenGrADS 2.0.2 win32
- Strawberry Perl 5.20.1.1 32bit

My ctl-file is created with the following command:
perl g2ctl -0 EDP_MAX_LUIR_201311130000_f001_l0260.gb2 > EDP_MAX_LUIR_201311130000_f001_l0260.gb2.ctl

Here, the first strange thing happened: g2ctl generated an ctl-file with the variable-name "var019225hy0_0". As OpenGrADS can't handle this variable name, I renamed the variable to "test". As a result, I got the ctl-file
EDP_MAX_LUIR_201311130000_f001_l0260.gb2.ctl (see attachment)

Now I used the following command to get the index-file:
gribmap -v -0 -i EDP_MAX_LUIR_201311130000_f001_l0260.gb2.ctl
The index-file is also attached.

With the command
grads -l -c "open EDP_MAX_LUIR_201311130000_f001_l0260.gb2.ctl"
and
display test
I was able to open the file in OpenGrADS. I can see an empty map, but nothing more.

I can visualize the Grib2-File from
http://www.nomad5.ncep.noaa.gov:9090/pub/data/nccf/com/gfs/prod/gdas.20141017/gdas1.t06z.engicegrb.grib2
with the above commands, but not my own Grib2-File. My problem is also, that I don't know what is in the Grib2-File. It is a file from our customer and it's my task to visualize it. Unfortunately even our customer can't give me a visualisation of the file.

Hope you can help me.

Kind regards

Tom Kalkov
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141112/9197ebeb/attachment.html 


More information about the gradsusr mailing list