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