g2gdf.pl part2

Mark Sponsler msponsler at COMCAST.NET
Thu Apr 17 12:54:13 EDT 2008


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:

P:\>set PATH=c:\Program Files\PCGrADS19\win32;%PATH%

P:\>cd c:\grib\hires_input\

P:\>g2gdf.exe -verf gfs_t12z.grib2
cannot find any GRIB-2 file at script/g2gdf.pl line 124.

P:\>g2gdf -verf gfs_t12z.grib2
cannot find any GRIB-2 file at script/g2gdf.pl line 124.

P:\>g2gdf -verf c:\grib\hires_input\gfs_t12z.grib2
   g2gdf - control file/inventory for "g2" extension
         Descriptor: c:\grib\hires_input\gfs_t12z.gdf
          Inventory: c:\grib\hires_input\gfs_t12z.inv
           Data Dir: c:\grib\hires_input\
         Grib files: gfs_t12z.grib2

P:\>gradsc -l
Starting X server under /Xming
Starting gradsc under c:\PROGRA~1\PCGRAD~2\win32 ...
Grid Analysis and Display System (GrADS) Version 1.9.0-rc1
Copyright (c) 1988-2007 by Brian Doty and IGES
Center for Ocean-Land-Atmosphere Studies (COLA)
Institute for Global Environment and Society (IGES)
GrADS comes with ABSOLUTELY NO WARRANTY
See file COPYRIGHT for more information
Config: v1.9.0-rc1 32-bit little-endian readline lats athena printim
Issue 'q config' command for more information.
GX Package Initialization: Size = 11 8.5

ga-> g2_open c:\grib\hires_input\gfs_t12z.gdf
Scanning description file:  c:\grib\hires_input\gfs_t12z.gdf
Data file c:\grib\hires_input\gfs_t12z.grib2___ is open as file 1
LON set to 0 360
LAT set to -90 90
LEV set to 1000 1000
Time values set: 2008:4:16:18 2008:4:16:18
Define memory allocation size = 4 bytes

ga-> set lev 825
LEV set to 825 825

ga-> d g2(tmpprs)
*** FATAL ERROR: could not open file: c:gribhires_inputgfs_t12z.grib2 ***
: No such file or directoryt12z.inv
Cannot contour grid - all undefined values
ga->
- all undefined values
ga->
--
Thanks,
Mark

-------------- Original message --------------
From: Arlindo da Silva <dasilva at ALUM.MIT.EDU>
On Thu, Apr 17, 2008 at 11:21 AM, Mark Sponsler <msponsler at comcast.net> wrote:

Hi Arlindo,
I gave it a try - made much more progress this time.Still all values are undefined when I try and do a display. It seems to not be able to find the inventory file. I've included both the gdf and inv files for your review. Both are sitting in c:\grib\hires_input\  along with the gfs grib2 data file


>set PATH=c:\Program Files\PCGrADS19\win32;%PATH%

>g2gdf.exe -verf c:\grib\hires_input\gfs_t12z.grib2


Could you try running this on the data directory?

cd c:\grib\hires_input\
g2gdf -verf gfs_t12z.grib2


          Arlindo


--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080417/e980a849/attachment.html 


More information about the gradsusr mailing list