contact frank helmut of DWD to help you on this<br><br><div class="gmail_quote">On Fri, Sep 7, 2012 at 5:42 AM, Swati Athale <span dir="ltr"><<a href="mailto:swati@tropmet.res.in" target="_blank">swati@tropmet.res.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:Times New Roman"><span>Dear Grads support,<br><br>I have two problems.<br>1.<br>
----------------------------------------------------------------------------------<br> I want to open/plot a grib2 file in grads in AIX.<br>data file: T574_IND_00h.grb2<br>I downloaded a pearl script the script to create ctl <br>
bash-3.2$ ./<a href="http://g2ctl.pl" target="_blank">g2ctl.pl</a> T574_IND_00h.grb2 > T574_IND_00h.ctl</span><span></span><br><span>bash-3.2$ cat </span><span>T574_IND_00h.ctl|more</span><br><span>dset ^T574_IND_00h.grb2<br>
index ^T574_IND_00h.grb2.idx<br>undef 9.999E+20<br>title T574_IND_00h.grb2<br>* produced by g2ctl v0.0.8.4<br>* command line options: T574_IND_00h.grb2<br>* griddef=1:0:(481 x 321):grid_template=0: lat-lon grid:(481 x 321) units 1e-06 <br>
input WE:NS output WE:SN res 48 lat 60.000000 to -20.000000 by 0.250000 lon 20.0<br>00000 to 140.000000 by 0.250000 #points=154401:winds(N/S)<br><br>bash-3.2$ gribmap -i T574_IND_00h.ctl<br>Open Error: Data file type invalid<br>
--> The invalid description file record is: <br> --> dtype grib2<br><br> The data file was not opened. <br>File name is: T574_IND_00h.ctl<br>bash-3.2$ <br>-------------------------------------------------------------------------<br>
Problem 2:<br>I have a grib file <br>bash-3.2$ ls -l T254_IND_114h.grb <br>-rw-r--r-- 1 swati hpcs 19619338 Nov 26 2010 T254_IND_114h.grb<br></span><span>Kindly let me know where I can get the right script to convert to ctl and then gribmap.<br>
<br></span><span>I downloaded </span><span><a href="http://grib2ctl.pl" target="_blank">grib2ctl.pl</a> </span><span>from CPC website but this gives syntax error.<br>I also tried with some other sites and used the <a href="http://grib2ctl.pl" target="_blank">grib2ctl.pl</a> could not run them, they all give mismatch parenthesis errors.<br>
----------------------------------------------------------<br>I will be thankful to get reply from grads.<br><br>regards,<br>Swati<br><br></span><br></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><i style="color:rgb(255,153,0);background-color:rgb(255,204,204)"><b><span style="background-color:rgb(255,204,102)"></span><span style="background-color:rgb(255,0,0)"></span><span style="background-color:rgb(255,0,0)"><span style="background-color:rgb(255,255,255)">Eniola Olaniyan<br>
Responsible Scientist NWP<br>Nigerian Meteorological Agency<br></span></span></b></i><span style="background-color:rgb(255,0,0)"></span><br>