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

  • To: êëí <gubonobono@xxxxxxxxx>
  • Subject: Re: [netcdf-hdf] excuse me.. I have some question about conversion netcdf4 to hdf5
  • From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
  • Date: Fri, 16 Oct 2009 04:32:30 -0600
êëí<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.
>
> soÃÂI'm studying how to convert netcdf-4 to tecplot (because netcdf-4 can
> be connect to hdf5 and Tecplot has hdf5 data loader)
>
> but It is not complete :(
>
> and I don't know how solve the problem.. (although I found information
> that is can be solve the problem from so many web site such as fvcom,
> netcdf, tecplot, hdfgroup)
>
> therefore I want to discussion with netCDF and NCSA's HDF5 merger about
> this problem.
>
> Plz... Help me!
>
> ÃÂ
>
> next sentence is about the problem//
>
> I did installed netcdf-4 with hdf5 on linux in my computer
>
> and I made FVCOM sample file by netcdf-4
>
> so my result(ex, output.nc) contact to Tecplot HDF5 data loader but error
> happen to here! :(
>
> but other sample file(hdf5 file) can be load to tecplot... therefore It is
> notÃÂtecplot systemÃÂerrorÃÂand It is problem how to convert...
>
> I kown that Every netCDF-4 or netCDF-4 classic model file can be read or
> written by the HDF5 library, version 1.8 or later, so in that respect
> netCDF-4 files are already HDF5 files and need no conversion.
>
> but why cannot I do that... :(
>
> sample fileÃÂby me is incomplete? It's my mistake config in FVCOM model
> setup? exactly, I didÃÂinstalledÃÂand using that (in my opinion..)
>
> I really want to know 'how to draw plot FVCOM modelÃÂto Tecplot(=how to
> draw plot NetCDF fileÃÂto HDF5 visualization tools)'
>
> ÃÂ
>
> one more question, that is how to convert file netcdf-4(*.nc) to
> HDF5(*.h5). How?

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
-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx