Convert HYCOM nc to MOHID HDF5

Discussion about MOHID support tools
dillabadu2138@gmail.com
MOHID Beginner
Posts: 2
Joined: Mon Apr 25, 2016 09:47

Convert HYCOM nc to MOHID HDF5

Postby dillabadu2138@gmail.com » Fri Apr 28, 2017 09:46

Hi, Colleagues:

I am trying to convert HYCOM netcdf files into MOHID HDF5 format to use them as both boundary conditions and initial conditions in MOHID. So I am using MOHID Wiki page on ConvertToHDF5 as a reference. But They do not have anything on how to convert HYCOM format into that of MOHID.

ConvertToHDF5 has a module called ModuleHYCOMFormat, but I dont know what to write on ConvertToHDF5ACTION.dat file.

I have already downloaded HYCOM results netcdf files (u,v,s,t,ubaro,vbaro), but I can not find the HYCOM grid data files anywhere on their website. Would you please help me in finding these files?

Here is my ConvertToHDF5ACTION.dat file...

<begin_file>
ACTION : CONVERT HYCOM FORMAT
HYCOM_GRID_FILENAME :
HYCOM_TEMP_FILENAME : D:\HYCOM\test\archv.2016_140_00_3zt.nc
HYCOM_SALT_FILENAME : D:\HYCOM\test\archv.2016_140_00_3zs.nc
HYCOM_UVEL_FILENAME : D:\HYCOM\test\archv.2016_140_00_3zu.nc
HYCOM_VVEL_FILENAME : D:\HYCOM\test\archv.2016_140_00_3zv.nc
HYCOM_SSH_FILENAME : D:\HYCOM\test\archv.2016_140_00_mlt.nc
HYCOM_UBARO_FILENAME : D:\HYCOM\test\archv.2016_140_00_2d.nc
HYCOM_VBARO_FILENAME : D:\HYCOM\test\archv.2016_140_00_2d.nc

OUTPUT_GRID_FILENAME : test.dat
OUTPUTFILENAME : test.hdf

LEFT : -99999
RIGHT : 99999
TOP : -99999
BOTTOM : 99999
<end_file>

I would really appreciate any help on this.

Thanks,

Don

Return to “MOHID Tools”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest