[Thread Prev][Thread Next][Index]

Re: [ferret_users] How to fix error in reading hdf data?

Dear Ansley:

Versions 6.6 and higher of Ferret can read hdf files with no need for you to do anything. What version of Ferret are you running? Error -51 is coming from the netCDF library, and the library gives the translation of that error code as "Unknown file format".  It indicates that either the netCDF/OPeNDAP library in your Ferret version can't read hdf files, or that the file itself is not recognized by the netCDF library.


Thanks for your above suggestion. I was in fact using Ferret version 6.2. But after getting your reply, I installed Ferret version 6.6 and tried the same hdf file. Now I get a different error with version 6.6 as follows.

[cshaji@circulation dataver5]$ ferret
        FERRET v6.64  
        Linux(gfortran) 2.6.9-89.0.20.ELsmp - 09/16/10
        24-Nov-10 13:14     

yes? use "/work/data/sst/dataver5/198501.s04m1pfv50-bsst-16b.hdf"
 **netCDF error
             Attempt to use feature that was not turned on when netCDF was built. (OPeNDAP/netCDF Error code -128)
             Data set: /work/data/sst/dataver5/198501.s04m1pfv50-bsst-16b.hdf

Perhaps this can this be a problem with the hdf data file itself while its creation? If so, any way to fix it?
Please give me a reply.

Best regards,

On 11/23/2010 2:39 AM, cshaji@xxxxxxxxxxxxxxxxxxxxx wrote:
> Dear All:
> I am trying to read an hdf sst data file in Ferret. I get the following error.
> yes? use "/work/data/sst/dataver5/198510.s04m1pfv50-bsst-16b.hdf"
>   **netCDF error
>               NetCDF: Unknown file format (OPeNDAP/netCDF Error code -51)
>               Data set: /work/data/sst/dataver5/198510.s04m1pfv50-bsst-16b.hdf
> What is Error code 51 means and how to fix it in Ferret?
> Can somebody give me a good suggestion?
> Regards
> Shaji.

[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement