| View previous topic :: View next topic |
| Author |
Message |
mfernand@fing.edu.uy MOHID User
Joined: 01 Jan 1970 Posts: 26 Location: Montevideo, Uruguay
|
Posted: Thu Mar 27, 2008 3:46 pm Post subject: Convert to HDF5 - Mercator |
|
|
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 |
|
| Back to top |
|
 |
administrator@. Site Admin

Joined: 01 Jan 1970 Posts: 302 Location: Instituto Superior Tecnico - Lisbon - Portugal
|
Posted: Thu Apr 03, 2008 7:15 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
mfernand@fing.edu.uy MOHID User
Joined: 01 Jan 1970 Posts: 26 Location: Montevideo, Uruguay
|
Posted: Tue Apr 22, 2008 7:16 pm Post subject: |
|
|
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/mercator_psy3v1_vitrine/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 |
|
| Back to top |
|
 |
administrator@. Site Admin

Joined: 01 Jan 1970 Posts: 302 Location: Instituto Superior Tecnico - Lisbon - Portugal
|
Posted: Mon May 26, 2008 2:40 pm Post subject: |
|
|
Hi Mariana,
You'll need to ask directly Mercator for those files.
Best regards,
Luis |
|
| Back to top |
|
 |
mfernand@fing.edu.uy MOHID User
Joined: 01 Jan 1970 Posts: 26 Location: Montevideo, Uruguay
|
Posted: Tue Jul 27, 2010 8:41 pm Post subject: ConvertToHDF5 - Mercator files |
|
|
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 |
|
| Back to top |
|
 |
|