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 Water grids
-
- MOHID Beginner
- Posts: 2
- Joined: Thu Jan 01, 1970 00:00
-
- MOHID Beginner
- Posts: 5
- Joined: Thu Jan 01, 1970 00:00
Re: MOHID Water grids
Hi,
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.
Robert.
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.
Robert.
-
- MOHID Guru
- Posts: 151
- Joined: Thu Jan 01, 1970 00:00
- Location: Technical University of Lisbon
- Contact:
Re: MOHID Water grids
Dear all,
MOHID Studio incorporates the possibility to convert from ETOPO directly to MOHID's XYZ format.
Best regards,
Frank
MOHID Studio incorporates the possibility to convert from ETOPO directly to MOHID's XYZ format.
Best regards,
Frank
In order to understand recursivity you must first understand recursivity.
Who is online
Users browsing this forum: No registered users and 1 guest