[gradsusr] read ahvrr netcdf file

Ajaya Mohan Ajaya.Mohan at ec.gc.ca
Fri Sep 23 19:07:50 EDT 2011


Obviously, error is with the ctl file as the variables in the avhrr 
netcdf file avhrr-only-v2.20081225.nc doesn't match the ctl file 
variables. BTW, sdfopen 
http://nas.o3d.org:8080/thredds/dodsC/yisen/yisen_data/OI-daily-v2/2008/avhrr-only-v2.20081225.nc 
<http://nas.o3d.org:8080/thredds/dodsC/yisen/yisen_data/OI-daily-v2/2008/avhrr-only-v2.20081225.nc.html>
works fine for me in version 2.0.a8

ajaya

On 23/09/2011 1:57 PM, diego wrote:
> Hi everibody:
> I have a problem readind netcdf file with GRADS.  I sed my ctl file 
> and ncdump_out.
> can anyone helpme ?
>
> Grid Analysis and Display System (GrADS) Version 2.0.a8
> Copyright (c) 1988-2010 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.a8 little-endian readline printim grib2 netcdf hdf4-sds 
> hdf5 opendap-grids,stn geotiff shapefile
> Issue 'q config' command for more information.
> Landscape mode? ('n' for portrait):
> GX Package Initialization: Size = 11 8.5
> ga-> open avhrr.ctl
> Scanning description file:  avhrr.ctl
> Data file avhrr-only-v2.20081225.nc is open as file 1
> LON set to 0 360
> LAT set to -89.875 89.875
> LEV set to 0 0
> Time values set: 1963:11:1:0 1963:11:1:0
> E set to 1 1
> ga-> q file
> File 1 : test AVHRR
>   Descriptor: avhrr.ctl
>   Binary: avhrr-only-v2.20081225.nc
>   Type = Gridded
>   Xsize = 1440  Ysize = 720  Zsize = 1  Tsize = 1  Esize = 1
>   Number of Variables = 4
>      temp  0  0,y,x  sea  at surface (W/m2)
>      mali  0  0,y,x  anomal rate (kg/m2/s)
>      rore  0  0,y,x  eror pressure (hPa)
>      hiel  0  0,y,x  ice pressure (hPa)
> ga-> d temp
> gancgrid error: nc_get_vara_double failed; NetCDF: Index exceeds 
> dimension bound
> Data Request Error:  Error for variable 'temp'
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = temp
> ga->
>
>
> tahnks
> ------------------------------------------------------------------------
> **
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110923/170e4133/attachment-0003.html 


More information about the gradsusr mailing list