<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=192.168.20.156&amp;*</id>
		<title>MohidWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=192.168.20.156&amp;*"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Special:Contributions/192.168.20.156"/>
		<updated>2026-04-04T20:02:23Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=AssimilationPreProcessor&amp;diff=36</id>
		<title>AssimilationPreProcessor</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=AssimilationPreProcessor&amp;diff=36"/>
				<updated>2008-10-03T12:14:10Z</updated>
		
		<summary type="html">&lt;p&gt;192.168.20.156: /* Input file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The application '''AssimilationPreProcessor''' performs the calculation of the covariance structure of data in MOHID format HDF5 files while performing EOF Analysis.&lt;br /&gt;
&lt;br /&gt;
Running options for this application are specified in an [[AssimilationPreProcessor#Input file|input file]] whose path is indicated in a [[nomfich.dat file]].&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
AssimilationPreProcessor calculates from fields in HDF5 files the covariance structure to be used as initial state error covariance in sequential data assimilation operations in MOHID Water.&lt;br /&gt;
&lt;br /&gt;
The fields to be analysed are specified through the definition of the state. The state is a set of variables which characterizes the system to be studied at a particular time instant. &lt;br /&gt;
&lt;br /&gt;
These variables can refer to several hydrodynamic and water properties and represent also several spatial locations (or cells) according to the horizontal and vertical grids defined in the HDF5 files. The spatial locations are specific for each property and therefore can be different according to property.&lt;br /&gt;
&lt;br /&gt;
The time instants contained in the input HDF5 files can be selected using a decimation process. This can be used to reduce computational costs of covariance generation and processing and also if subsequent time instants provide very similar data.&lt;br /&gt;
&lt;br /&gt;
Following the state definition the covariance matrix of the state is calculated. This matrix is then processed to be in a form (the covariance structure) suitable to be used in MOHID Water for the initialization of sequential assimilation processes.&lt;br /&gt;
&lt;br /&gt;
Currently, the covariance matrix is processed only only for SEEK filter sequential data assimilation operations. This calculation involves the performance of Empirical Orthogonal Functions (EOF) analysis, as suggested by Pham et al. (1998). Hence, AssimilationPreProcessor can also be used to analyse fields without further use in data assimilation.&lt;br /&gt;
&lt;br /&gt;
If state is composed of several properties with different magnitudes then EOFs can be dominated by the properties with larger magnitude, causing a lack of state variability representation. In this multivariate analysis it is convenient to normalize the states previous to covariance calculation. This is accomplished considering a normalization factor for each property (multiplied to the state value) calculated as the inverse of the average standard deviation of all variables of this property. This is a similar approach to the one of Hoteit (2001), which uses the inverse of the square root of the average of variances of each property.&lt;br /&gt;
&lt;br /&gt;
To reduce the computational costs involved in the EOF analysis the covariance matrix is calculated in the space of the time instants instead of the space of state variables. This implies a lower dimension of the matrix if the number of state variables is larger than the number of time instants considered for covariance calculation.&lt;br /&gt;
&lt;br /&gt;
The EOF Analysis is performed by eigenvalues and eigenvectors decomposition of the covariance matrix, using the power method. The obtained eigenvectors are multiplied by the square root of the respective eigenvalue to obtain the EOF in the time instants space. These are then used together with covariance matrix and eigenvalue to obtain the EOF expansion coefficient.&lt;br /&gt;
&lt;br /&gt;
Finally, the EOF in the time instants space is translated to the state variables space.&lt;br /&gt;
&lt;br /&gt;
Optionally, can be made the reconstruction of the state variables, at the several time instants, using the calculated EOFs and the average state.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''References:''&lt;br /&gt;
&lt;br /&gt;
Hoteit, I., 2001, ''Filtres de Kalman Reduits et Efficaces pour l'Assimilation de Données en Oceanographie'', Ph.D. thesis, Université de Joseph Fourrier - Grenoble I.&lt;br /&gt;
&lt;br /&gt;
Pham, D., J. Verron and M. Roubaud, 1998, &amp;quot;A singular evolutive extended Kalman filter for data assimilation in oceanography&amp;quot;, ''Journal of Marine Systems'', 16, pp. 323-340.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Typical use:'''&lt;br /&gt;
&lt;br /&gt;
Perform EOF analysis of spatial property fields usable for sequential data assimilation in MOHID Water.&lt;br /&gt;
&lt;br /&gt;
'''Data input requirements:'''&lt;br /&gt;
&lt;br /&gt;
One or more HDF5 files containing spatial fields of hydrodynamic and water properties.&lt;br /&gt;
&lt;br /&gt;
'''Ouput:'''&lt;br /&gt;
&lt;br /&gt;
One HDF5 file with results of EOF analysis (EOFs, eigenvalues, inertia) and the covariance structure, together with general statistics calculated in the processing (e.g. average, standard deviation).&lt;br /&gt;
&lt;br /&gt;
One TimeSeries file with the expansion coeficient is produced for each EOF calculated.&lt;br /&gt;
&lt;br /&gt;
When the state reconstruction is commanded a HDF5 file is produced with the fields used for EOF analysis reconstructed using only the calculated EOFs.&lt;br /&gt;
&lt;br /&gt;
==Input file==&lt;br /&gt;
&lt;br /&gt;
The name of the input file must be provided in the [[nomfich.dat file]] in use. &lt;br /&gt;
&lt;br /&gt;
 (block for each HDF5 file containing data to be analysed; may be several, block order is&lt;br /&gt;
 irrelevant)&lt;br /&gt;
 &amp;lt;BeginHDF5File&amp;gt;&lt;br /&gt;
 NAME                    : ... (path/name of HDF5 file with data to extract time series)&lt;br /&gt;
 &amp;lt;EndHDF5File&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 START_TIME              : ... (start time for data analysis: yyyy mm dd hh mm ss)&lt;br /&gt;
 END_TIME                : ... (end time for data analysis: yyyy mm dd hh mm ss)&lt;br /&gt;
 &lt;br /&gt;
 HDF5_MAP_ITEM           : ... (time independent map item name in HDF5 file)&lt;br /&gt;
 &lt;br /&gt;
 3D_HDF5                 : 0/1 (0 = 2D HDF5 files, 1 = 3D HDF5 files; 0 = default)&lt;br /&gt;
 &lt;br /&gt;
 METHOD                  : 1/... (sequential data assimilation method to which the covariance &lt;br /&gt;
                                  structure is intended; 1=SEEK; if the application is intended&lt;br /&gt;
                                  for EOF analysis then 1 should be chosen)&lt;br /&gt;
 &lt;br /&gt;
 NORMALIZATION           : 0/1 (0 = no normalization of state; 1 = normalization of state; 0 = &lt;br /&gt;
                                default)&lt;br /&gt;
 &lt;br /&gt;
 DECIMATION_FACTOR       : ... (interval in number of instants not to be considered in the&lt;br /&gt;
                                decimation process; 0 = no decimation; 0 = default) &lt;br /&gt;
 &lt;br /&gt;
 STATE_RECONSTRUCTION    : 0/1 (0 = no reconstruction of state with EOFs estimated; 1 = &lt;br /&gt;
                                reconstruction of state with EOFs estimated; 0 = default)&lt;br /&gt;
  &lt;br /&gt;
 MAX_BUFFER_SIZE         : ... (size in bytes of buffer for expansion coefficient time series;&lt;br /&gt;
                                100000 = default)&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME          : ... (path/name of output file (HDF5) with analysis results)&lt;br /&gt;
  &lt;br /&gt;
 (if METHOD : 1:)&lt;br /&gt;
 STATECOV_RANK           : ... (dimension of the covariance subspace; number of EOFs estimated&lt;br /&gt;
                                if METHOD : 1)&lt;br /&gt;
 &lt;br /&gt;
 (if STATE_RECONSTRUCTION : 1:)&lt;br /&gt;
 STATE_OUTPUTFILENAME    : ... (path/name of output file (HDF5) with reconstructed state)&lt;br /&gt;
 &lt;br /&gt;
 (block for each property/parameter which belongs to state definition, may be several)&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : ... (property name, according with MOHID V4)&lt;br /&gt;
 &lt;br /&gt;
 UNITS                   : ... (property units)&lt;br /&gt;
 &lt;br /&gt;
 DIMENSION               : 2D/3D (3D = default)&lt;br /&gt;
 &lt;br /&gt;
 HDF_GROUP               : ... (complete path in HDF5 file to parameter data, according with &lt;br /&gt;
                                MOHID V4)&lt;br /&gt;
 &lt;br /&gt;
 STATE_WINDOW            : ... ... ... ... ... ... (state spatial window limits: ILB (i lower-&lt;br /&gt;
                                                    left cell), JLB (j lower-left cell), IUB &lt;br /&gt;
                                                    (i upper-right cell), JUB (j upper-right&lt;br /&gt;
                                                    cell), KLB (lower layer), KUB (upper layer))&lt;br /&gt;
 &lt;br /&gt;
 TYPE_ZUV                : Z/U/V (type of horizontal grid: Z = cell center, U = cell U faces,&lt;br /&gt;
                                  V = cell V faces; Z = default) &lt;br /&gt;
 &lt;br /&gt;
 (if TYPE_ZUV : Z and (NAME : velocity U or NAME : velocity V) &lt;br /&gt;
 CONVERT_TO_FACES        : 0/1 (0 = not convert to horizontal faces grid; 1 = convert to faces&lt;br /&gt;
                                grid; 0 = default)&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ''Remarks:''&lt;br /&gt;
 &lt;br /&gt;
 - only METHOD : 1 (SEEK) is currently implemented; this should be the option to use in&lt;br /&gt;
   preprocessing for MOHID Water applications using SEEK and SFEK filters as sequential data&lt;br /&gt;
   assimilation methods;&lt;br /&gt;
 &lt;br /&gt;
 - if the application is used to perform EOF analysis then METHOD : 1 must be used;&lt;br /&gt;
 &lt;br /&gt;
 - in DECIMATION_FACTOR the value should be inserted according with the following example: if 1&lt;br /&gt;
   out of 6 time instants is to be considered then DECIMATION_FACTOR : 5 must be used;&lt;br /&gt;
 &lt;br /&gt;
 - if STATE_RECONSTRUCTION : 1 then state is reconstructed for the time instants considered in &lt;br /&gt;
   the analysis using the number of EOFs defined in STATECOV_RANK;&lt;br /&gt;
 &lt;br /&gt;
 - the order in which the property blocks appear in the input file is considered to the order&lt;br /&gt;
   in which the properties appear in state definition;&lt;br /&gt;
 &lt;br /&gt;
 - in TYPE_ZUV should be indicated the type of grid in which the property fields are available&lt;br /&gt;
   in input HDF5 files, which is usually Z; if input HDF5 files containing hydrodynamic&lt;br /&gt;
   properties are generated in MOHID Water simulations with the OUTPUT_FACES keyword selected&lt;br /&gt;
   in Hydrodynamic_#.dat file then U or V types can be selected;&lt;br /&gt;
 &lt;br /&gt;
 - if EOFs are intended to be produced to use in SEEK/SFEK filters initialization and velocity&lt;br /&gt;
   U/velocity V properties are considered for state definition then the properties must be&lt;br /&gt;
   specified in state definition as having type U or V grid: this can be made indicating in&lt;br /&gt;
   TYPE_ZUV if velocities are present in input HDF5 files in faces grids or if otherwise by&lt;br /&gt;
   selecting CONVERT_TO_FACES : 1.&lt;br /&gt;
&lt;br /&gt;
==Sample==&lt;br /&gt;
 &amp;lt;BeginHDF5File&amp;gt;&lt;br /&gt;
 NAME                    : Hydrodynamic_3.hdf5&lt;br /&gt;
 &amp;lt;EndHDF5File&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;BeginHDF5File&amp;gt;&lt;br /&gt;
 NAME                    : Hydrodynamic_4.hdf5&lt;br /&gt;
 &amp;lt;EndHDF5File&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;BeginHDF5File&amp;gt;&lt;br /&gt;
 NAME                    : Hydrodynamic_5.hdf5&lt;br /&gt;
 &amp;lt;EndHDF5File&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;BeginHDF5File&amp;gt;&lt;br /&gt;
 NAME                    : Hydrodynamic_6.hdf5&lt;br /&gt;
 &amp;lt;EndHDF5File&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 START_TIME              : 1972 11 1 0 0 0&lt;br /&gt;
 END_TIME                : 1972 11 10 0 0 0&lt;br /&gt;
 &lt;br /&gt;
 HDF5_MAP_ITEM           : WaterPoints3D&lt;br /&gt;
 &lt;br /&gt;
 3D_HDF5                 : 1&lt;br /&gt;
 &lt;br /&gt;
 METHOD                  : 1&lt;br /&gt;
 &lt;br /&gt;
 STATECOV_RANK           : 50&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME          : InitialCovWrongModel_Nov72Dez72_Sampling1h.hdf5&lt;br /&gt;
 &lt;br /&gt;
 NORMALIZATION           : 1&lt;br /&gt;
 &lt;br /&gt;
 DECIMATION_FACTOR       : 0&lt;br /&gt;
                          &lt;br /&gt;
 STATE_RECONSTRUCTION    : 1&lt;br /&gt;
 &lt;br /&gt;
 STATE_OUTPUTFILENAME    : RecStateWrongModel_Nov72Dez72_Sampling1h.hdf5&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : velocity U&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 &lt;br /&gt;
 HDF_GROUP               : /Results/FacesVelocityU&lt;br /&gt;
 &lt;br /&gt;
 STATE_WINDOW            : 1 162 1 162 1 1&lt;br /&gt;
 &lt;br /&gt;
 TYPE_ZUV                : U&lt;br /&gt;
 CONVERT_TO_FACES        : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : velocity V&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 &lt;br /&gt;
 HDF_GROUP               : /Results/FacesVelocityV&lt;br /&gt;
 &lt;br /&gt;
 STATE_WINDOW            : 1 162 1 162 1 1&lt;br /&gt;
 &lt;br /&gt;
 TYPE_ZUV                : V&lt;br /&gt;
 CONVERT_TO_FACES        : 0&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : water level&lt;br /&gt;
 UNITS                   : m&lt;br /&gt;
 DIMENSION               : 2D&lt;br /&gt;
 &lt;br /&gt;
 HDF_GROUP               : /Results/water level&lt;br /&gt;
 &lt;br /&gt;
 STATE_WINDOW            : 1 162 1 162&lt;br /&gt;
 &lt;br /&gt;
 TYPE_ZUV                : Z&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;/div&gt;</summary>
		<author><name>192.168.20.156</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=ConvertToHDF5&amp;diff=140</id>
		<title>ConvertToHDF5</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=ConvertToHDF5&amp;diff=140"/>
				<updated>2008-10-02T10:03:48Z</updated>
		
		<summary type="html">&lt;p&gt;192.168.20.156: /* INTERPOLATE GRIDS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The '''ConvertToHDF5''' is an application which allows the making of several operations, called '''actions''', involving HDF5 files: conversion of data in other formats (e.g. NETCDF) to HDF5, grid interpolation, concatenation of several files.&lt;br /&gt;
&lt;br /&gt;
Running options for this application are specified by the user in a input file named [[ConvertToHDF5#Input file (ConvertToHDF5Action.dat)|'''ConvertToHDF5Action.dat''']]. Several actions can be specified in the same input file, being processed sequentially by the ConvertToHDF5 application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
The operations involving HDF5 files performed by ConvertToHDF5, specified individually by an action, can be organized in [[#file management|file management]], [[#grid interpolation|grid interpolation]] and [[#format conversion|format conversion]]. These types and the respective actions are detailed in the next sections. &lt;br /&gt;
&lt;br /&gt;
The input file specification for each action can be found bellow in the [[#Input file (ConvertToHDF5Action.dat)|Input file (ConvertToHDF5Action.dat)]] section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===File management===&lt;br /&gt;
&lt;br /&gt;
====Glue files====&lt;br /&gt;
This action consists in joining or glue in a single HDF5 file two or more HDF5 files having the same HDF5 data groups and referring to time periods which come in sequence. Both sets of 2D and 3D HDF5 files can be glued.&lt;br /&gt;
&lt;br /&gt;
'''Typical use:'''&lt;br /&gt;
&lt;br /&gt;
Glue MOHID Water results files from several runs produced in continuous running of the model, for storage space economy reasons. Can be used to join data from other origins (e.g. results of meteorological models) as long as the HDF5 format is the one supported by MOHID Water.&lt;br /&gt;
&lt;br /&gt;
'''Data input requirements:'''&lt;br /&gt;
&lt;br /&gt;
HDF5 files to be glued. &amp;quot;Grid&amp;quot; and &amp;quot;Results&amp;quot; data groups should be equal in all these files.&lt;br /&gt;
&lt;br /&gt;
'''Output:'''&lt;br /&gt;
&lt;br /&gt;
HDF5 file with glued &amp;quot;Results&amp;quot; data. &amp;quot;Residual&amp;quot; and &amp;quot;Statistics&amp;quot; HDF5 data groups are not copied to the output file since they are time period specific (different values potentially occour in each file). General statistics can be calculated for the glued HDF5 file data using tool [[HDF5Statistics]].&lt;br /&gt;
&lt;br /&gt;
'''ConvertToHDF5 action:''' [[#GLUES HDF5 FILES|GLUES HDF5 FILES]].&lt;br /&gt;
&lt;br /&gt;
===Grid interpolation===&lt;br /&gt;
&lt;br /&gt;
====Interpolate files====&lt;br /&gt;
This action performs the conversion of one HDF5 file data existing in one 2D or 3D spatial grid to another 2D or 3D spatial grid, creating a new HDF5 file. The interpolation is performed only for the data located a time window specified by the user.&lt;br /&gt;
&lt;br /&gt;
The HDF5 file containing data to be interpolated is called the '''father file'''.&lt;br /&gt;
&lt;br /&gt;
In case of 3D interpolation the application conducts first the horizontal grid interpolation&lt;br /&gt;
(keeping father geometry) and only after it conducts the vertical interpolation (from father geometry to new geometry).&lt;br /&gt;
&lt;br /&gt;
Several types of 2D interpolation are available for use: bilinear, spline 2D and triangulation.&lt;br /&gt;
For vertical interpolation (used in 3D interpolation) can be supplied several polinomial degrees for interpolation.&lt;br /&gt;
&lt;br /&gt;
'''Typical use:'''&lt;br /&gt;
&lt;br /&gt;
Obtain an HDF5 file with data for forcing or providing initial conditions for a MOHID Water model, e.g. a meteorological forcing file.&lt;br /&gt;
&lt;br /&gt;
'''Data input requirements:'''&lt;br /&gt;
&lt;br /&gt;
For 2D/3D interpolation:&lt;br /&gt;
&lt;br /&gt;
- father HDF5 file;&lt;br /&gt;
&lt;br /&gt;
- father horizontal data grid, in a grid data file in the format supported by MOHID;&lt;br /&gt;
&lt;br /&gt;
- new horizontal data grid, in a grid data file in the format supported by MOHID;&lt;br /&gt;
&lt;br /&gt;
For 3D interpolation also needed:&lt;br /&gt;
&lt;br /&gt;
- father vertical geometry, in a geometry file in the format supported by MOHID;&lt;br /&gt;
&lt;br /&gt;
- new vertical geometry, in a geometry file in the format supported by MOHID;&lt;br /&gt;
&lt;br /&gt;
- auxiliary horizontal data grid, in a grid data file in the format supported by MOHID; this file is used for horizontal grid interpolation in 3D interpolation operations.&lt;br /&gt;
&lt;br /&gt;
'''Ouput:'''&lt;br /&gt;
&lt;br /&gt;
HDF5 file with interpolated data. In case of 3D interpolation also produced an auxiliary HDF5 file with the result of the horizontal grid interpolation, which can be inspected to check if this operation is well performed.&lt;br /&gt;
&lt;br /&gt;
'''ConvertToHDF5 action:''' [[#INTERPOLATE GRIDS|INTERPOLATE GRIDS]].&lt;br /&gt;
&lt;br /&gt;
====Patch files====&lt;br /&gt;
This action consists in performing an interpolation of HDF5 data between grids, as in action [[#Interpolate files|Interpolate files]], but considering more than one HDF5 file as containing data to be interpolated to the new grid and a priority scale. The interpolation is performed only for the data located in the time window specified by the user. The present version of this action operates only on 2D data.&lt;br /&gt;
&lt;br /&gt;
Each HDF5 file containing data to be interpolated is called a '''father file''' and has an user-attributed '''priority level''' to be respected in the interpolation process: for each new grid cell the ConvertToHDF5 application will look for data first on the Level 1 father file and only in the case this data is inexistent will it look for data in Level 2 file, proceeding in looking for higher level files if no data is found subsequentely.&lt;br /&gt;
&lt;br /&gt;
'''Typical use:'''&lt;br /&gt;
&lt;br /&gt;
To obtain an HDF5 file with data from several HDF5 files each containing data with different spatial resolution and only for a specific part of the new grid. This is, for instance, the case when one is preparing a best resolution meteorological HDF5 file for forcing MOHID Water from several meteorological model domains, having different spatial resolution and span, since the best resolution data is not available for all new grid cells.&lt;br /&gt;
&lt;br /&gt;
'''Data input requirements:'''&lt;br /&gt;
&lt;br /&gt;
The new horizontal data grid, in a grid data file in the format supported by MOHID, and for each father file:&lt;br /&gt;
&lt;br /&gt;
- level of priority: 1 = maximum priority, priority decreases with increasing level value;&lt;br /&gt;
&lt;br /&gt;
- data grid, in the form of a grid data file in the format supported by MOHID.&lt;br /&gt;
&lt;br /&gt;
'''Ouput:'''&lt;br /&gt;
&lt;br /&gt;
HDF5 file with patched data.&lt;br /&gt;
&lt;br /&gt;
'''ConvertToHDF5 action:''' [[#PATCH HDF5 FILES|PATCH HDF5 FILES]].&lt;br /&gt;
&lt;br /&gt;
===Format conversion===&lt;br /&gt;
&lt;br /&gt;
====Meteorological model data====&lt;br /&gt;
Mohid does not simulate explicitly the atmosphere, but needs information about atmospheric properties in time and space. This requires that atmospheric properties are supplied to MOHID Water in supported formats. These formats can be derived from meteorological data in HDF5 format. Because the results of meteorological models are accessed in different formats conversion is required. &lt;br /&gt;
&lt;br /&gt;
The formats currently convertible to HDF5 in ConvertToHDF5 include the MM5 and the ERA40. These are succintly detailed in the next sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====''ERA40''=====&lt;br /&gt;
This format refers to the European Centre for Medium-Range Weather Forecasts (ECMWF) 40 years re-analysises results, acessed by site http://data.ecmwf.int/data/d/era40_daily/. This data is available for several meteorological variables with maximum 6 hour periodicity for days in the period from 1957-09-01 to 2002-08-31. &lt;br /&gt;
&lt;br /&gt;
ERA40 data files are supplied by ECMWF in a NetCDF format and with an user-costumized time window, periodicity (time step range from 6 hours to a day) and meteorological properties set. The ERA40 meteorological properties which are recognized by MOHID are presented bellow together with the correspondent MOHID name: &lt;br /&gt;
&lt;br /&gt;
 ---ERA40 NAME---         ---MOHID NAME---&lt;br /&gt;
   sshf                     sensible heat                &lt;br /&gt;
   slhf                     latent heat                  &lt;br /&gt;
   msl                      atmospheric pressure &lt;br /&gt;
   tcc                      cloud cover &lt;br /&gt;
   p10u                     wind velocity X&lt;br /&gt;
   p10v                     wind velocity Y&lt;br /&gt;
   p2t                      air temperature&lt;br /&gt;
   ewss                     wind stress X&lt;br /&gt;
   nsss                     wind stress Y&lt;br /&gt;
&lt;br /&gt;
The standard ConvertToHDF5 action is to convert to HDF5 the data referring to all MOHID Water recognized property available in the ERA40 file, producing an individual HDF5 file for each property. The name of each HDF5 file generated includes the ERA40 meteorological property identificator correspondent to the data contained.&lt;br /&gt;
&lt;br /&gt;
Alternatively, ConvertToHDF5 can copy to a single ASCII file the heading information concerning each meteorological variable considered in the original ERA40 file.&lt;br /&gt;
&lt;br /&gt;
'''Typical use:'''&lt;br /&gt;
&lt;br /&gt;
Obtain an HDF5 file with data suitable for being used for forcing MOHID Water models.&lt;br /&gt;
&lt;br /&gt;
'''Data input requirements:'''&lt;br /&gt;
&lt;br /&gt;
ERA40 NetCDF file.&lt;br /&gt;
&lt;br /&gt;
'''Output:'''&lt;br /&gt;
&lt;br /&gt;
One HDF5 file for each meteorological property contained in the original NetCDF file.&lt;br /&gt;
&lt;br /&gt;
'''ConvertToHDF5 action:''' [[#CONVERT ERA40 FORMAT|CONVERT ERA40 FORMAT]].&lt;br /&gt;
&lt;br /&gt;
=====''MM5''=====&lt;br /&gt;
This format relates to the Fifth-Generation NCAR / Penn State Mesoscale Model (MM5) output files format. Almost every atmospheric property needed by MOHID Water is present in MM5 output files, enabling to run prediction simulations with MOHID Water when access to MM5 prevision files is available.&lt;br /&gt;
&lt;br /&gt;
The ConvertToHDF5 action converts MM5 results files from the original format to HDF5 format, allowing the easy use of these results in the MOHID framework. Conversion is only performed for the MM5 properties and the time window specified by the user.&lt;br /&gt;
&lt;br /&gt;
Besides the conversion, the application can calculate some properties not contained in&lt;br /&gt;
the MM5 files using the available information: these are windstress, relative humidity and precipitation.&lt;br /&gt;
&lt;br /&gt;
For conversion to be completed it is required the horizontal grid information of MM5 results which is available in special TERRAIN files.&lt;br /&gt;
&lt;br /&gt;
'''Typical use:'''&lt;br /&gt;
&lt;br /&gt;
Produce HDF5 meteorological data usable for forcing MOHID Water models.&lt;br /&gt;
&lt;br /&gt;
'''Data input requirements:'''&lt;br /&gt;
&lt;br /&gt;
MM5 results file to convert and MM5 TERRAIN file. The TERRAIN file supplies the MM5 results grid information. &lt;br /&gt;
&lt;br /&gt;
'''Ouput:'''&lt;br /&gt;
&lt;br /&gt;
An HDF5 file with MM5 results and a grid data file in MOHID format with the MM5 grid information.&lt;br /&gt;
This last file can be used to interpolate the MM5 data from the original grid to a new grid (see [[#Interpolate files|Interpolate files]]), for instance to produce an HDF5 file suitable for forcing MOHID Water models.&lt;br /&gt;
&lt;br /&gt;
'''Compilation:'''&lt;br /&gt;
&lt;br /&gt;
Caution! The ConvertToHDF5 executable must be compiled with the [[Big-endian little-endian|Big-Endian]] option set (see compatibility in the project's settings).&lt;br /&gt;
&lt;br /&gt;
'''ConvertToHDF5 action:''' [[#CONVERT MM5 FORMAT|CONVERT MM5 FORMAT]].&lt;br /&gt;
&lt;br /&gt;
=====''Aladin''=====&lt;br /&gt;
This format relates to Aladin meteorological model results. Some of the atmospheric property needed by MOHID Water is present in Aladin output files, enabling to run prediction simulations with MOHID Water when access to Aladin prevision files is available.&lt;br /&gt;
&lt;br /&gt;
The ConvertToHDF5 action converts Aladin results files from the original format to HDF5 format, allowing the easy use of these results in the MOHID framework. Conversion is only performed for the MM5 properties and the time window specified by the user.&lt;br /&gt;
&lt;br /&gt;
'''Typical use:'''&lt;br /&gt;
&lt;br /&gt;
Produce HDF5 meteorological data usable for forcing MOHID Water models.&lt;br /&gt;
&lt;br /&gt;
'''Data input requirements:'''&lt;br /&gt;
&lt;br /&gt;
Aladin netcdf results file to convert.&lt;br /&gt;
&lt;br /&gt;
'''Ouput:'''&lt;br /&gt;
&lt;br /&gt;
An HDF5 file with Aladin results and a grid data file in MOHID format with the Aladin grid pseudo-information: a fake orography is created of 100 m depth.&lt;br /&gt;
This last file can be used to interpolate the Aladin data from the original grid to a new grid (see [[#Interpolate files|Interpolate files]]), for instance to produce an HDF5 file suitable for forcing MOHID Water models.&lt;br /&gt;
&lt;br /&gt;
'''Compilation:'''&lt;br /&gt;
&lt;br /&gt;
Caution! The ConvertToHDF5 executable must be compiled with the [[Big-endian little-endian|Big-Endian]] option set (see compatibility in the project's settings).&lt;br /&gt;
&lt;br /&gt;
'''ConvertToHDF5 action:''' [[#CONVERT ALADIN FORMAT|CONVERT ALADIN FORMAT]].&lt;br /&gt;
&lt;br /&gt;
====Ocean model data====&lt;br /&gt;
Ocean model data, available in diverse formats, can be used by MOHID Water to specify boundary (open ocean boundary and surface), initial conditions or for validation. These uses require that the model data is in HDF5 format and conversion is therefore needed.&lt;br /&gt;
&lt;br /&gt;
Currently the large scale ocean models formats convertible into HDF5 by ConvertToHDF5 includes MERCATOR.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====''MERCATOR''=====&lt;br /&gt;
MERCATOR data files are supplied in a NetCDF format and with an user-costumized spatial window and periodicity. Water level and water properties (temperature and salinity) data is available in type T files, velocity component u data is available in type U files and velocity component v data is available in type V files. The type of data of a specific MERCATOR file is generally indicated in the file name.&lt;br /&gt;
&lt;br /&gt;
The standard ConvertToHDF5 action is to convert to HDF5 the data referring to temperature, salinity, water level, component u of velocity and component v of velocity.&lt;br /&gt;
&lt;br /&gt;
'''Typical use:'''&lt;br /&gt;
&lt;br /&gt;
Obtain HDF5 MERCATOR data usable for forcing or validation of MOHID Water models.&lt;br /&gt;
&lt;br /&gt;
'''Data input requirements:'''&lt;br /&gt;
&lt;br /&gt;
NetCDF MERCATOR results data files and NetCDF MERCATOR grid data files. It should be provided one grid data file of each type: T, U and V. These are generally provided by the MERCATOR services together with the results files.&lt;br /&gt;
&lt;br /&gt;
'''Ouput:'''&lt;br /&gt;
&lt;br /&gt;
One HDF5 file containing all properties contained in the recognized set of properties (temperature, salinity, water level, velocity u and velocity v) and the correspondent grid data and geometry files, containing respectively the horizontal grid and the vertical discretization of the HDF5 file. The grid data and geometry files can be used afterwards to interpolate the MERCATOR data to another grid and geometry (see [[#Interpolate files|Interpolate files]]).&lt;br /&gt;
&lt;br /&gt;
'''ConvertToHDF5 action:''' [[#CONVERT MERCATOR FORMAT|CONVERT MERCATOR FORMAT]].&lt;br /&gt;
&lt;br /&gt;
====Climatological data====&lt;br /&gt;
Climatological data can be used in MOHID Water to specify boundary (open ocean boundary and surface), initial conditions or for validation, in case more realistic data (measurements or model) data is unavailable. This data is generally supplied by producers in formats not readly usable by MOHID Water which justifies the existence of a conversion tool.&lt;br /&gt;
&lt;br /&gt;
Two climatological data format conversions are implemented in ConvertToHDF5: Levitus ocean data and Hellerman Rosenstein meteorological data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====''Levitus''=====&lt;br /&gt;
The Levitus climatology provides results for water temperature and salinity.&lt;br /&gt;
The ConvertToHDF5 action converts the climatological data for the properties and spatial window requested by the user. &lt;br /&gt;
Typically, it requires 3 steps to complete the task:&lt;br /&gt;
&lt;br /&gt;
- convert levitus format &lt;br /&gt;
&lt;br /&gt;
- extrapolate the data to the whole levitus domain(required to avoid uncoincidental coastlines) &lt;br /&gt;
&lt;br /&gt;
- interpolate with the model grid(bathymetry)&lt;br /&gt;
&lt;br /&gt;
'''Typical use:'''&lt;br /&gt;
&lt;br /&gt;
Obtain climatological data in HDF5 format to use as boundary forcing and/or initial condition specification in MOHID Water models.&lt;br /&gt;
&lt;br /&gt;
'''Data input requirements:'''&lt;br /&gt;
&lt;br /&gt;
Levitus climatological data files, one per property and per time period (e.g a month).&lt;br /&gt;
&lt;br /&gt;
'''Ouput:'''&lt;br /&gt;
&lt;br /&gt;
HDF5 file with Levitus climatological data, grid data file with the horizontal&lt;br /&gt;
grid of the data and a geometry file with vertical discretization of the data (MOHID formats).&lt;br /&gt;
The grid data and the geometry files can be used to interpolate the climatological data from the original grid to a new grid (see [[#Interpolate files|Interpolate files]]).&lt;br /&gt;
&lt;br /&gt;
'''ConvertToHDF5 action:''' [[#CONVERT LEVITUS FORMAT|CONVERT LEVITUS FORMAT]].&lt;br /&gt;
&lt;br /&gt;
=====''Hellerman Rosenstein''=====&lt;br /&gt;
This is a meteorological climatology providing wind stress. There is a file per wind stress component. Since the data refer to surface values it is a 2D field.&lt;br /&gt;
&lt;br /&gt;
The ConvertToHDF5 action converts the climatological data for the properties and spatial window provided by the user.&lt;br /&gt;
&lt;br /&gt;
'''Typical use:'''&lt;br /&gt;
&lt;br /&gt;
Obtain climatological data in HDF5 format to use as meteorological forcing in MOHID Water models.&lt;br /&gt;
&lt;br /&gt;
'''Data input requirements:'''&lt;br /&gt;
&lt;br /&gt;
Hellerman Rosenstein climatological data ASCII files, one per wind stress component.&lt;br /&gt;
&lt;br /&gt;
'''Ouput:'''&lt;br /&gt;
&lt;br /&gt;
HDF5 file with Hellerman Rosenstein climatological data and grid data file with the horizontal&lt;br /&gt;
grid of the climatological data. This grid data file can be used to interpolate the climatological data from the original horizontal grid to a new grid (see [[#Interpolate files|Interpolate files]]).&lt;br /&gt;
&lt;br /&gt;
'''ConvertToHDF5 action:''' [[#CONVERT HELLERMAN ROSENSTEIN ASCII|CONVERT HELLERMAN ROSENSTEIN ASCII]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====''World Ocean Atlas 2005''=====&lt;br /&gt;
The World Ocean Atlas (WOA) 2005 climatology provides results for water temperature, salinity and several water quality and biology properties.&lt;br /&gt;
&lt;br /&gt;
Description, Action and Input Files are described in a separate page: [[ConvertToHDF5 WOA2005]].&lt;br /&gt;
&lt;br /&gt;
==Input file (ConvertToHDF5Action.dat)==&lt;br /&gt;
===General structure===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt; (block containing instructions for running a specific action) &lt;br /&gt;
 ACTION                    : ... (intended action)&lt;br /&gt;
 ... (action specific instructions)&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : ...&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GLUES HDF5 FILES===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : GLUES HDF5 FILES&lt;br /&gt;
 &lt;br /&gt;
 3D_FILE                   : 0/1 (0 = 2D file, 1 = 3D file)&lt;br /&gt;
 &lt;br /&gt;
 TIME_GROUP                : ... (Default=&amp;quot;Time&amp;quot;. Other option: &amp;quot;SurfaceTime&amp;quot;.)&lt;br /&gt;
 &lt;br /&gt;
 BASE_GROUP                : ... (Default=&amp;quot;Results&amp;quot;. Other options: &amp;quot;Residual&amp;quot;, &amp;quot;SurfaceResults&amp;quot;.)&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME            : ... (path/name of HDF5 file to be created)&lt;br /&gt;
 &lt;br /&gt;
 (block of HDF5 data files)&lt;br /&gt;
 &amp;lt;&amp;lt;begin_list&amp;gt;&amp;gt;&lt;br /&gt;
 ... (path/name of HDF5 file with data to be included in glue, one per line, at least two files)&lt;br /&gt;
 ...                      &lt;br /&gt;
 &amp;lt;&amp;lt;end_list&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===INTERPOLATE GRIDS===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : INTERPOLATE GRIDS&lt;br /&gt;
 &lt;br /&gt;
 TYPE_OF_INTERPOLATION     : ... (type of horizontal interpolation: 1 = Bilinear, 2 = Spline2D,&lt;br /&gt;
                                  3 = Triangulation)&lt;br /&gt;
 &lt;br /&gt;
 INTERPOLATION_WINDOW      : ... ... ... ... (2D spatial window to consider for interpolation: &lt;br /&gt;
                                              Xmin Ymin Xmax Ymax; default = all domain)&lt;br /&gt;
 &lt;br /&gt;
 START                     : ... (start date for output file: yyyy mm dd hh mm ss)&lt;br /&gt;
 END                       : ... (end date for output file: yyyy mm dd hh mm ss)&lt;br /&gt;
 &lt;br /&gt;
 INTERPOLATION3D           : 0/1 (0 = 2D interpolation, 1 = 3D interpolation)&lt;br /&gt;
 &lt;br /&gt;
 FATHER_FILENAME           : ... (path/name of input HDF5 file with data to be interpolated)&lt;br /&gt;
 FATHER_GRID_FILENAME      : ... (path/name of input grid data file with horizontal&lt;br /&gt;
                                  discretization of input HDF5 file)&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME            : ... (path/name of output HDF5 file to be created)&lt;br /&gt;
 NEW_GRID_FILENAME         : ... (path/name of input grid data file with horizontal&lt;br /&gt;
                                  discretization intended for output HDF5 file)&lt;br /&gt;
 &lt;br /&gt;
 EXTRAPOLATE_2D            : 0/1/2/3/4/5 (2D extrapolation: 0=no extrapolation, 1=medium&lt;br /&gt;
                                      triangulation, 2=high triangulation, &lt;br /&gt;
                                      3=nearest neighbour, 4=nearest cell, &lt;br /&gt;
                                      5=constant value)&lt;br /&gt;
 &lt;br /&gt;
 EXTRAPOLATE_VALUE         : ... (name of the value to extrapolate to when EXTRAPOLATE_2D is&lt;br /&gt;
                                  set to constant value (5))&lt;br /&gt;
 &lt;br /&gt;
 DO_NOT_BELIEVE_MAP        : 0/1 (0=consider input HDF5 file map, 1=do not consider input HDF5&lt;br /&gt;
                                  file map)&lt;br /&gt;
 &lt;br /&gt;
 BASE_GROUP                : ... (name of base group of HDF5 variables containing data to be &lt;br /&gt;
                                  interpolated; default is &amp;quot;/Results&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 (if INTERPOLATION3D : 1 also required:)&lt;br /&gt;
 FATHER_GEOMETRY           : ... (path/name of file (MOHID format) with vertical discretization&lt;br /&gt;
                                  of input HDF5 file)&lt;br /&gt;
 NEW_GEOMETRY              : ... (path/name of file (MOHID format) with vertical discretization&lt;br /&gt;
                                  intended for output HDF5 file)&lt;br /&gt;
 POLI_DEGREE               : 1/... (degree of vertical interpolation: 1=linear, ...)&lt;br /&gt;
 &lt;br /&gt;
 AUX_GRID_FILENAME         : ... (path/name of input grid data file with horizontal&lt;br /&gt;
                                  discretization intended for auxiliar output HDF5 file;&lt;br /&gt;
                                  default is file provided in NEW_GRID_FILENAME)&lt;br /&gt;
 &lt;br /&gt;
 AUX_OUTPUTFILENAME        : ... (path/name of auxiliar output HDF5 file to contain result&lt;br /&gt;
                                  of horizontal grid interpolation)   &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ''Remarks:''&lt;br /&gt;
 &lt;br /&gt;
 - the file indicated in AUX_GRID_FILENAME can be different from the one indicated in&lt;br /&gt;
   NEW_GRID_FILENAME in terms of bathymetry, while the horizontal grid should be, commonly, the&lt;br /&gt;
   same: this altered bathymetry can be used to extend the water column in the original data so&lt;br /&gt;
   that the process of vertical interpolation is done easily;&lt;br /&gt;
 &lt;br /&gt;
 - in case of INTERPOLATION3D : 1, ConvertToHDF5 can generate new versions of bathymetry which &lt;br /&gt;
   are consistent with the geometry definition (extension is '.new'); there are possibly three&lt;br /&gt;
   bathymetry changes referring to father grid, new grid and aux grid (the same bathymetry is&lt;br /&gt;
   not altered twice); although initially new and aux grid are the same they can result &lt;br /&gt;
   different because of bathymetry changes;&lt;br /&gt;
 &lt;br /&gt;
 - in case the new geometry is 2D and father geometry is 3D then POLI_DEGREE : 1 &lt;br /&gt;
   (linear interpolation) should be used;&lt;br /&gt;
 &lt;br /&gt;
 - EXTRAPOLATE_2D : 1/2/3/4/5 should be considered if it is expected that the coast line is not&lt;br /&gt;
   coincidental in the father and new grids, to avoid lack of data in the interpolation&lt;br /&gt;
   process; extrapolation is performed for all cells even the land cells; &lt;br /&gt;
 &lt;br /&gt;
 - in case of DO_NOT_BELIEVE_MAP : 1 the application generates a map based on cells where&lt;br /&gt;
   interpolation results are available; this causes that if EXTRAPOLATE_2D : 1/2/3/4/5 is used&lt;br /&gt;
   the AUX_GRID_FILENAME should not have land cells in order for the new map to be concurrent&lt;br /&gt;
   with the result of extrapolation and avoid errors generation, specially if INTERPOLATION3D :&lt;br /&gt;
   1 is considered.&lt;br /&gt;
&lt;br /&gt;
===PATCH HDF5 FILES===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : PATCH HDF5 FILES&lt;br /&gt;
 &lt;br /&gt;
 TYPE_OF_INTERPOLATION     : ... (type of interpolation: 3 = Triangulation, default and only&lt;br /&gt;
                                  one implemented)&lt;br /&gt;
 &lt;br /&gt;
 START                     : ... (start date for output file: yyyy mm dd hh mm ss)&lt;br /&gt;
 END                       : ... (end date for output file: yyyy mm dd hh mm ss)&lt;br /&gt;
 &lt;br /&gt;
 (block for each father HDF5 file, should be at least two)&lt;br /&gt;
 &amp;lt;&amp;lt;begin_father&amp;gt;&amp;gt;&lt;br /&gt;
 LEVEL                     : ... (integer priority level: 1 = highest, increase for lower&lt;br /&gt;
                                  priority)&lt;br /&gt;
 FATHER_FILENAME           : ... (path/name of input HDF5 file with data to be interpolated)&lt;br /&gt;
 FATHER_GRID_FILENAME      : ... (path/name of input grid data file with horizontal&lt;br /&gt;
                                  discretization of input HDF5 file)&lt;br /&gt;
 &amp;lt;&amp;lt;end_father&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME            : ... (path/name of output HDF5 file to be created)&lt;br /&gt;
 NEW_GRID_FILENAME         : ... (path/name of input grid data file with horizontal&lt;br /&gt;
                                  discretization intended for output HDF5 file)&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CONVERT ERA40 FORMAT===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : CONVERT ERA40 FORMAT&lt;br /&gt;
 &lt;br /&gt;
 FILENAME                  : ... (path/name of ERA40 NetCDF file)&lt;br /&gt;
 OUTPUTFILENAME            : ... (path/name of HDF5 file to be created)&lt;br /&gt;
                                 (root of name for all files produced)&lt;br /&gt;
 &lt;br /&gt;
 CONVERT_TO_ASCII          : 0/1 (1 = convert variable heading info for ASCII file; 0 = default)&lt;br /&gt;
 CONVERT_TO_HDF5           : 0/1 (1 = convert to HDF5 file; 0 = default)&lt;br /&gt;
 GRIDTO180                 : 0/1 (1 = convert grid from [0 360] to [-180 180], 0 = default)&lt;br /&gt;
 &lt;br /&gt;
 XX_VARIABLE               : ... (name of longitude variable in the input file: usual name &lt;br /&gt;
                                  is &amp;quot;longitude&amp;quot;)&lt;br /&gt;
 YY_VARIABLE               : ... (name of longitude variable in the input file: usual name &lt;br /&gt;
                                  is &amp;quot;latitude&amp;quot;)&lt;br /&gt;
 TIME_VARIABLE             : ... (name of time variable in the input file: usual name is&lt;br /&gt;
                                  &amp;quot;time&amp;quot;)&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ''Remarks:''&lt;br /&gt;
 &lt;br /&gt;
 - either CONVERT_TO_ASCII : 1 or CONVERT_TO_HDF5 : 1 must be chosen for any action to be&lt;br /&gt;
 performed by ConvertToHDF5;&lt;br /&gt;
 &lt;br /&gt;
 - when CONVERT_TO_HDF5 : 1 an HDF5 file is produced for every variable contained in the&lt;br /&gt;
 original ERA40 file; the name of each file is composed of the name indicated on FILENAME&lt;br /&gt;
 concatenated with the ERA40 variable identifier;&lt;br /&gt;
 &lt;br /&gt;
 - to the XX_VARIABLE, YY_VARIABLE and TIME_VARIABLE keywords should generally be  &lt;br /&gt;
 specified &amp;quot;longitude&amp;quot;, &amp;quot;latitude&amp;quot; and &amp;quot;time&amp;quot;, respectively; the option to&lt;br /&gt;
 include as keywords was made only to make the application robust to future variable name&lt;br /&gt;
 changes.&lt;br /&gt;
&lt;br /&gt;
===CONVERT MM5 FORMAT===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : CONVERT MM5 FORMAT&lt;br /&gt;
 &lt;br /&gt;
 FILENAME                  : ... (path/name of MM5 file)&lt;br /&gt;
 TERRAIN_FILENAME          : ... (path/name of MM5 TERRAIN file)&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME            : ... (path/name of HDF5 file to be created)&lt;br /&gt;
 OUTPUT_GRID_FILENAME      : ... (path/name of grid data file with horizontal grid of MM5 data&lt;br /&gt;
                                  to be created)&lt;br /&gt;
 &lt;br /&gt;
 COMPUTE_WINDSTRESS        : 0/1 (1 = compute and write wind stress field; 0 = default)&lt;br /&gt;
 COMPUTE_RELATIVE_HUMIDITY : 0/1 (1 = compute and write relative humidity field; 0 = default)&lt;br /&gt;
 COMPUTE_PRECIPITATION     : 0/1 (1 = compute and write precipitation field; 0 = default)&lt;br /&gt;
 COMPUTE_WINDMODULUS       : 0/1 (1 = compute wind modulus; 0 = default)&lt;br /&gt;
 &lt;br /&gt;
 WRITE_XYZ                 : 0/1 (1 = write xyz center grid cells; 0 = default)&lt;br /&gt;
 WRITE_TERRAIN             : 0/1 (1 = write MM5 TERRAIN fields; 0 = default)&lt;br /&gt;
 &lt;br /&gt;
 START                     : ... (start date for output file: yyyy mm dd hh mm ss)&lt;br /&gt;
 END                       : ... (end date for output file: yyyy mm dd hh mm ss)&lt;br /&gt;
  &lt;br /&gt;
 (block of MM5 properties to convert)&lt;br /&gt;
 &amp;lt;&amp;lt;BeginFields&amp;gt;&amp;gt;&lt;br /&gt;
 ... (name of MM5 property to convert do HDF5 format, one per line)&lt;br /&gt;
 ... &lt;br /&gt;
 &amp;lt;&amp;lt;EndFields&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Remarks:''&lt;br /&gt;
 &lt;br /&gt;
- the name of each MM5 property to convert in &amp;lt;&amp;lt;BeginFields&amp;gt;&amp;gt;...&amp;lt;&amp;lt;EndFields&amp;gt;&amp;gt; block must&lt;br /&gt;
conform to the MOHID designation specified in code of ModuleGlobalData; the correspondence is &lt;br /&gt;
the following (see [[Module_InterfaceWaterAir]] for a more detailed explanation).&lt;br /&gt;
 &lt;br /&gt;
           ---MM5 NAME---    ---MOHID NAME---&lt;br /&gt;
             T2             air temperature&lt;br /&gt;
             PSTARCRS       atmospheric pressure&lt;br /&gt;
             U10            wind velocity X&lt;br /&gt;
             V10            wind velocity Y&lt;br /&gt;
             UST            wind shear velocity&lt;br /&gt;
             LHFLUX         latent heat&lt;br /&gt;
             SWDOWN         sensible heat&lt;br /&gt;
             SWDOWN         solar radiation&lt;br /&gt;
             LWDOWN         infrared radiation&lt;br /&gt;
             SWOUT          top outgoing shortwave radiation&lt;br /&gt;
             LWOUT          top outgoing longwave radiation&lt;br /&gt;
             SOIL T 1       soil temperature layer 1&lt;br /&gt;
             SOIL T 1       soil temperature layer 2&lt;br /&gt;
             SOIL T 1       soil temperature layer 3&lt;br /&gt;
             SOIL T 1       soil temperature layer 4&lt;br /&gt;
             SOIL T 1       soil temperature layer 5&lt;br /&gt;
             SOIL T 1       soil temperature layer 6&lt;br /&gt;
             Q2             2-meter mixing ratio&lt;br /&gt;
             TSEASFC        sea water temperature&lt;br /&gt;
             PBL HGT        PBL height&lt;br /&gt;
             PBL REGIME     PBL regime&lt;br /&gt;
             RAIN CON       accumulated convective precipitation        (cm)&lt;br /&gt;
             RAIN NON       accumulated non-convective precipitation    (cm)&lt;br /&gt;
             GROUND T       ground temperature&lt;br /&gt;
             RES TEMP       infinite reservoir slab temperature&lt;br /&gt;
             U              wind velocity X_3D&lt;br /&gt;
             V              wind velocity Y_3D&lt;br /&gt;
             W              wind velocity Z_3D&lt;br /&gt;
             T              air temperature_3D&lt;br /&gt;
             PP             atmospheric pressure_3D&lt;br /&gt;
             Q              mixing ratio_3D&lt;br /&gt;
             CLW            cloud water mixing ratio_3D&lt;br /&gt;
             RNW            rain water mixing ratio_3D&lt;br /&gt;
             ICE            cloud ice mixing ratio_3D&lt;br /&gt;
             SNOW           snow mixing ratio_3D&lt;br /&gt;
             RAD TEND       atmospheric radiation tendency_3D&lt;br /&gt;
&lt;br /&gt;
===CONVERT ALADIN FORMAT===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : CONVERT ALADIN FORMAT&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME            : aladin.hdf5&lt;br /&gt;
 OUTPUT_GRID_FILENAME      : aladin_griddata.dat&lt;br /&gt;
 &lt;br /&gt;
 !Put here the name of any netcdf file for grid-data generation's sake.&lt;br /&gt;
 INPUT_GRID_FILENAME      :   D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_BULKCLOUD_OPASYMP_19723_20088.nc&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 (path to aladin netcdf file)\ALADIN_BULKIR_OPASYMP_19723_20088.nc&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ''Remarks:''&lt;br /&gt;
 &lt;br /&gt;
 - the name of each Aladin property to convert in &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;...&amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt; block must conform to the following variables&lt;br /&gt;
 &lt;br /&gt;
           ---ALADIN NAME---    ---MOHID NAME---&lt;br /&gt;
             soclotot            CloudCover_&lt;br /&gt;
             sohumrel            RelativeHumidity_&lt;br /&gt;
             sofluxir            NonSolarFlux_&lt;br /&gt;
             sosspres            AtmosphericPressure_&lt;br /&gt;
             sosolarf            SolarRadiation_&lt;br /&gt;
             sotemair            AirTemperature_&lt;br /&gt;
             sowinmod            WindModulus_&lt;br /&gt;
             sowaprec            Precipitation_&lt;br /&gt;
             sozotaux            WindStressX_&lt;br /&gt;
             sometauy            WindStressY_&lt;br /&gt;
             sowindu10           WindVelocityX_&lt;br /&gt;
             sowindv10           WindVelocityY_&lt;br /&gt;
&lt;br /&gt;
===CONVERT MERCATOR FORMAT===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : CONVERT MERCATOR FORMAT&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME            : ... (path/name of HDF5 file to be created)&lt;br /&gt;
 OUTPUT_GRID_FILENAME      : ... (path/name of grid data with horizontal discretization to be&lt;br /&gt;
                                  created)&lt;br /&gt;
 OUTPUT_GEOMETRY_FILENAME  : ... (path/name of geometry file with vertical discretization to be&lt;br /&gt;
                                  created)&lt;br /&gt;
 &lt;br /&gt;
 INPUT_GRID_FILENAME       : ... (path/name of file with horizontal discretization of water&lt;br /&gt;
                                  properties and water level data)&lt;br /&gt;
 INPUT_GRID_FILENAME_U     : ... (path/name of file with horizontal discretization of velocity&lt;br /&gt;
                                  component U data)&lt;br /&gt;
 INPUT_GRID_FILENAME_V     : ... (path/name of file with horizontal discretization of velocity&lt;br /&gt;
                                  component V data)&lt;br /&gt;
  &lt;br /&gt;
 (block of MERCATOR data files)&lt;br /&gt;
 &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 ... (path/name of MERCATOR NetCDF data file, one per line, can be several)&lt;br /&gt;
 ... &lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CONVERT LEVITUS FORMAT===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : CONVERT LEVITUS FORMAT&lt;br /&gt;
  &lt;br /&gt;
 OUTPUTFILENAME            : ... (path/name of HDF5 file to be created)&lt;br /&gt;
 OUTPUT_GRID_FILENAME      : ... (path/name of grid data with horizontal discretization to be&lt;br /&gt;
                                  created)&lt;br /&gt;
 OUTPUT_GEOMETRY_FILENAME  : ... (path/name of geometry file with vertical discretization to be&lt;br /&gt;
                                  created)&lt;br /&gt;
 &lt;br /&gt;
 PERIODICITY               : ... (periodicity of Levitus data: &amp;quot;monthly&amp;quot;/&amp;quot;annual&amp;quot;; default is&lt;br /&gt;
                                  &amp;quot;monthly&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 SPATIAL_RESOLUTION        : ... (spatial resolution (degrees) of horizontal Levitus grid)&lt;br /&gt;
 &lt;br /&gt;
 FILL_VALUE                : ... (real value identificator for missing data; default is &lt;br /&gt;
                                  &amp;quot;-99.999900&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 (definition of spatial window to be present in output HDF5 file)&lt;br /&gt;
 LOWER_LEFT_CORNER         : ... ... (longitude and latitude (degrees) of south west corner)&lt;br /&gt;
 UPPER_RIGHT_CORNER        : ... ... (longitude and latitude (degrees) of north east corner)&lt;br /&gt;
 &lt;br /&gt;
 (block for each water property to be present in output HDF5 file, can be several)&lt;br /&gt;
 &amp;lt;&amp;lt;beginfield&amp;gt;&amp;gt;&lt;br /&gt;
 NAME                      : ... (name of property)&lt;br /&gt;
 ANNUAL_FILE               : ... (path/name of Levitus annual file)&lt;br /&gt;
 &lt;br /&gt;
 (block of Levitus data files)&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 ... (path/name of Levitus data file (e.g. a monthly data file), one per line, can be several)&lt;br /&gt;
 ... &lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;endfield&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CONVERT HELLERMAN ROSENSTEIN ASCII===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : CONVERT HELLERMAN ROSENSTEIN ASCII&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME            : ... (path/name of HDF5 file to be created)&lt;br /&gt;
 OUTPUT_GRID_FILENAME      : ... (path/name of grid data with horizontal discretization to be&lt;br /&gt;
                                  created)&lt;br /&gt;
  &lt;br /&gt;
 PERIODICITY               : ... (periodicity of Hellerman Rosenstein data: &amp;quot;monthly&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 SPATIAL_RESOLUTION        : ... (spatial resolution (degrees) of horizontal Hellerman&lt;br /&gt;
                                  Rosenstein grid: default and only allowed value is &amp;quot;2.&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 FILL_VALUE                : ... (real value identificator for missing data; default is &lt;br /&gt;
                                  &amp;quot;-99.999900&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 (definition of spatial window to be present in output HDF5 file)&lt;br /&gt;
 LOWER_LEFT_CORNER         : ... ... (longitude and latitude (degrees) of south west corner)&lt;br /&gt;
 UPPER_RIGHT_CORNER        : ... ... (longitude and latitude (degrees) of north east corner)&lt;br /&gt;
   &lt;br /&gt;
 (block for each Hellerman Rosenstein data file)&lt;br /&gt;
 &amp;lt;&amp;lt;beginfield&amp;gt;&amp;gt;&lt;br /&gt;
 NAME                      : ... (name of property: &amp;quot;wind stress X&amp;quot;/&amp;quot;wind stress Y&amp;quot;)&lt;br /&gt;
 FILE                      : ... (path/name Hellerman Rosenstein file)&lt;br /&gt;
 &amp;lt;&amp;lt;endfield&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Samples==&lt;br /&gt;
All sample files are named ''ConvertToHDF5Action.dat''.&lt;br /&gt;
&lt;br /&gt;
===Glue several MOHID(.hdf5) files===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                   : GLUES HDF5 FILES&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME           : SurfaceHydro_OP.hdf5&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;&amp;lt;begin_list&amp;gt;&amp;gt;&lt;br /&gt;
 D:\Projectos\SurfaceHydrodynamic_21.hdf5&lt;br /&gt;
 D:\Projectos\SurfaceHydrodynamic_22.hdf5&lt;br /&gt;
 &amp;lt;&amp;lt;end_list&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Interpolate 2D MOHID(.hdf5) files to a new grid===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION : INTERPOLATE GRIDS&lt;br /&gt;
 &lt;br /&gt;
 TYPE_OF_INTERPOLATION    : 1&lt;br /&gt;
 FATHER_FILENAME          : D:\Projectos\MohidRun\test\res\Lagrangian_1.hdf5 &lt;br /&gt;
 OUTPUTFILENAME           : OilSpillThickness_GridRegular.hdf5&lt;br /&gt;
  &lt;br /&gt;
 START                    : 2006 6 21 17 22 30&lt;br /&gt;
 END                      : 2006 6 22 17 22 0&lt;br /&gt;
  &lt;br /&gt;
 FATHER_GRID_FILENAME     : D:\Projectos\MohidRun\GeneralData\batim\Tagus.dat_A&lt;br /&gt;
 NEW_GRID_FILENAME        : TagusConstSpacing.dat&lt;br /&gt;
  &lt;br /&gt;
 BASE_GROUP               : /Results/Oil/Data_2D&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Interpolate 3D MOHID(.hdf5) files to a new grid===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION : INTERPOLATE GRIDS&lt;br /&gt;
 &lt;br /&gt;
 TYPE_OF_INTERPOLATION   : 1&lt;br /&gt;
 FATHER_FILENAME         : D:\Projectos\MohidRun\test\res\Lagrangian_1.hdf5 &lt;br /&gt;
 OUTPUTFILENAME          : OilSpillThickness_GridRegular.hdf5&lt;br /&gt;
 &lt;br /&gt;
 START                   : 2006 6 21 17 22 30&lt;br /&gt;
 END                     : 2006 6 22 17 22 0&lt;br /&gt;
 &lt;br /&gt;
 FATHER_GRID_FILENAME    : D:\Projectos\MohidRun\GeneralData\batim\Tagus.dat_A&lt;br /&gt;
 NEW_GRID_FILENAME       : TagusConstSpacing.dat&lt;br /&gt;
 &lt;br /&gt;
 BASE_GROUP              : /Results/Oil/Data_2D&lt;br /&gt;
 &lt;br /&gt;
 INTERPOLATION3D         : 1&lt;br /&gt;
 FATHER_GEOMETRY         : D:\Projectos\MohidRun\test\data\Geometry_1.dat&lt;br /&gt;
 NEW_GEOMETRY            : TagusGeometry.dat&lt;br /&gt;
 AUX_GRID_FILENAME       : TagusConstSpacing.dat&lt;br /&gt;
 AUX_OUTPUTFILENAME      : Aux_GridRegular.hdf5&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Patch several MOHID(.hdf5) files to a new grid===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION : PATCH HDF5 FILES&lt;br /&gt;
 &lt;br /&gt;
 TYPE_OF_INTERPOLATION   : 3&lt;br /&gt;
 &lt;br /&gt;
 START                   : 2005 2 28 13 0 0&lt;br /&gt;
 END                     : 2005 3 1 13 0 0&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_father&amp;gt;&amp;gt;&lt;br /&gt;
 LEVEL                   : 3&lt;br /&gt;
 FATHER_FILENAME         : K:\MM5output\2005022812_2005030712\MM5OUT_D1.hdf5&lt;br /&gt;
 FATHER_GRID_FILENAME    : K:\MM5output\2005022812_2005030712\grid1.dat&lt;br /&gt;
 &amp;lt;&amp;lt;end_father&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_father&amp;gt;&amp;gt;&lt;br /&gt;
 LEVEL                   : 2&lt;br /&gt;
 FATHER_FILENAME         : K:\MM5output\2005022812_2005030712\MM5OUT_D2.hdf5&lt;br /&gt;
 FATHER_GRID_FILENAME    : K:\MM5output\2005022812_2005030712\grid2.dat&lt;br /&gt;
 &amp;lt;&amp;lt;end_father&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_father&amp;gt;&amp;gt;&lt;br /&gt;
 LEVEL                   : 1&lt;br /&gt;
 FATHER_FILENAME         : K:\MM5output\2005022812_2005030712\MM5OUT_D3.hdf5&lt;br /&gt;
 FATHER_GRID_FILENAME    : K:\MM5output\2005022812_2005030712\grid3.dat&lt;br /&gt;
 &amp;lt;&amp;lt;end_father&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME          : MM5Forcing.hdf5&lt;br /&gt;
 NEW_GRID_FILENAME       : K:\Simula\GeneralData\Batim\CostaPortuguesa.dat&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Convert an ERA40 file to MOHID(.hdf5)===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                  : CONVERT ERA40 FORMAT&lt;br /&gt;
 &lt;br /&gt;
 FILENAME                : D:\Aplica\ERA40\1971ERA1973.nc&lt;br /&gt;
 OUTPUTFILENAME          : D:\Aplica\ERA40\1971ERA1973T2&lt;br /&gt;
 &lt;br /&gt;
 CONVERT_TO_ASCII        : 0&lt;br /&gt;
 CONVERT_TO_HDF5         : 1&lt;br /&gt;
 &lt;br /&gt;
 XX_VARIABLE             : longitude&lt;br /&gt;
 YY_VARIABLE             : latitude&lt;br /&gt;
 TIME_VARIABLE           : time&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Convert a MM5 file to MOHID(.hdf5)===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                  : CONVERT MM5 FORMAT&lt;br /&gt;
 &lt;br /&gt;
 FILENAME                : K:\MM5output\DataCenter\Modelos\Meteo_IST\Fev2005\MMOUT_D3&lt;br /&gt;
 TERRAIN_FILENAME        : K:\MM5output\DataCenter\Modelos\Meteo_IST\Fev2005\TERRAIN_D3&lt;br /&gt;
 OUTPUT_GRID_FILENAME    : K:\MM5output\DataCenter\Modelos\Meteo_IST\Fev2005\grid3.dat&lt;br /&gt;
 OUTPUTFILENAME          : K:\MM5output\DataCenter\Modelos\Meteo_IST\Fev2005\MM5_D3.hdf5&lt;br /&gt;
 &lt;br /&gt;
 COMPUTE_WINDSTRESS        : 0&lt;br /&gt;
 COMPUTE_RELATIVE_HUMIDITY : 1&lt;br /&gt;
 WRITE_XYZ                 : 0&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;BeginFields&amp;gt;&amp;gt;&lt;br /&gt;
 solar radiation&lt;br /&gt;
 air temperature&lt;br /&gt;
 wind velocity X&lt;br /&gt;
 wind velocity Y&lt;br /&gt;
 sensible heat&lt;br /&gt;
 latent heat&lt;br /&gt;
 atmospheric pressure&lt;br /&gt;
 sea water temperature&lt;br /&gt;
 &amp;lt;&amp;lt;EndFields&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Convert Mercator-Ocean(.nc) to MOHID(.hdf5)===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                   : CONVERT MERCATOR FORMAT&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME           : Psy2v2r1v_R20060628/MercatorR20060628.hdf5&lt;br /&gt;
 OUTPUT_GRID_FILENAME     : Psy2v2r1v_R20060628/MercatorGridR20060628.dat&lt;br /&gt;
 OUTPUT_GEOMETRY_FILENAME : Psy2v2r1v_R20060628/MercatorGeometryR20060628.dat&lt;br /&gt;
 &lt;br /&gt;
 INPUT_GRID_FILENAME      : GridFiles/ist_meteog-gridT.nc&lt;br /&gt;
 INPUT_GRID_FILENAME_U    : GridFiles/ist_meteog-gridU.nc&lt;br /&gt;
 INPUT_GRID_FILENAME_V    : GridFiles/ist_meteog-gridV.nc&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 Psy2v2r1v_R20060628/ist_meteog-mercatorPsy2v2r1v_T_MEAN_ANA_20060621_R20060628.nc&lt;br /&gt;
 Psy2v2r1v_R20060628/ist_meteog-mercatorPsy2v2r1v_T_MEAN_ANA_20060622_R20060628.nc&lt;br /&gt;
 Psy2v2r1v_R20060628/ist_meteog-mercatorPsy2v2r1v_T_MEAN_ANA_20060623_R20060628.nc&lt;br /&gt;
 &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Convert Levitus format to MOHID(.hdf5) and interpolate grid===&lt;br /&gt;
==== Convert ====&lt;br /&gt;
First convert the Levitus ASCII format to a raw HDF5 format:&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                   : CONVERT LEVITUS FORMAT&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME           : Levitus.hdf5&lt;br /&gt;
 OUTPUT_GRID_FILENAME     : LevitusGrid.dat&lt;br /&gt;
 OUTPUT_GEOMETRY_FILENAME : LevitusGeometry.dat&lt;br /&gt;
 &lt;br /&gt;
 PERIODICITY              : monthly&lt;br /&gt;
 SPATIAL_RESOLUTION       : 0.25&lt;br /&gt;
 FILL_VALUE               : -99.9999&lt;br /&gt;
 &lt;br /&gt;
 LOWER_LEFT_CORNER        : -16.0  31&lt;br /&gt;
 UPPER_RIGHT_CORNER       :   1.   40&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;beginfield&amp;gt;&amp;gt;&lt;br /&gt;
 NAME                     : salinity&lt;br /&gt;
 ANNUAL_FILE              : DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s000hr.obj&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s001&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s002&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s003&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s004&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s005&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s006&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s007&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s008&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s009&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s010&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s011&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Salinity\s012&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;endfield&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;beginfield&amp;gt;&amp;gt;&lt;br /&gt;
 NAME                     : temperature&lt;br /&gt;
 ANNUAL_FILE              : DataCenter\DadosBase\Ocean\Levitus\Data\Temp\t000hr.obj&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t001&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t002&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t003&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t004&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t005&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t006&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t007&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t008&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t009&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t010&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t011&lt;br /&gt;
 DataCenter\DadosBase\Ocean\Levitus\Data\Temperature\t012&lt;br /&gt;
 &amp;lt;&amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;&amp;lt;endfield&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Extrapolate ====&lt;br /&gt;
Then extrapolate the data (still in the raw HDF5 format):&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                   : INTERPOLATE GRIDS&lt;br /&gt;
 &lt;br /&gt;
 TYPE_OF_INTERPOLATION    : 1&lt;br /&gt;
 &lt;br /&gt;
 FATHER_FILENAME          : Levitus.hdf5&lt;br /&gt;
 FATHER_GRID_FILENAME     : LevitusGrid.dat&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME           : LeviTusAllPointsWithData.hdf5&lt;br /&gt;
 NEW_GRID_FILENAME        : LevitusGrid.dat&lt;br /&gt;
 &lt;br /&gt;
 START                    : -9999 1  1 0 0 0&lt;br /&gt;
 END                      : -9999 12 1 0 0 0&lt;br /&gt;
 &lt;br /&gt;
 INTERPOLATION3D          : 1&lt;br /&gt;
 FATHER_GEOMETRY          : LevitusGeometry.dat&lt;br /&gt;
 NEW_GEOMETRY             : LevitusGeometry.dat&lt;br /&gt;
 AUX_GRID_FILENAME        : LevitusGrid.dat&lt;br /&gt;
 AUX_OUTPUTFILENAME       : AuxLeviTusAllPointsWithData.hdf5&lt;br /&gt;
 &lt;br /&gt;
 POLI_DEGREE              : 3&lt;br /&gt;
 DO_NOT_BELIEVE_MAP       : 1&lt;br /&gt;
 EXTRAPOLATE_2D           : 2&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Interpolate ====&lt;br /&gt;
Finally, interpolate to the final grid and geometry (same as the [[#Interpolate 3D MOHID(.hdf5) files to a new grid| Interpolate 3D sample]]):&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                   : INTERPOLATE GRIDS&lt;br /&gt;
 &lt;br /&gt;
 TYPE_OF_INTERPOLATION    : 1&lt;br /&gt;
 FATHER_FILENAME          : LeviTusAllPointsWithData.hdf5&lt;br /&gt;
 OUTPUTFILENAME           : CadizMonthlyLevitus.hdf5&lt;br /&gt;
 FATHER_GRID_FILENAME     : LevitusGrid.dat&lt;br /&gt;
 NEW_GRID_FILENAME        : Algarve0.02SigmaSmooth_V3_CartMoreLayers.dat&lt;br /&gt;
 &lt;br /&gt;
 START                    : -9999 1  1 0 0 0&lt;br /&gt;
 END                      : -9999 12 1 0 0 0&lt;br /&gt;
 &lt;br /&gt;
 INTERPOLATION3D          : 1&lt;br /&gt;
 FATHER_GEOMETRY          : LevitusGeometry.dat&lt;br /&gt;
 NEW_GEOMETRY             : Geometry_1.dat&lt;br /&gt;
 AUX_OUTPUTFILENAME       : AuxCadizMonthlyLevitus.hdf5&lt;br /&gt;
 AUX_GRID_FILENAME        : Aux12km.dat&lt;br /&gt;
 &lt;br /&gt;
 POLI_DEGREE              : 3&lt;br /&gt;
 DO_NOT_BELIEVE_MAP       : 1&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the programme may construct a new bathymetry twice. Use this bathymetry only on the AUX_GRID_FILENAME keyword.&lt;br /&gt;
&lt;br /&gt;
===Convert Hellerman Rosenstein ASCII format to MOHID(.hdf5)  ===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                   : CONVERT HELLERMAN ROSENSTEIN ASCII&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME           : ClimatologicWindStress.hdf5&lt;br /&gt;
 OUTPUT_GRID_FILENAME     : ClimatologicWindStressGrid.dat&lt;br /&gt;
 &lt;br /&gt;
 PERIODICITY              : monthly&lt;br /&gt;
 SPATIAL_RESOLUTION       : 2.&lt;br /&gt;
 FILL_VALUE               : -99.9999&lt;br /&gt;
 &lt;br /&gt;
 LOWER_LEFT_CORNER        : -180  -90&lt;br /&gt;
 UPPER_RIGHT_CORNER       : 180  90&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;beginfield&amp;gt;&amp;gt;&lt;br /&gt;
 NAME                     : wind stress X&lt;br /&gt;
 FILE                     : D:\Aplica\Dados\Hellerman_Rosenstein\TAUXX.DAT&lt;br /&gt;
 &amp;lt;&amp;lt;endfield&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;beginfield&amp;gt;&amp;gt;&lt;br /&gt;
 NAME                     : wind stress Y&lt;br /&gt;
 FILE                     : D:\Aplica\Dados\Hellerman_Rosenstein\TAUYY.DAT&lt;br /&gt;
 &amp;lt;&amp;lt;endfield&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Convert ALADIN(.nc) format to MOHID(.hdf5)===&lt;br /&gt;
 &amp;lt;begin_file&amp;gt;&lt;br /&gt;
 ACTION                    : CONVERT ALADIN FORMAT&lt;br /&gt;
 &lt;br /&gt;
 OUTPUTFILENAME            : aladin.hdf5&lt;br /&gt;
 OUTPUT_GRID_FILENAME      : aladin_griddata.dat&lt;br /&gt;
 &lt;br /&gt;
 !Put here the name of any netcdf file for grid-data generation's sake.&lt;br /&gt;
 INPUT_GRID_FILENAME      :   D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_BULKCLOUD_OPASYMP_19723_20088.nc&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_BULKIR_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_BULKPRES_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_BULKSOLAR_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_BULKTAIR_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_BULKWIND_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_FLUXPRE_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_STRESSU_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_STRESSV_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_U10_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_V10_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_BULKCLOUD_OPASYMP_19723_20088.nc&lt;br /&gt;
 D:\Aplica\BiscayAplica\FORCAGES\METEO\ALADIN_BULKHUMI_OPASYMP_19723_20088.nc&lt;br /&gt;
 &amp;lt;&amp;lt;end_input_files&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;end_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OceanColor modules compilation ==&lt;br /&gt;
Compiling the [[ConvertToHDF5]] tool with the OceanColor modules is more complicated than one might expect. A solution is proposed here for a release version using the Compaq Visual Fortran 6.6c. The difficulties rise because C code is embedded with a fortran interface and also, extra libraries such as hdf4 are required.&lt;br /&gt;
&lt;br /&gt;
=== Pre-requisites ===&lt;br /&gt;
&lt;br /&gt;
This is a list of prerequisites to successfully compile the tool:&lt;br /&gt;
*Compaq Visual Fortran 6.5 with patch 6.6c,&lt;br /&gt;
*VS .NET 2003 (Vc7 in particular),&lt;br /&gt;
*Hdf5 libraries ('''hdf5.lib''' '''hdf5_fortran.lib''' '''hdf5_hl.lib'''),&lt;br /&gt;
*Netcdf libraries ('''netcdf.lib''' '''netcdf_.lib'''),&lt;br /&gt;
*Hdf4 libraries ('''hd421.lib''', '''hm421.lib'''),&lt;br /&gt;
*szlib, zlib and jpeg libraries ('''szlib.lib''', '''zlib.lib''' and '''libjpeg.lib'''),&lt;br /&gt;
*the fortran source files ('''ModuleConvertModisL2.F90 ModuleConvertModisL3.F90 ModuleConvertOceanColorL2.F90'''),&lt;br /&gt;
*the C source files and their fortran interface files ('''readL2scan.c readL2Seadas.c''' and '''cdata.f crossp.f fgeonav.f''').&lt;br /&gt;
&lt;br /&gt;
=== CVF IDE configuration ===&lt;br /&gt;
# Configure everything as specified in [[Compiling with CVF]].&lt;br /&gt;
# Add the source files listed in the prerequisites above to the source files listing.&lt;br /&gt;
# Go to '''Tools--&amp;gt;Options...--&amp;gt;Directories'''. There, add the '''$DOTNET2K3/Vc7/bin''' to the '''Executable files''''; the '''$DOTNET2K3/Vc7/include''' and '''$DOTNET2K3/Vc7/PlatformSDK/include''' to the '''Include files'''; and finally, the '''$DOTNET2K3/Vc7/lib''', '''$DOTNET2K3/Vc7/PlatformSDK/lib''' and  '''$DOTNET2K3/Vc7/PlatformSDK/bin''' to the '''Library files'''.&lt;br /&gt;
# Go to '''Projects--&amp;gt;Settings--&amp;gt;Release--&amp;gt;Link--&amp;gt;Input'''. There, add the following libraries: '''netcdf.lib netcdf_.lib hd421.lib hm421.lib libjpeg.lib'''. (Make sure the hdf5 libraries as well as the szlib and zlib libraries are already mentioned).&lt;br /&gt;
&lt;br /&gt;
=== Troubleshoots ===&lt;br /&gt;
'''Q: I get unresolved external references during linkage, but I have all the libraries mentioned above included. What should I do?'''&lt;br /&gt;
&lt;br /&gt;
A: Unresolved external references can come out for two reasons:&lt;br /&gt;
#you didn't specified all the libraries required or all the paths for the default libraries or,&lt;br /&gt;
#[http://en.wikipedia.org/wiki/Name_decoration name mangling] problems. Use the [[dumpbin]] utility to the libraries to checkout which language convention they are using. If that's the problem then you need to try to get new libraries with the correct naming convention.&lt;br /&gt;
&lt;br /&gt;
That's it, you should now be able to build the [[ConvertToHdf5]] project successfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Q: I got a message saying the entry point _NF_PUT_ATT_REAL@28 could not be located in netcdf.dll'''&lt;br /&gt;
&lt;br /&gt;
A: copy the file netcdf.dll to the exe folder&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*[http://www.hdfgroup.org/ HDF5 Homepage]&lt;br /&gt;
*[http://www.hdfgroup.org/ HDF4 Homepage]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
*[[Module_Atmosphere]]&lt;br /&gt;
*[[Module_InterfaceWaterAir]]&lt;br /&gt;
*[[Coupling_Water-Atmosphere_User_Manual]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]]&lt;br /&gt;
[[Category:Hdf5]]&lt;/div&gt;</summary>
		<author><name>192.168.20.156</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=HydrodynamicAnalyser&amp;diff=334</id>
		<title>HydrodynamicAnalyser</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=HydrodynamicAnalyser&amp;diff=334"/>
				<updated>2008-09-25T17:33:32Z</updated>
		
		<summary type="html">&lt;p&gt;192.168.20.156: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The application '''HydrodynamicAnalyser''' calculates hydrodynamic properties from hydrodynamic data in one HDF5 file.&lt;br /&gt;
&lt;br /&gt;
Running options for this application are specified in an input file named [[HydrodynamicAnalyser#Input file(HydrodynamicAnalyser.dat)|'''HydrodynamicAnalyser.dat''']]&lt;/div&gt;</summary>
		<author><name>192.168.20.156</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=HDF_file&amp;diff=320</id>
		<title>HDF file</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=HDF_file&amp;diff=320"/>
				<updated>2008-01-31T15:13:54Z</updated>
		
		<summary type="html">&lt;p&gt;192.168.20.156: /* HDF5 file as atmospheric forcing for MOHID models */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
MOHID uses [[HDF5]] as the file format to store matricial data. These files are used to input data to the model. The model also writes its outputs in this format. &lt;br /&gt;
Typically, the HDF5 file is organized in '''groups''' and '''datasets'''. Groups are comparable to folders where the datasets are stored. Datasets refer to the data itself. &lt;br /&gt;
In MOHID these files are handled (read and write) by [[Module HDF5]].&lt;br /&gt;
&lt;br /&gt;
== Standard organization of a MOHID HDF5 file ==&lt;br /&gt;
MOHID HDF5 files have a typical organization in terms of nomenclature of the groups and in terms of which datasets go into which group. There are normally 3 main groups: '''Grid''', '''Results''' and '''Time''', which will be described below. &lt;br /&gt;
&lt;br /&gt;
=== Grid group ===&lt;br /&gt;
The Grid group stores information about the grid and it is required to have the data sets shown in figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:hdf5gridgroup.png|100px|thumb|center|'''View of a hdf5 file grid group''']]&lt;br /&gt;
&lt;br /&gt;
=== Results group ===&lt;br /&gt;
The Results group stores the results. The fields stored in the file must correspond to the modeled domain, that is, they must correspond to the same horizontal and vertical grid.&lt;br /&gt;
The name of the fields must be recognized by MOHID (see list of supported names)&lt;br /&gt;
&lt;br /&gt;
[[Image:hdf5resultsgroup.png|100px|thumb|center|'''View of a hdf5 file grid group''']]&lt;br /&gt;
&lt;br /&gt;
=== Time group ===&lt;br /&gt;
The Time group stores the dates of each result dataset. Time data set must contain as many instants as the field data sets. If the file is being used as an input for the model then time data set must also contain dates for a period of the same or greater duration of the simulation.&lt;br /&gt;
&lt;br /&gt;
[[Image:hdf5timegroup.png|100px|thumb|center|'''View of a hdf5 file grid group''']]&lt;br /&gt;
&lt;br /&gt;
== HDF5 file as atmospheric forcing for MOHID models ==&lt;br /&gt;
&lt;br /&gt;
One of the ways to provide the atmospheric properties forcing for MOHID models is to get the data from an HDF5 file.&lt;br /&gt;
&lt;br /&gt;
To accomplish its mission this file has to have the data organized in a specific format. Two groups must be present:&lt;br /&gt;
&lt;br /&gt;
- Results: with data for the atmospheric properties referenced with the [[properties_names|'''properties names''']] registered in MOHID [[Module_GlobalData|'''Module GlobalData''']] (so that these names can be recognized by MOHID models);&lt;br /&gt;
&lt;br /&gt;
- Time: time instants of the data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
No Grid group is required because the MOHID model always assumes that the forcing data are in the same grid as the model domain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If one wants to use atmospheric data from a specific atmospheric model or atmospheric data source as forcing for MOHID models the data must be first converted to MOHID HDF5 file. [[ConvertToHDF5#Format_conversion|'''ConvertToHDF5''']] tool can be used to convert data from some formats and specific modules for converting data from other data sources can also be added to this tool with some extra programming.&lt;br /&gt;
&lt;br /&gt;
Once in MOHID HDF5 file the atmospheric data must be interpolated from the original grid to the model domain grid. For this use the ConvertToHDF5 tool with [[ConvertToHDF5##Grid_interpolation|'''action INTERPOLATE GRIDS''']].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
[[Module FillMatrix]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Input Data Formats]]&lt;/div&gt;</summary>
		<author><name>192.168.20.156</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Mohid_Programming&amp;diff=637</id>
		<title>Mohid Programming</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Mohid_Programming&amp;diff=637"/>
				<updated>2008-01-28T16:47:10Z</updated>
		
		<summary type="html">&lt;p&gt;192.168.20.156: /* Related links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MOHID is programmed in ANSI FORTRAN 95 using an [[Object oriented approach|object oriented approach]] and hierarchical structure which enables consisting of several [[Modules|modules]] to develop several numerical models and [[Mohid Support Tools|support tools]] with a high level of code re-use. To this structure we call [[Mohid Framework]].&lt;br /&gt;
&lt;br /&gt;
Due to the high number of developers programming in MOHID, several [[Programming guidelines|programming guidelines]] have been defined in order to [[Changing the code|change the code]] in a straighforward, systematic and sustentable way. &lt;br /&gt;
&lt;br /&gt;
MOHID is licensed under GPL and the code can be downloaded from the download area. Currently, MOHID has been [[Compiling|compiled]] and run under [[Supported architectures|several architectures]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Related links ==&lt;br /&gt;
&lt;br /&gt;
See also [[Parallel processing]], [[Compiling]], [[Profiling]], [[Programming in Fortran issues]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>192.168.20.156</name></author>	</entry>

	</feed>