[gradsusr] grib2ctl.pl won't work

نازنین nazanin.mirshokraei at gmail.com
Mon Sep 29 10:21:47 EDT 2014


Dear Grads users:
I used Grib2ctl.pl to make a Grads file from a GFS file (wgrib2 format ) i
had . so i did something like this :

$ grib2ctl.pl grib_file >grib_file.ctl
$ gribmap -i grib_file.ctl -0    <-- this is a zero
$ grads
Landscape mode? (no for portrait):
ga-> open grib_file.ctl

but i recieve these errors:

 Grid Analysis and Display System (GrADS) Version 2.0.1
Copyright (c) 1988-2011 by Brian Doty and the
Institute for Global Environment and Society (IGES)
GrADS comes with ABSOLUTELY NO WARRANTY
See file COPYRIGHT for more information

Config: v2.0.1 little-endian readline printim grib2 netcdf hdf4-sds hdf5
opendap-grids,stn geotiff shapefile
Issue 'q config' command for more detailed configuration information
Landscape mode? ('n' for portrait):  n
GX Package Initialization: Size = 8.5 11
ga-> open gfs_4_20070601_0000_003.ctl
Scanning description file:  gfs_4_20070601_0000_003.ctl
Warning: Invalid TDEF syntax in gfs_4_20070601_0000_003.ctl -- Changing
size of T axis from -108 to 1
Syntax Error:  Invalid Date/Time value.
  Hour = 51 -- greater than 23
Open Error:  Invalid start time in tdef card starting value
  --> The invalid description file record is:
  --> tdef -108 linear 51Z97oct100: 7400hr
  The data file was not opened.

can anyone please tell me what does this error mean ? did i edited the
grib2ctl.pl wrong or there is something wrong with mt GFS.grb2 initial file
?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140929/dc350c91/attachment.html 


More information about the gradsusr mailing list