[gradsusr] "Cannot contour grid - all undefined values" with some grib2-files in OpenGrADS (gradsusr Digest, Vol 57, Issue 9)

Tom Kalkov tom.kalkov at web.de
Wed Nov 12 05:55:05 EST 2014


Thanks, but this didn't solved my problem.

ga-> q file
File 1 : EDP_MAX_LUIR_201311130000_f001_l0260.gb2
   Descriptor: EDP_MAX_LUIR_201311130000_f001_l0260.gb2.ctl
   Binary: EDP_MAX_LUIR_201311130000_f001_l0260.gb2
   Type = Gridded
   Xsize = 1564  Ysize = 632  Zsize = 1  Tsize = 1  Esize = 1
   Number of Variables = 1
      test  0  0,19,225  ** 0-0 hybrid layer desc [unit]
ga-> set t 1
Time values set: 2013:11:13:0 2013:11:13:0
ga-> set z 1
LEV set to 1 1
ga-> set gxout shaded
ga-> d test
Notice:  Automatic Grid Interpolation Taking Place
Cannot contour grid - all undefined values

The same error as before. By setting t to "2", I can see the range of t 
and z:

ga-> set t 2
Time values set: 2013:12:13:0 2013:12:13:0
ga-> d test
Notice:  Automatic Grid Interpolation Taking Place
Data Request Warning:  Request is completely outside file limits
   Entire grid contents are set to missing data
   Grid limits of file:     X = 1 1564  Y = 1 632  Z = 1 1  T = 1 1  E = 1 1
   Grid limits of request:  X = 1 1564  Y = 1 632  Z = 1 1  T = 2 2  E = 1 1
   Warning issued for variable = test
Cannot contour grid - all undefined values

Therefore z and t have to be "1". But still no visualization. I also 
checked, if the file is empty. wgrib2 has shown, that something is in 
the file (min=0.0213223 and max=1.69243):

wgrib2.exe EDP_MAX_LUIR_201311130000_f001_l0260.gb2 -V
1:0:vt=2013111301:0-0 hybrid layer:1 hour fcst:var discipline=0 
center=78 local_table=0 parmcat=19 parm=225:
     ndata=436905:undef=0:mean=0.086805:min=0.0213223:max=1.69243
     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.000000 lon=10.000000 angle of rot=0.000000

Am 11.11.2014 um 16:57 schrieb Zaib-un- Nisa:
> 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> 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
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141111/da57d4dc/attachment-0001.html
>
>
>


More information about the gradsusr mailing list