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

Tom Kalkov tom.kalkov at web.de
Wed Nov 19 07:58:05 EST 2014


Hi,

the grib-file and ctl-file were already attached in my initial post. 
I'll added them for you again in this message, because the problem is 
still unsolved.

Kind regrads

Tom

Am 12.11.2014 um 15:29 schrieb Wesley Ebisuzaki - NOAA Federal:
> Tom,
>
>     Once you include the grib and ctl files, it is possible to figure
> out the problem.
>
> You are using a rotated lat-lon grid which I hadn't  seen
> until last month.  G2ctl needed a minor update to get it working,
> so get the October 20th version from
>
> ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl
>
> perl g2ctl -0 EDP_MAX_LUIR_201311130000_f001_l0260.gb2 >test.ctl
> gribmap -0 -i test.ctl
>
> Wesley
>
> On Tue, Nov 11, 2014 at 8:49 AM, <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
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EDP_MAX_LUIR_201311130000_f001_l0260.gb2
Type: application/octet-stream
Size: 874028 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20141119/b6399406/attachment-0001.obj 
-------------- next part --------------
dset ^EDP_MAX_LUIR_201311130000_f001_l0260.gb2
index ^EDP_MAX_LUIR_201311130000_f001_l0260.gb2.idx
undef 9.999E+20
title EDP_MAX_LUIR_201311130000_f001_l0260.gb2
* produced by g2ctl v0.0.9
* command line options: -0 -no_profile EDP_MAX_LUIR_201311130000_f001_l0260.gb2
* griddef=1:0:(665 x 657):grid_template=1:winds(grid): rotated lat-lon grid:(665 x 657) units 1e-06 input WE:SN output WE:SN res 56 lat -20.000000 to 21.000000 by 0.062500 lon 342.000000 to 23.500000 by 0.062500 #points=436905 south pole lat=-40.0000
dtype grib2
* Rotated LatLon grid: South pole lat -40.000000 lon 10.000000  rot angle 0.000000
pdef 665 657 rotllr 190 40 0.062500 0.062500 342.000000 -20.000000
ydef 632 linear 26.0625 0.0625
xdef 1564 linear -34.1875 0.062500
tdef 1 linear 00Z13nov2013 1mo
zdef 1 linear 1 1
vars 1
test  0,105,0,0   0,19,225 ** 0-0 hybrid layer desc [unit]
ENDVARS


More information about the gradsusr mailing list