comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » reading netCDF 4.1.1 using IDL version 6.1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
reading netCDF 4.1.1 using IDL version 6.1 [message #81656] Thu, 11 October 2012 11:23 Go to next message
mkmvarma is currently offline  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 Go to previous message
Jim  Pendleton is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Pointer and structure question
Next Topic: IDL 8.2.1 released

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:48:59 PDT 2025

Total time taken to generate the page: 0.00567 seconds