Errors when open more than 1 file

Ivan Toman ivtoman at INET.HR
Thu Aug 30 03:15:59 EDT 2007


Hi!

Does anybody know what could cause these errors below. I calculating
precipitation sum over forecasted period by opening all ctl files and
summing like this

'd apcpsfc.1 + apcpsfc.2 + apcpsfc.3 +... '

Unfortunately, very often get error like this:

Data Request Error: Invalid grid coordinates
  World coordinates convert to non-integer grid coordinates
    Variable = apcpsfc.2  Dimension = 3
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = apcpsfc.2


When I try to load files manually and look what happen, I found that
problem should be somwhere here; please look:


$ gradsc -b -l

Grid Analysis and Display System (GrADS) Version 1.9b4
Copyright (c) 1988-2005 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.9b4 32-bit little-endian readline lats athena im/image-output
printim

Issue 'q config' command for more information.

GX Package Initialization: Size = 11 8.5
Running in Batch mode
ga-> open data/input/gfs.t00z.pgrb2f42.noaa_g2_rc_ci.grib1.ctl
Scanning description file:
data/input/gfs.t00z.pgrb2f42.noaa_g2_rc_ci.grib1.ctl
Data file data/input/gfs.t00z.pgrb2f42.noaa_g2_rc_ci.grib1 is open as file 1
LON set to -7 30
LAT set to 33 60
LEV set to 1000 1000
Time values set: 2007:8:31:18 2007:8:31:18
ga-> open data/input/gfs.t00z.pgrb2f48.noaa_g2_rc_ci.grib1.ctl
Scanning description file:
data/input/gfs.t00z.pgrb2f48.noaa_g2_rc_ci.grib1.ctl
Data file data/input/gfs.t00z.pgrb2f48.noaa_g2_rc_ci.grib1 is open as file 2
ga-> q files
File 1 : gfs.t00z.pgrb2f42.noaa_g2_rc_ci.grib1
  Descriptor: data/input/gfs.t00z.pgrb2f42.noaa_g2_rc_ci.grib1.ctl
  Binary: data/input/gfs.t00z.pgrb2f42.noaa_g2_rc_ci.grib1
File 2 : gfs.t00z.pgrb2f48.noaa_g2_rc_ci.grib1
  Descriptor: data/input/gfs.t00z.pgrb2f48.noaa_g2_rc_ci.grib1.ctl
  Binary: data/input/gfs.t00z.pgrb2f48.noaa_g2_rc_ci.grib1
ga-> d apcpsfc.1
Contouring: 0 to 24 interval 2
ga-> d apcpsfc.2
Data Request Error: Invalid grid coordinates
  World coordinates convert to non-integer grid coordinates
    Variable = apcpsfc.2  Dimension = 3
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = apcpsfc.2
ga->



But, it is not problem with gfs.t00z.pgrb2f48.noaa_g2_rc_ci.grib1.ctl
file, I think. Because of:


$ gradsc -b -l

Grid Analysis and Display System (GrADS) Version 1.9b4
Copyright (c) 1988-2005 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.9b4 32-bit little-endian readline lats athena im/image-output
printim

Issue 'q config' command for more information.

GX Package Initialization: Size = 11 8.5
Running in Batch mode
ga-> open data/input/gfs.t00z.pgrb2f48.noaa_g2_rc_ci.grib1.ctl
Scanning description file:
data/input/gfs.t00z.pgrb2f48.noaa_g2_rc_ci.grib1.ctl
Data file data/input/gfs.t00z.pgrb2f48.noaa_g2_rc_ci.grib1 is open as file 1
LON set to -7 30
LAT set to 33 60
LEV set to 1000 1000
Time values set: 2007:9:1:0 2007:9:1:0
ga-> d apcpsfc
Contouring: 0 to 11 interval 1
ga->


Can anybody help please. Thank you.



More information about the gradsusr mailing list