[gradsusr] g2ctl and gribmap errors
Eniola Olaniyan
olaniyan.eniola67 at gmail.com
Thu Sep 13 10:25:11 EDT 2012
contact frank helmut of DWD to help you on this
On Fri, Sep 7, 2012 at 5:42 AM, Swati Athale <swati at tropmet.res.in> wrote:
> Dear Grads support,
>
> I have two problems.
> 1.
>
> ----------------------------------------------------------------------------------
> I want to open/plot a grib2 file in grads in AIX.
> data file: T574_IND_00h.grb2
> I downloaded a pearl script the script to create ctl
> bash-3.2$ ./g2ctl.pl T574_IND_00h.grb2 > T574_IND_00h.ctl
> bash-3.2$ cat T574_IND_00h.ctl|more
> dset ^T574_IND_00h.grb2
> index ^T574_IND_00h.grb2.idx
> undef 9.999E+20
> title T574_IND_00h.grb2
> * produced by g2ctl v0.0.8.4
> * command line options: T574_IND_00h.grb2
> * griddef=1:0:(481 x 321):grid_template=0: lat-lon grid:(481 x 321) units
> 1e-06
> input WE:NS output WE:SN res 48 lat 60.000000 to -20.000000 by 0.250000
> lon 20.0
> 00000 to 140.000000 by 0.250000 #points=154401:winds(N/S)
>
> bash-3.2$ gribmap -i T574_IND_00h.ctl
> Open Error: Data file type invalid
> --> The invalid description file record is:
> --> dtype grib2
>
> The data file was not opened.
> File name is: T574_IND_00h.ctl
> bash-3.2$
> -------------------------------------------------------------------------
> Problem 2:
> I have a grib file
> bash-3.2$ ls -l T254_IND_114h.grb
> -rw-r--r-- 1 swati hpcs 19619338 Nov 26 2010 T254_IND_114h.grb
> Kindly let me know where I can get the right script to convert to ctl and
> then gribmap.
>
> I downloaded grib2ctl.pl from CPC website but this gives syntax error.
> I also tried with some other sites and used the grib2ctl.pl could not run
> them, they all give mismatch parenthesis errors.
> ----------------------------------------------------------
> I will be thankful to get reply from grads.
>
> regards,
> Swati
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
*Eniola Olaniyan
Responsible Scientist NWP
Nigerian Meteorological Agency
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120913/176a672c/attachment-0003.html
More information about the gradsusr
mailing list