Warning: Could not retrieve add offset
Helio Camargo
heliocamargo at GMAIL.COM
Sat Aug 9 07:39:54 EDT 2008
Hi everyone!
I'm trying to use "UNPACK scale_factor add_offset" to display properly the
net solar radiation at the surface in this case (ERA-40). The error message
I'm getting is "Warning: Could not retrieve add offset -- setting to 0.0".
My ctl file, an output of 'ncdump -h', the error message itself and also the
GrADS 'q config' output are below in this message.
Would anybody have a suggestion or hint on how to go through it..?
Thanks in advance! :-)
Regards,
Helio
### ctl file ###
DSET test.nc
DTYPE netcdf
UNDEF -32767s _FillValue
UNPACK scale_factor add_offset
XDEF 145 LINEAR -27 0.5
YDEF 82 LINEAR -33 0.5
ZDEF 1 LINEAR 1 1
TDEF 1 LINEAR 05jul2000 1dy
VARS 1
ssrc 0 t,y,x net solar radiation at the surface (W/m2)
ENDVARS
######
--------------------------------------------------------------------------------
### ncdump -h ###
netcdf test {
dimensions:
longitude = 145 ;
latitude = 82 ;
time = 1 ;
variables:
float longitude(longitude) ;
longitude:units = "degrees_east" ;
longitude:long_name = "longitude" ;
float latitude(latitude) ;
latitude:units = "degrees_north" ;
latitude:long_name = "latitude" ;
int time(time) ;
time:units = "hours" ;
time:long_name = "time" ;
short ssrc(time, latitude, longitude) ;
ssrc:scale_factor = 226.931819569065 ;
ssrc:add_offset = 9379013.06818043 ;
ssrc:_FillValue = -32767s ;
ssrc:missing_value = -32767s ;
ssrc:units = "W m**-2 s" ;
ssrc:long_name = "Surface net solar radiation, clear sky" ;
// global attributes:
:Conventions = "CF-1.0" ;
:history = "2008-08-08 20:15:28 GMT by mars2netcdf-0.92" ;
}
######
--------------------------------------------------------------------------------
###grads error message and q config output###
Grid Analysis and Display System (GrADS) Version 2.0.a2
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.a2 little-endian readline printim grib2 netcdf hdf4-sds
Issue 'q config' command for more information.
GX Package Initialization: Size = 11 8.5
Scanning description file: test.ctl
Data file test.nc is open as file 1
LON set to -27 45
LAT set to -33 7.5
LEV set to 1 1
Time values set: 2000:7:5:0 2000:7:5:0
E set to 1 1
*ga-> q file
File 1 :
Descriptor: test.ctl
Binary: test.nc
Type = Gridded
Xsize = 145 Ysize = 82 Zsize = 1 Tsize = 1 Esize = 1
Number of Variables = 1
ssrc 0 -103 net solar radiation at the surface (W/m2)
ga-> d ssrc
" -- using -32767 insteadve "_FillValue
Warning: Could not retrieve add offset -- setting to 0.0
Contouring: -7e+06 to 7e+06 interval 1e+06*
ga-> q config
Config: v2.0.a2 little-endian readline printim grib2 netcdf hdf4-sds
Grid Analysis and Display System (GrADS) Version 2.0.a2
Copyright (c) 1988-2008 by Brian Doty and the
Institute for Global Environment and Society (IGES)
This program is distributed WITHOUT ANY WARRANTY
See file COPYRIGHT for more information.
Built Wed May 21 16:34:42 MDT 2008 for i686-pc-linux-gnu
This version of GrADS has been configured with the following options:
o Built on a LITTLE ENDIAN machine
o Command line editing ENABLED
o printim command for image output ENABLED
o GRIB2 interface ENABLED
o NetCDF interface ENABLED
o HDF4 SDS interface ENABLED
o Athena Widget GUI DISABLED
o OPeNDAP gridded data interface DISABLED
o OPeNDAP station data interface DISABLED
For additional information please consult http://iges.org/grads
######
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080809/dc37eb08/attachment.html
More information about the gradsusr
mailing list