<div>check your generated sample_grib_file.ctl first</div>
<div>use vi or something<br>.ctl is not any formatted data</div>
<div>it is just a descriptive text file for the data</div>
<div> </div>
<div><span class="gmail_quote">On 4/7/06, <b class="gmail_sendername">oluseun idowu</b> <<a href="mailto:oluseun_idowu@yahoo.com">oluseun_idowu@yahoo.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="DIRECTION: ltr">
<div>Dear Msaavedra and all,<br><br>I discovered that the file was converted to .ctl format but when i attempted to give the command $ gribmap -i sample_grib_file.ctl -0 it gave me the error message below<br><br>[oluseun@b129pc124
~]$ gribmap -i sample_grib_file.ctl -0<br>Open Error: missing XDEF record<br>Open Error: missing YDEF record<br>Open Error: missing ZDEF record<br>Open Error: missing TDEF record<br>Open Error: missing UNDEF record<br>
Open Error: missing DSET record<br>Open Error: missing VARS record<br> The data file was not opened.<br><br>I will need your further help. Thank you</div>
<div style="DIRECTION: ltr"><span class="q"><br><br>Idowu<br><br><b><i>msaavedra <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:msaavedra@IMARPE.GOB.PE" target="_blank">msaavedra@IMARPE.GOB.PE
</a>></i></b> wrote:</span></div>
<div style="DIRECTION: ltr"><span class="q">
<blockquote style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">Dear User :<br><br>for read and make plots from grib files :<br><br>$ ./grib2ctl.pl sample_grib_file.grib > sample_grib_file.ctl
<br>$ gribmap -i sample_grib_file.ctl -0<br><br>$ gradsc<br>ga> open sample_grib_file<br>ga> q file<br>ga> d parameter<br><br>you can download the perl script grib2ctl.pl from the web.<br><br>bye<br><br></blockquote>
<br></span></div>
<div style="DIRECTION: ltr"></div>
<p>
<hr size="1">
</p></div>
<div style="DIRECTION: ltr"><span class="q"><font face="Arial" size="2">To help you stay safe and secure online, we've developed the all new <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://us.rd.yahoo.com/mail/uk/taglines/default/security_centre/*http://uk.security.yahoo.com/" target="_blank">
<b>Yahoo! Security Centre</b></a>.</font> </span></div>
<div style="DIRECTION: ltr">
<p></p></div></blockquote></div><br>