lats4d question
Fan Fang
Fan.Fang at NASA.GOV
Tue Jan 5 10:23:48 EST 2010
Had the following error when trying to convert a grib2 file into hdf4
format. I am using lats4d in the grads-2.0.a7.oga.3 bundle. The .ctl
file has the lines around soilw40_100cm:
...
RH0C 0,4,0 0,1,1 ** 0C isotherm Relative Humidity [%]
SHTFLsfc 0,1,0 0,0,11,0 ** surface Sensible Heat Net Flux [W/m^2]
SOILW0_10cm 0,106,0,0.1 2,0,192 ** 0-0.1 m below ground Volumetric
Soil Moisture Content [Fraction]
SOILW10_40cm 0,106,0.1,0.4 2,0,192 ** 0.1-0.4 m below ground
Volumetric Soil Moisture Content [Fraction]
SOILW40_100cm 0,106,0.4,1 2,0,192 ** 0.4-1 m below ground Volumetric
Soil Moisture Content [Fraction]
SOILW100_200cm 0,106,1,2 2,0,192 ** 1-2 m below ground Volumetric
Soil Moisture Content [Fraction]
SPFH2m 0,103,2 0,1,0 ** 2 m above ground Specific Humidity [kg/kg]
...
Anyone has insight into this? Thanks.
-Fan
> grads -blc 'run lats4d.gs -q -format hdf4 -i
./gblav.PGrb2F03.091222.06z.ctl -o grib2test'
Welcome to the OpenGrADS Bundle Distribution
--------------------------------------------
For additional information enter "grads -h".
Starting
"/home/ffang/grads-2.0.a7.oga.3/Contents/Linux/Versions/2.0.a7.oga.3/i686/grads
-blc 'run lats4d.gs -q -format hdf4 -i ./gblav.PGrb2F03.091222.06z.ctl
-o grib2test' " ...
Grid Analysis and Display System (GrADS) Version 2.0.a7.oga.3
Copyright (c) 1988-2008 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.a7.oga.3 little-endian readline printim grib2 netcdf
hdf4-sds hdf5 opendap-grids,stn athena geotiff
Issue 'q config' command for more information.
Loading User Defined Extensions table
</home/ffang/grads-2.0.a7.oga.3/Contents/Linux/Versions/2.0.a7.oga.3/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
LATS error (lats_var): LATS (lats.c) --> Variable soilw40_100cm: not in
the variable table, file ID 1
lats4d: fatal error defining variables
lats4d: error creating hdf4 file grib2test.hdf
<RC> 1 </RC>
</IPC>
lats4d: exiting from GrADS...
No hardcopy metafile open
GX package terminated
More information about the gradsusr
mailing list