[gradsusr] gancgrid error: nc_get_vara_double failed; NetCDF: Index exceeds dimension bound

Endalkachew Bekele - NOAA Affiliate endalkachew.bekele at noaa.gov
Thu Dec 1 07:43:55 EST 2016


Hi All,

I have downloaded reforecast data in netcdf format from the the ECMWF s2s
project page.

Since sdfopen didn't work I created a control file as follows::













*dset s2s_ecmwf_24_dec_12_1996_2015.nc
<http://s2s_ecmwf_24_dec_12_1996_2015.nc>titleundef -9.99e+33dtype
netcdfydef 121 linear -90 1.5xdef 240 linear 0 1.5zdef 1 linear 1 1edef 10
names e1 e2 e3 e4 e5 e6 e7 e8 e9 e10tdef 20 linear 00Z13DEC1996 1yrvars
1tp  0 99  t,y,x  Total Precipitationendvars*

Based on the following partial ncdump output:


























*netcdf s2s_ecmwf_24_dec_12_1996_2015 {dimensions:        longitude = 240
;        latitude = 121 ;        number = 10 ;        time = UNLIMITED ; //
(20 currently)variables:        float longitude(longitude) ;
longitude:units = "degrees_east" ;                longitude:long_name =
"longitude" ;        float latitude(latitude) ;
latitude:units = "degrees_north" ;                latitude:long_name =
"latitude" ;        int number(number) ;                number:long_name =
"ensemble_member" ;        int time(time) ;                time:units =
"hours since 1900-01-01 00:00:0.0" ;                time:long_name = "time"
;                time:calendar = "gregorian" ;        short tp(time,
number, latitude, longitude) ;                tp:scale_factor =
0.00549830333572399 ;                tp:add_offset = 180.157407098332
;                tp:_FillValue = -32767s ;                tp:missing_value
= -32767s ;                tp:units = "kg m**-2" ;
tp:long_name = "Total Precipitation" ;*


I get the following error message while trying to display the variable 'tp'
:

g



*ancgrid error: nc_get_vara_double failed; NetCDF: Index exceeds dimension
boundData Request Error:  Error for variable 'tp'  Error ocurred at column
1DISPLAY error:  Invalid expression  Expression = tp*

I am using GrADS 2.01. I couldn't figure out the problem from the previous
similar posts.

Any advice from the forum?

Thanks,

Endalk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20161201/219587a5/attachment.html 


More information about the gradsusr mailing list