Netcdf to hdf5 with Matlab

Discussion about MOHID support tools
prudhomme.bj@gmail.com
MOHID Beginner
Posts: 2
Joined: Thu Jan 01, 1970 00:00

Netcdf to hdf5 with Matlab

Postby prudhomme.bj@gmail.com » Thu Mar 17, 2011 10:18

Hi,
I'm new here and I have some troubles !
I work with MOHID and I use Netcdf files. I would like to see results from the Netcdf files in MOHID GIS. I understood that i needed to convert my Netcdf to an hdf5 file. So I wrote a routine in Matlab to do that simply. In result I do have what seems to be a correct hdf5 file but which is not read by MOHID GIS !! (Well actually he reads it but don't see what's inside Grid,Results and Time.)
I can send an example of netcdf file and the Matlab routine to anyone who want to help.

Thanks for your help.

Benjamin

administrator@.
Site Admin
Posts: 349
Joined: Thu Jan 01, 1970 00:00
Location: Instituto Superior Tecnico - Lisbon - Portugal
Contact:

Postby administrator@. » Mon Apr 25, 2011 09:35

Hi,

Can you send me the HDF5 that you've converted from Netcdf to see what's wrong with it?

Which HDF5 version did you use. MOHID GIS can only read HDF5 1.6.5 or previous versions.

Cheers,
Luis

prudhomme.bj@gmail.com
MOHID Beginner
Posts: 2
Joined: Thu Jan 01, 1970 00:00

Postby prudhomme.bj@gmail.com » Tue Apr 26, 2011 12:29

Hi,

thank you but i figured it out a few weeks ago that it was a problem of version in hdf5 libraries between Mohid and Matlab.
So i passed from Matlab 2009 to Matlab 2006 and it worked correctly.


Cheers,

Benjamin


Return to “MOHID Tools”

Who is online

Users browsing this forum: No registered users and 3 guests