<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><span>Dear Grads support,<br><br>I have two problems.<br>1.<br>----------------------------------------------------------------------------------<br>&nbsp;I want to open/plot a grib2 file in grads in AIX.<br>data file:&nbsp; T574_IND_00h.grb2<br>I downloaded a pearl script the script to create ctl <br>bash-3.2$ ./g2ctl.pl T574_IND_00h.grb2 &gt; T574_IND_00h.ctl</span><span id="b59d9523-ec8d-4d59-a10a-144b8ecc1cbc"></span><br><span id="b59d9523-ec8d-4d59-a10a-144b8ecc1cbc">bash-3.2$ cat </span><span id="b59d9523-ec8d-4d59-a10a-144b8ecc1cbc">T574_IND_00h.ctl|more</span><br><span id="b59d9523-ec8d-4d59-a10a-144b8ecc1cbc">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:&nbsp; Data file type invalid<br>&nbsp; --&gt; The invalid description file record is: <br>&nbsp; --&gt; dtype grib2<br><br>&nbsp; The data file was not opened. <br>File name is:&nbsp; 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--&nbsp;&nbsp;&nbsp; 1 swati&nbsp;&nbsp;&nbsp; hpcs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 19619338 Nov 26 2010&nbsp; T254_IND_114h.grb<br></span><span id="b59d9523-ec8d-4d59-a10a-144b8ecc1cbc">Kindly let me know where I can get the right script to convert to ctl and then gribmap.<br><br></span><span id="b59d9523-ec8d-4d59-a10a-144b8ecc1cbc">I downloaded </span><span id="b59d9523-ec8d-4d59-a10a-144b8ecc1cbc">grib2ctl.pl </span><span id="b59d9523-ec8d-4d59-a10a-144b8ecc1cbc">from CPC website but this gives syntax error.<br>I also tried with some other sites and used the grib2ctl.pl 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></body></html>