[gradsusr] grib2ctl.pl won't work

نازنین nazanin.mirshokraei at gmail.com
Mon Sep 29 11:46:49 EDT 2014


Hi .... yep Thank you :)

On Mon, Sep 29, 2014 at 6:36 PM, Fernando Montana <lfmontanar at unal.edu.co>
wrote:

> Hi, if yor data is GRIB2 format, you should use g2ctl:
> http://www.cpc.ncep.noaa.gov/products/wesley/g2ctl.html
>
> Hope this helps
>
>
> On Mon, Sep 29, 2014 at 9:21 AM, نازنین <nazanin.mirshokraei at gmail.com>
> wrote:
>
>> 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
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140929/a0d7fd51/attachment.html 


More information about the gradsusr mailing list