MOHID FORUM Forum Index MOHID FORUM
Forum about MOHID
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Convert to HDF5 - Mercator

 
Post new topic   Reply to topic    MOHID FORUM Forum Index -> Mohid Water
View previous topic :: View next topic  
Author Message
mfernand@fing.edu.uy
MOHID User


Joined: 01 Jan 1970
Posts: 26
Location: Montevideo, Uruguay

PostPosted: Thu Mar 27, 2008 3:46 pm    Post subject: Convert to HDF5 - Mercator Reply with quote

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
View user's profile Send private message
administrator@.
Site Admin


Joined: 01 Jan 1970
Posts: 302
Location: Instituto Superior Tecnico - Lisbon - Portugal

PostPosted: Thu Apr 03, 2008 7:15 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
mfernand@fing.edu.uy
MOHID User


Joined: 01 Jan 1970
Posts: 26
Location: Montevideo, Uruguay

PostPosted: Tue Apr 22, 2008 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
administrator@.
Site Admin


Joined: 01 Jan 1970
Posts: 302
Location: Instituto Superior Tecnico - Lisbon - Portugal

PostPosted: Mon May 26, 2008 2:40 pm    Post subject: Reply with quote

Hi Mariana,

You'll need to ask directly Mercator for those files.
Best regards,
Luis
Back to top
View user's profile Send private message Visit poster's website
mfernand@fing.edu.uy
MOHID User


Joined: 01 Jan 1970
Posts: 26
Location: Montevideo, Uruguay

PostPosted: Tue Jul 27, 2010 8:41 pm    Post subject: ConvertToHDF5 - Mercator files Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MOHID FORUM Forum Index -> Mohid Water All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group