[gradsusr] Problem with running sdfopen in windows batch mode

Garut Lama garutlama at gmail.com
Thu Jul 14 01:19:20 EDT 2011


Dear all,

I'm using grads 2.0.a9.oga.1 installed in the c:\ drive of  Windows XP. I
wrote a batch script(.bat) to generate graphical outputs from
http://nomads.ncep.noaa.gov:9090.
The script works if it is   placed in any folder in the C:\ drive but fails
when it is  run from a pendrive, external drive , d:\ drive etc. Among the
content of the script is:  grads -blc "run script.gs"

The following messages were displayed on the execution of the script from an
external drive:

.............................................................................................................................
Starting grads under C:\OPENGR~2\Contents\Cygwin\Versions\20A9OG~1.1\i686
...

Grid Analysis and Display System (GrADS) Version 2.0.a9.oga.1
Copyright (c) 1988-2010 by Brian Doty and the
Institute for Global Environment and Society (IGES)
GrADS comes with ABSOLUTELY NO WARRANTY
See file COPYRIGHT for more information

Config: v2.0.a9.oga.1 little-endian readline printim grib2 netcdf hdf4-sds
hdf5
opendap-grids,stn athena geotiff shapefile
Issue 'q config' command for more detailed configuration information
Loading User Defined Extensions table
</cygdrive/c/OPENGR~2/Contents/Cygwin/Versions/20A9OG~1.1/i686/gex/udxt> ...
ok.
GX Package Initialization: Size = 11 8.5
Running in Batch mode
No hardcopy metafile open
All files closed; all defined objects released;
All GrADS attributes have been reinitialized
http://nomads.ncep.noaa.gov:9090/dods/gfs_hd/gfs_hd20110713/gfs_hd_12z
cygwin warning:
  MS-DOS style path detected: \Documents and Settings\Administrator/.dodsrc
  Preferred POSIX equivalent is: /cygdrive/h/Documents and
Settings/Administrator/.dodsrc
  CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Error: nc_open failed to open file
http://nomads.ncep.noaa.gov:9090/dods/gfs_hd/gfs_hd20110713/gfs_hd_12z
NetCDF: I/O failure
gadsdf: Couldn't ingest SDF metadata.
SET Error:  No files open yet
No Files Open
Non-numeric args to numeric operation
  Error occurred on line 253
  In file script.gs
  Error occurred on line 87
  In file script.gs
ga->
.....................................................................
Any ideas?


Regards,

Garut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110714/63599145/attachment-0003.html 


More information about the gradsusr mailing list