Convert to HDF5 - Mercator

MOHID Water forum. Questions and discussion around MOHID Water
mfernand@fing.edu.uy
MOHID User
Posts: 30
Joined: Thu Jan 01, 1970 00:00
Location: Montevideo, Uruguay

Convert to HDF5 - Mercator

Postby mfernand@fing.edu.uy » Thu Mar 27, 2008 15:46

Hi!

We are trying to use the Mercator solution as an OBC and in order to do that we should first convert NetCDF Mercator format to HDF5. For this we need NetCDF Mercator results data files and NetCDF Mercator grid data
files.

We have already downloaded a NetCDF Mercator results data file but I can not find the Mercator grid data files. Would you please help me in finding these files?

Thank you in advanced for your help.
Kind regards,
Mariana

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

Postby administrator@. » Thu Apr 03, 2008 07:15

Hi Mariana,

If you have access to MERCATOR results you should have been given also the grid files (in netcdf format) which are used by ConvertToHDF5 to convert the netcdf MERCATOR files in HDF5.

You'll need 3 grid files from the C (centered), U and V.

Hope this helps,
Luis

mfernand@fing.edu.uy
MOHID User
Posts: 30
Joined: Thu Jan 01, 1970 00:00
Location: Montevideo, Uruguay

Postby mfernand@fing.edu.uy » Tue Apr 22, 2008 19:16

Hi Luis,
I have access to MERCATOR results and I have downloaded the file: mercatorPsy3v1R1v_sat_mean_20070221_R20070307.nc

from the web site: http://opendap.mercator-ocean.fr/data/m ... trine/sat/

However I do not know where to find the 3 grid files that I need in order to use the ConvertToHDF5 tool.

Would you please help in finding these grid files? Perhaps you can tell me from which web address you downloaded the grid files you use for ConvertToHDF5.

Thank you,
Mariana

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

Postby administrator@. » Mon May 26, 2008 14:40

Hi Mariana,

You'll need to ask directly Mercator for those files.
Best regards,
Luis

mfernand@fing.edu.uy
MOHID User
Posts: 30
Joined: Thu Jan 01, 1970 00:00
Location: Montevideo, Uruguay

ConvertToHDF5 - Mercator files

Postby mfernand@fing.edu.uy » Tue Jul 27, 2010 20:41

Hola Luis,
Once again we are trying to use the Mercator results as OBCs for our hydrodynamic model. The Mercator people sent us the following files:

ext-mask_float.nc
ext-mesh_hgr_float.nc
ext-mesh_zgr_float.nc
ext-PSY3V2R2_1dAV_20070501_20070502_gridT_R20070502.nc
ext-PSY3V2R2_1dAV_20070501_20070502_gridU_R20070502.nc
ext-PSY3V2R2_1dAV_20070501_20070502_gridV_R20070502.nc

I have been trying to convert these files into hdf5 files but had no luck. I tried many different combinations of these files because I am not sure which are the grid files and which are the data files but none of them worked out.

Here is what I wrote in one of the ConvertToHDF5Action.dat file:
<begin_file>
ACTION : CONVERT MERCATOR FORMAT
READ_OPTION : 2
OUTPUT_FILE : out.hdf5
OUTPUT_GRID_FILENAME: out_grid.dat
OUTPUT_GEOMETRY_FILENAME: out_geometry.dat

INPUT_GRID_FILENAME: ext-PSY3V2R2_1dAV_20070501_20070502_gridT_R20070502.nc
INPUT_GRID_FILENAME_U: ext-PSY3V2R2_1dAV_20070501_20070502_gridU_R20070502.nc
INPUT_GRID_FILENAME_V: ext-PSY3V2R2_1dAV_20070501_20070502_gridV_R20070502.nc

<<begin_input_files>>
ext-PSY3V2R2_1dAV_20070501_20070502_gridT_R20070502.nc
<<end_input_files>>

<end_file>

When executing the ConvertToHDF5.exe with this input file, the error says:
OpenAndReadBathymMERCATOR - ModuleMERCATORFormat - ERR60

Any suggestions to solve this problem?

Thank you very much for your help.
Best regards,
Mariana

toderascurobert@yahoo.com
MOHID Beginner
Posts: 5
Joined: Thu Jan 01, 1970 00:00

Re: Convert to HDF5 - Mercator

Postby toderascurobert@yahoo.com » Thu Mar 28, 2013 10:28

Hi Mariana,

Did you solve your problem? If yes, can you please tell me how? I am trying to do the same thing and I'm following your steps.

Best regards,

Robert.


Return to “MOHID Water”

Who is online

Users browsing this forum: No registered users and 2 guests