[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: netCDF and HDF



Very nice, Lloyd & Russ.

Shiming, could you document this somewhere?

Mike

At 9:10 PM 3/7/95, Russ Rew wrote:
>... But would it be a crude
>> workaround for these folks that I working with?
>
>Yes, that's a clever way to convert an HDF-encoded netCDF file to an
>XDR-encoded netCDF file.  The invocation would be:
>
>   HDFncdump file.hdf | ncgen -o file.nc -
>
>where "file.hdf" is the input HDF-encoded netCDF file, and "file.nc" is the
>output equivalent netCDF file.
>
>It's a little slow, but it seems to work fine, except that the default
>precision that ncdump uses to output floating-point and double-precision
>values (6 and 15 significant digits) may lose some precision in the output
>file.  There are ncdump flags that permit specifying the precision used.
>
>--Russ