Convert2HDF5

Discussion about MOHID support tools
eva.perez@meteogalicia.es
MOHID Beginner
Posts: 16
Joined: Thu Jan 01, 1970 00:00

Convert2HDF5

Postby eva.perez@meteogalicia.es » Fri Feb 08, 2008 14:28

Hi,

Before converting the MOHID output into the ncdf format, could I convert it into the hdf5 format using the Convert2HDF5 tool?

Thanks in advance,

Eva

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

Postby administrator@. » Fri Feb 08, 2008 16:29

Hi Eva,

I am not sure I understood your problem :oops:

You have got MOHID outputs (in hdf5) and you want to convert them to netcdf, right? To do that there is a specific tool called Convert2netcdf. The code is in SourceSafe to which you have access, but I can send you a compiled version with a sample input data file.

I hope I've answered your question, if not just let me know.

Best regards,
Luis

eva.perez@meteogalicia.es
MOHID Beginner
Posts: 16
Joined: Thu Jan 01, 1970 00:00

Postby eva.perez@meteogalicia.es » Mon Feb 11, 2008 07:42

Hi Luis,
Sorry about my bad explanation.
I have got MOHID outputs in hdf5 and I convert them to netcdf as you say. Now I want to convert them to hdf5 again.

Cheers,

Eva

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

Postby administrator@. » Mon Feb 11, 2008 09:26

Olá Eva,

Humm, I guess there's no specific tool for that for now...
Some time ago I've made a more or less generic code that converts netcdf files into HDF5, which has been adapted to create several modules included in Convert2HDF5 that convert netdcf to hdf5. It's not really generic because it had to be adapted for each specific source of date in netcdf.
One good example is the case of ModuleERA40Format.f90 or ModuleWOAFormat.f90 in the Convert2HDF5 project.
You can try to look at this 2 modules and adapt into what you need and then I can help you from there.

Best regards,
Luis

eva.perez@meteogalicia.es
MOHID Beginner
Posts: 16
Joined: Thu Jan 01, 1970 00:00

Postby eva.perez@meteogalicia.es » Tue Feb 12, 2008 08:18

Ok, I’ll try it.

Could you send me the Convert2netcdf compiled version? (I tried to compile the code following the instructions on the MOHID wiki but I got a lot of errors :cry: )

thanks a lot,

eva

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

Postby administrator@. » Wed Feb 13, 2008 11:04

Hi Eva,

Just sent it.
Cheers,
Luis

renanbribeiro@yahoo.com.br
MOHID User
Posts: 26
Joined: Thu Jan 01, 1970 00:00
Location: Universidade Santa Cecília - Santos, Brazil

Postby renanbribeiro@yahoo.com.br » Wed Jun 11, 2008 18:19

Hi Luis,

I have some data from NCEP in netCDF format and i would like to input it in a simulation.

Is this tool (netCDF to HDF5) available?

thanks,

Renan

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

Postby administrator@. » Tue Jul 22, 2008 11:35

Hi Renan,

The ConvertToHdf5 tool is capable of converting several formats (including netcdf) to HDF5. However, the NCEP reanalysis data format has not been included in this tool, but we can assist you to program a module to be included in the tool that can do this.

Regards,
Luis

renanbribeiro@yahoo.com.br
MOHID User
Posts: 26
Joined: Thu Jan 01, 1970 00:00
Location: Universidade Santa Cecília - Santos, Brazil

Postby renanbribeiro@yahoo.com.br » Fri Aug 01, 2008 11:59

Hi Luis,

I have no experience in MOHID programming, I am studying by my self about programming with fortran, but I don't know much things.
I would like to try programming this module with your assist.

How can I start?

Thanks,
Renan

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

Postby administrator@. » Fri Aug 01, 2008 13:12

Hi Renan,

You can start by trying to compile MOHID. The source code is distributed in the installation (see the MOHID installation folder).

You can see the compilation instructions in MOHID wiki.

After you do this I can send you more information on how to write the conversion tool using (and re-using) MOHID code.

Best regards,
Luis


Return to “MOHID Tools”

Who is online

Users browsing this forum: No registered users and 1 guest