<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>TUE 22JUL08: 0850pDT</div><div><br></div><div>Hi All</div><div><br></div><div>I've had success using GRADS 2.a.02 to create CTL and IDX files, using gribmap (which really is "grib2map" in version 2.a.02 but still called "gribmap").</div><div><br></div><div>Here is my process (I am showing the 00hour as an example - do the same for ALL hours)</div><div><br></div><div>perl g2ctl.pl $REMOTE_DIR1/gfs.t12z.pgrbf00.grb2 $TEMP_DIR/gfs2.t12z.pgrbf00.idx >$TEMP_DIR/gfs2_000.ctl</div><div><br></div><div>This will create both the CTL and IDX files in *my*&nbsp;TEMP_DIR using data from *my* data source folder (it can be whatever you want it to be)</div><div><br></div><div>Then the following:&nbsp;</div><div><br></div><div>$GRADS2_DIR/gribmap -0 -i $TEMP_DIR/gfs2_000.ctl</div><div><br></div><div>where&nbsp;GRADS2_DIR=/usr/local/bin/grads-2.0.a2/bin (*my* location of the latest version of grads)</div><div><br></div><div>Fire up grads 2 and open&nbsp;gfs2_000.ctl</div><div><br></div><div>This process works perfectly for me.</div><div><br></div><div>Regards</div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Calibri; font-size: 17px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><br></div><div>Kevin M Levey, MSc in Oceans and Atmospheric Sciences (University of Cape Town)</div><div>Director of Meteorological Operations</div><div>CustomWeather,&nbsp;Inc.</div><div>San Francisco, California, USA</div><div><br></div><div>"Taking the World by Storm!"</div><div><br></div><div><a href="http://www.customweather.com">http://www.customweather.com</a></div><div><a href="http://www.myforecast.com">http://www.myforecast.com</a></div><div><a href="http://www.1stweather.com">http://www.1stweather.com</a></div><div><br></div><div>cell: 415-794-0411</div><div>work: 415-777-3566</div><div>email: <a href="mailto:klevey@customweather.com">klevey@customweather.com</a></div><div><br></div></div><br></div></span><br class="Apple-interchange-newline"> </div><br><div><div>On Jul 22, 2008, at 07/22/08 - 7:03 AM, Gilmour, Isla wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"> <div dir="ltr" align="left"><font face="Tahoma" color="#0000ff" size="2"><span class="725220014-22072008">Jennifer</span></font></div> <div dir="ltr" align="left"><font face="Tahoma" color="#0000ff" size="2"><span class="725220014-22072008"></span></font>&nbsp;</div> <div dir="ltr" align="left"><font face="Tahoma" color="#0000ff" size="2"><span class="725220014-22072008">Thanks for your response.&nbsp; Indeed, I checked the $PATH, and tried using a complete path to gribmap, but continued to get the same error.&nbsp;&nbsp; Has anyone used gribmap from the grads v2.a.02 "package" successfully&nbsp;with GFS pgrbf.grib2 files?</span></font></div> <div dir="ltr" align="left"><font face="Tahoma" color="#0000ff" size="2"><span class="725220014-22072008"></span></font>&nbsp;</div> <div dir="ltr" align="left"><font face="Tahoma" color="#0000ff" size="2"><span class="725220014-22072008">Isla</span></font></div><br> <blockquote style="MARGIN-RIGHT: 0px">  <div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left">  <hr tabindex="-1">  </div>  <div>  <blockquote type="cite">    <div style="MARGIN: 0px">Leaving tdef aside, the next step is to use gribmap     (the one which comes</div>    <div style="MARGIN: 0px">with grads-2.0.a2) , but this failed:</div>    <div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>    <blockquote type="cite">      <div style="MARGIN: 0px">g2ctl -0       /data/weather/gfs/20080714/00/gfs.t00z.pgrbf > gfs.ctl</div>      <div style="MARGIN: 0px">gribmap -i gfs.ctl</div></blockquote>    <div style="MARGIN: 0px">Open Error: Data file type invalid</div>    <div style="MARGIN: 0px">--> The invalid description file record is:</div>    <div style="MARGIN: 0px">--> dtype grib2</div>    <div style="MARGIN: 0px">The data file was not opened.</div></blockquote>  <div>The 'dtype grib2' option should work with gribmap (the one that comes   with 2.0.a2). Please check your $PATH or use a complete path to gribmap to   make sure you're using the right one.&nbsp;</div>  <div><br></div>  <div>Jennifer</div><br>  <blockquote type="cite">&nbsp;</blockquote></div></blockquote></div></blockquote></div><br></body></html>