Re: [netcdf-hdf] excuse me.. I have some question about conversion netcdf4 to hdf5

  • To: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
  • Subject: Re: [netcdf-hdf] excuse me.. I have some question about conversion netcdf4 to hdf5
  • From: Ted Mansell <ted.mansell@xxxxxxxx>
  • Date: Fri, 16 Oct 2009 07:58:59 -0500
To add to Ed's point, your files might actually be netcdf-3 format unless the FVCOM code specifically sets the file mode as netcdf4. In other words, netcdf3 is still the default format even though you compiled netcdf4 with --enable-netcdf4.

"ncdump -k file" will also tell you if it is netcdf3 or 4.

-- Ted

On Oct 16, 2009, at 5:32 AM, Ed Hartnett wrote:

êëí<gubonobono@xxxxxxxxx> writes:

hello, I'm bonho gu from inha university student in south korea.

I'm interasting 'FVCOM model' for sediment transport and using
visualization tool 'Tecplot'.

FVCOM can make output fileà by netcdf and Tecplot can load data in hdf or
hdf5.


Howdy!

Every netCDF-4/HDF5 files is a fully-formed HDF5 file, so there should
be no need to convert from netcdf-4 to HDF5. It's already HDF5.

Try running the h5dump utility on the data file. Does it work?

Also try running the netCDF utility ncdump.

Thanks,
Ed