[gradsusr] Error Message: gancgrid error
sudev das M P
devdas.pnr at gmail.com
Tue Jan 4 14:10:35 EST 2011
Hi All,
I have a netCDF file "ndn6089_flux.nc".
When I tried to display the variable in this file it is showing
following error. Please tell me how to fix this problem.
=============================================
ga-> sdfopen ndn6089_flux.nc
Scanning self-describing file: ndn6089_flux.nc
SDF file ndn6089_flux.nc is open as file 1
LON set to 31 119
LAT set to -29 23
LEV set to 0 0
Time values set: 1:1:31:10 1:1:31:10
E set to 1 1
ga-> q file
File 1 : Indian Ocean monthly (fluxes) from Jones 1994
Descriptor: ndn6089_flux.nc
Binary: ndn6089_flux.nc
Type = Gridded
Xsize = 45 Ysize = 27 Zsize = 1 Tsize = 12 Esize = 1
Number of Variables = 4
taux 0 t,y,x Wind stress
tauy 0 t,y,x Wind stress
h 0 t,y,x Sensible Heat Flux
e 0 t,y,x Latent Heat Flux
ga-> d h
gancgrid error: nc_get_vara_double failed; NetCDF: Index exceeds dimension
bound
Data Request Error: Error for variable 'h'
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = h
=================================================================
I am giving the header file below:
================================================================
netcdf ndn6089_flux {
dimensions:
lon = 45 ;
lat = 27 ;
month = 12 ;
year = 30 ;
variables:
float lon(lon) ;
lon:long_name = "longitude" ;
lon:units = "degrees_east" ;
lon:valid_range = 0.f, 360.f ;
lon:min_max = 31.f, 119.f ;
float lat(lat) ;
lat:long_name = "latitude" ;
lat:units = "degrees_north" ;
lat:valid_range = -90.f, 90.f ;
lat:min_max = -29.f, 23.f ;
int month(month) ;
month:long_name = "Month" ;
month:units = "months" ;
month:valid_range = 1, 12 ;
month:time_step = 1 ;
month:time_origin = "16-Dec-1959 12:00:00" ;
month:base_time = 1, 16, 60 ;
int year(year) ;
year:long_name = "Year" ;
year:units = "year" ;
year:valid_range = 1960, 1989 ;
year:time_step = 1 ;
year:time_origin = "16-Dec-1959 12:00:00" ;
year:base_time = 1, 16, 60 ;
float Taux(year, month, lat, lon) ;
Taux:short_name = "Taux" ;
Taux:long_name = "Wind stress" ;
Taux:units = "N m**-2" ;
Taux:_FillValue = 99999.f ;
Taux:missing_value = 99999.f ;
Taux:valid_range = -5.f, 5.f ;
Taux:min_max = -0.2607f, 0.4275f ;
float Tauy(year, month, lat, lon) ;
Tauy:short_name = "Tauy" ;
Tauy:long_name = "Wind stress" ;
Tauy:units = "N m**-2" ;
Tauy:_FillValue = 99999.f ;
Tauy:missing_value = 99999.f ;
Tauy:valid_range = -5.f, 5.f ;
Tauy:min_max = -0.2636f, 0.3903f ;
float H(year, month, lat, lon) ;
H:short_name = "H" ;
H:long_name = "Sensible Heat Flux" ;
H:units = "W m**-2" ;
H:_FillValue = 99999.f ;
H:missing_value = 99999.f ;
H:valid_range = -100.f, 100.f ;
H:min_max = -39.95f, 67.3f ;
float E(year, month, lat, lon) ;
E:short_name = "E" ;
E:long_name = "Latent Heat Flux" ;
E:units = "W m**-2" ;
E:_FillValue = 99999.f ;
E:missing_value = 99999.f ;
E:valid_range = -500.f, 500.f ;
E:min_max = -16.05f, 385.73f ;
// global attributes:
:title = "Indian Ocean monthly (fluxes) from Jones 1994" ;
:source = "COAPS at FSU" ;
:base_time = "1960 to 1989" ;
:gridded = 1 ;
:LandValue = 99999.f ;
:_FillValue = 99999.f ;
:missing_value = 99999.f ;
:first_varid = 4 ;
data:
lon = 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63,
65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, 99,
101, 103, 105, 107, 109, 111, 113, 115, 117, 119 ;
lat = -29, -27, -25, -23, -21, -19, -17, -15, -13, -11, -9, -7, -5, -3, -1,
1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23 ;
month = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ;
year = 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970,
1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982,
1983, 1984, 1985, 1986, 1987, 1988, 1989 ;
=================================================================
Thanking You,
sudev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110105/135adcd2/attachment-0003.html
More information about the gradsusr
mailing list