<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi all:<br> </div><div><br></div><div>I have taken a netcdf data file from the following link:<br></div>ftp://ftp.ncdc.noaa.gov/pub/data/cmb/ersst/v3b/netcdf/<br> While I try to open this file in GrADS I got the following error message:<br><br>ga-> open ersst.ctl<br>Scanning description file: ersst<br>Data file ersst.198901.nc is open as file 1<br>LON set to 0 360 <br>LAT set to -88 88 <br>LEV set to 0 0 <br>Time values set: 1989:1:1:0 1989:1:1:0 <br>E set to 1 1 <br>ga-> q file<br>File 1 : <br> Descriptor: ersst.ctl<br> Binary: ersst.198901.nc<br> Type = Gridded<br> Xsize = 180 Ysize = 89 Zsize = 1 Tsize = 1 Esize = 1<br> Number of Variables = 3<br> tsm 0 1,y,x temperature<br> an 0
1,y,x anomalia<br> er 0 1,y,x error<br>ga-> d tsm<br>gancgrid error: nc_get_vara_double failed; NetCDF: Index exceeds dimension bound<br>Data Request Error: Error for variable 'tsm'<br> Error ocurred at column 1<br>DISPLAY error: Invalid expression <br> Expression = tsm<br>ga-> quit<br><br>can anywhere help me ?<br><br>Thanks<br><br><br><span style="font-weight: bold;">My ctl file is </span>:<br><br>DSET ^ersst.198901.nc<br>*DSET ^ersst.%y4%m2.nc<br>*OPTIONS template<br>DTYPE netcdf<br>UNDEF -999s<br>xdef 180 linear 0 2<br>ydef 89 linear -88 2<br>zdef 1 levels 0<br>TDEF 1 linear jan1989 1mo <br>vars 3<br>sst=>tsm 0 1,y,x temperature<br>anom=>an 0 1,y,x anomalia <br>err=>er 0 1,y,x error<br>endvars
<br><br><br><span style="font-weight: bold;">The Netcdf file Is:</span><br><br> ncdump ersst.199908.nc <br><br>netcdf ersst.199908 {<br>dimensions:<br> time = 1 ;<br> zlev = 1 ;<br> lat = 89 ;<br> lon = 180 ;<br>variables:<br> float time(time) ;<br> time:long_name = "Center time of the day" ;<br> time:units = "days since 1854-01-15" ;<br> time:delta_t = "0000-01-00" ;<br> time:avg_period = "0000-01-00" ;<br> float zlev(zlev) ;<br> zlev:long_name = "Sea surface height" ;<br> zlev:units = "meters" ;<br> zlev:actual_range = "0, 0" ;<br> float lat(lat)
;<br> lat:long_name = "Latitude" ;<br> lat:units = "degrees_north" ;<br> lat:grids = "Uniform grid from -88 to 88 by 2" ;<br> float lon(lon) ;<br> lon:long_name = "Longitude" ;<br> lon:units = "degrees_east" ;<br> lon:grids = "Uniform grid from 0 to 358 by 2" ;<br> short sst(time, zlev, lat, lon) ;<br> sst:long_name = "Extended reconstructed sea surface temperature" ;<br> sst:units = "degrees_C" ;<br> sst:_FillValue = -999s ;<br> sst:add_offset = 0.f ;<br> sst:scale_factor = 0.01f ;<br>
sst:valid_min = -300s ;<br> sst:valid_max = 4500s ;<br> short anom(time, zlev, lat, lon) ;<br> anom:long_name = "Extended reconstructed SST anomalies" ;<br> anom:units = "degrees_C" ;<br> anom:_FillValue = -999s ;<br> anom:add_offset = 0.f ;<br> anom:scale_factor = 0.01f ;<br> anom:valid_min = -1200s ;<br> anom:valid_max = 1200s ;<br> short err(time, zlev, lat, lon) ;<br> err:long_name = "Estimated error standard deviation of analyzed_ersst" ;<br> err:units = "degrees_C" ;<br> err:_FillValue = -999s
;<br> err:add_offset = 0.f ;<br> err:scale_factor = 0.01f ;<br> err:valid_min = 0s ;<br> err:valid_max = 1000s ;<br><br>// global attributes:<br> :title = "ERSST V3b in situ only" ;<br> :history = "Version 3b" ;<br> :creation_date = "2010-03-23" ;<br> :description = "Smith, T.M., and R.W. Reynolds, 2003: Extended Reconstruction of Global Se<br>a Surface Temperatures Based on COADS Data (1854-1997). Journal of Climate, 16, 1495-1510. A vailable at h<br>ttp://www.ncdc.noaa.gov/img/climate/research/sst/ersst.pdf Climatology is based on 1971-2000 OI.v2 SST, I<br>n situ data: ICOADS2.4 before 2006 and NCEP in situ data from 2007 to present"
;<br> :source = "NOAA/National Climatic Data Center" ;<br> :contact = "Dick Reynolds, email: Richard.W.Reynolds@noaa.gov & Chunying Liu, email: Chuny<br>ing.liu@noaa.gov" ;<br> :Conventions = "CF-1.0" ;<br>data:<br><br> time = 53172 ;<br><br>zlev = 0 ;<br><br> lat = -88, -86, -84, -82, -80, -78, -76, -74, -72, -70, -68, -66, -64, -62, <br> -60, -58, -56, -54, -52, -50, -48, -46, -44, -42, -40, -38, -36, -34, <br> -32, -30, -28, -26, -24, -22, -20, -18, -16, -14, -12, -10, -8, -6, -4, <br> -2, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, <br> 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, <br> 72, 74, 76, 78, 80, 82, 84, 86, 88 ;<br><br> lon = 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24,
26, 28, 30, 32, 34, 36, <br> 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, <br> 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, <br> 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, <br> 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, <br> 164, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190, <br> 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 218, <br> 220, 222, 224, 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 246, <br> 248, 250, 252, 254, 256, 258, 260, 262, 264, 266, 268, 270, 272, 274, <br> 276, 278, 280, 282, 284, 286, 288, 290, 292, 294, 296, 298, 300, 302, <br> 304, 306, 308, 310, 312, 314, 316, 318, 320, 322, 324, 326, 328, 330,
<br> 332, 334, 336, 338, 340, 342, 344, 346, 348, 350, 352, 354, 356, 358 ;<br><br> sst =<br> _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, <br> _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, <br><br><br><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><br> </div> </div> </div></body></html>