[Thread Prev][Thread Next][Index]

Re: [ferret_users] NetCDF: Unknown file format (OPeNDAP/netCDF Error code -51)



Hi,
This error message is coming from the NetCDF library.  Ferret gets the error code back when it issues a netCDF call to  open the file.  Then it makes another call to a NetCDF routine to translate the error code, and the result of that is "Unknown file format".

Unidata has recently added to their documentation a list of their error codes:
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-c/Error-Codes.html

It means that there is something about the file that's making it impossible for the library to open it as a netCDF file.

Ansley

On 11/6/2012 8:38 AM, sandip tikar wrote:
Hi all,
    While reading the netcdf file, I am getting error as

 $ ferret
        NOAA/PMEL TMAP
        FERRET v6.82
        Linux 2.6.32-279.1.1.el6.x86_64 64-bit - 08/03/12
         6-Nov-12 11:15

yes? use temp_sponge.nc
 **netCDF error
             NetCDF: Unknown file format (OPeNDAP/netCDF Error code -51)
             Data set: ./temp_sponge.nc


What is error code 51?


Thanks & Regards,
Sandip.


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement