MOHID Water grids

MOHID Water forum. Questions and discussion around MOHID Water
MOHID Beginner
Posts: 2
Joined: Thu Jan 01, 1970 00:00

MOHID Water grids

Postby » Sat Dec 01, 2012 21:19

Hello! I´m having trouble with the reading of the grids that I´m generating with
MatLab, MOHID doesn´t read them. I need an example of a batymetric grid. I´m
trying to load the data directly from ETOPO1 to MOHID but so far there´s no way.
Thank you for your help.
MOHID Beginner
Posts: 5
Joined: Thu Jan 01, 1970 00:00

Re: MOHID Water grids

Postby » Mon Jan 14, 2013 13:53


I am not sure if this will help, but I've had the same problem and I fixed it by using a hdf5 repack (you can find the executable on hdf5 website).
The command line for the executable that I use is:
h5repack -v -f GZIP=6 temperature_january2010.hdf5 temperature_january2010_rep.hdf5
pause (as I understand it this archives your data on a level 6 Gzip archyve type, replace temperature_january...with your file)
This also reduces the size of your file.
then the command in matlab is: fname = 'h5repackTEMP.bat';
system(['h5repackTEMP.bat<', fname]);
This worked for me, I hope it helps.

Posts: 151
Joined: Thu Jan 01, 1970 00:00
Location: Technical University of Lisbon

Re: MOHID Water grids

Postby » Mon Jan 14, 2013 15:28

Dear all,

MOHID Studio incorporates the possibility to convert from ETOPO directly to MOHID's XYZ format.

Best regards,
In order to understand recursivity you must first understand recursivity.

Return to “MOHID Water”

Who is online

Users browsing this forum: No registered users and 3 guests