On Thu, Apr 17, 2008 at 12:54 PM, Mark Sponsler <<a href="mailto:msponsler@comcast.net">msponsler@comcast.net</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div>Arlindo - No luck. I've tried doing a 'cd' in the past when I've had pathing issues and it seems to make no difference. The only way to make progress is to explicitly identify the whole path to the input file:</div>
<div> </div>
<div>P:\>set PATH=c:\Program Files\PCGrADS19\win32;%PATH%</div>
<div> </div>
<div>P:\>cd c:\grib\hires_input\</div>
<div> </div>
<div>P:\>g2gdf.exe -verf gfs_t12z.grib2<br>cannot find any GRIB-2 file at script/g2gdf.pl line 124.</div>
<div> </div>
<div>P:\>g2gdf -verf gfs_t12z.grib2<br>cannot find any GRIB-2 file at script/g2gdf.pl line 124.</div>
<div></div></div></blockquote><div><br>Rats! I suspect that the problem is related to the "\" in the file names, as indicated by the grads error message:<br><br>: No such file or directoryt12z.inv<br><br>To test this hypothesis, edit the last 2 lines of your .gdf<br>
<br>FROM:<br><br>@ global String dset c:\grib\hires_input\gfs_t12z.grib2<br>@ global String inventory c:\grib\hires_input\gfs_t12z.inv<br><br>TO:<br><br>@ global String dset ^gfs_t12z.grib2<br>@ global String inventory ^gfs_t12z.inv<br>
<br>and if that does not work replace all the "\" with "/"<br><br>@ global String dset c:/grib/hires_input/gfs_t12z.grib2<br>@ global String inventory c:/grib/hires_input/gfs_t12z.inv<br><br>One frustating aspect of all of this is that I have no such problem on my Windows XP boxes, so I cannot perform these tests myself. Are you running Vista by any chance?<br>
<br>Also, after the "g2_open" please add a "g2_verb" for extra diagnostic messages.<br><br>BTW, are you able to display the model_25.gdf included in the data/ directory?<br><br> Thanks,<br><br> Arlindo<br>
<br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>