reading netCDF 4.1.1 using IDL version 6.1 [message #81656] |
Thu, 11 October 2012 11:23  |
mkmvarma
Messages: 24 Registered: November 2007
|
Junior Member |
|
|
Hello,
Does anyone know how to fix the issue in reading netCDF 4.1.1 with IDL version 6.1. When I open the file with 'ncdf_open' function, I get an error saying 'NC_ERROR=-51'.
Thanks,
Mahesh
|
|
|
Re: reading netCDF 4.1.1 using IDL version 6.1 [message #81726 is a reply to message #81656] |
Sat, 13 October 2012 15:39  |
Jim Pendleton
Messages: 165 Registered: November 2011
|
Senior Member |
|
|
On Thursday, October 11, 2012 12:23:04 PM UTC-6, mkmv...@gmail.com wrote:
> Hello,
>
> Does anyone know how to fix the issue in reading netCDF 4.1.1 with IDL version 6.1. When I open the file with 'ncdf_open' function, I get an error saying 'NC_ERROR=-51'.
>
> Thanks,
>
> Mahesh
Error codes can be found here: http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-c/Er ror-Codes.html
In the case of -51, the error is a vague message "not a NetCDF file". Usually a simple message like this means that a "magic" number is not located at the very beginning of the file, or some other standard data is not found at an expected location.
|
|
|