Difference between revisions of "WOAnetcdfTOhdf5"
From MohidWiki
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | This program converts the NetCDF files of the [http://www.nodc.noaa.gov/OC5/WOA05/pr_woa05.html World Ocean Atlas 2005] (WOA05) into HDF5, it allows to create HDF5 files for Mohid using the Module LIFE (mmol/m3) or the Module WaterQuality (mg/l). The user will be prompted when the software is ran. | |
Running options for this application are specified by the user in a input file named PARAMETER_READ.dat. | Running options for this application are specified by the user in a input file named PARAMETER_READ.dat. | ||
==Input file (PARAMETER_READ.dat)== | ==Input file (PARAMETER_READ.dat)== | ||
− | ACTION | + | ACTION : CONVERT LEVITUS FORMAT |
− | OUTPUT_FILENAME | + | OUTPUT_FILENAME : ... (path/name of HDF5 file to be converted) |
− | + | OUTPUT_GRID_FILENAME : ... (path/name of grid data with horizontal discretization to be | |
− | + | created) | |
− | + | OUTPUT_GEOMETRY_FILENAME : ... (path/name of geometry file with vertical discretization to be | |
− | + | created) | |
− | + | <<begin_input_files>> | |
− | + | ... (path/name of the WOA05 NetCDF data files, one per line, can be several) | |
− | + | ... | |
− | + | <<end_input_files>> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Samples== | ==Samples== | ||
<begin_file> | <begin_file> | ||
ACTION : CONVERT LEVITUS FORMAT | ACTION : CONVERT LEVITUS FORMAT | ||
+ | |||
OUTPUTFILENAME : WOA05_climatology.hdf5 | OUTPUTFILENAME : WOA05_climatology.hdf5 | ||
OUTPUT_GRID_FILENAME : WOA05_Grid1.dat | OUTPUT_GRID_FILENAME : WOA05_Grid1.dat | ||
OUTPUT_GEOMETRY_FILENAME : WOA05_Geometry1.dat | OUTPUT_GEOMETRY_FILENAME : WOA05_Geometry1.dat | ||
+ | |||
<<begin_input_files>> | <<begin_input_files>> | ||
t0112an1.nc | t0112an1.nc |
Latest revision as of 19:15, 10 May 2010
This program converts the NetCDF files of the World Ocean Atlas 2005 (WOA05) into HDF5, it allows to create HDF5 files for Mohid using the Module LIFE (mmol/m3) or the Module WaterQuality (mg/l). The user will be prompted when the software is ran.
Running options for this application are specified by the user in a input file named PARAMETER_READ.dat.
Input file (PARAMETER_READ.dat)
ACTION : CONVERT LEVITUS FORMAT OUTPUT_FILENAME : ... (path/name of HDF5 file to be converted) OUTPUT_GRID_FILENAME : ... (path/name of grid data with horizontal discretization to be created) OUTPUT_GEOMETRY_FILENAME : ... (path/name of geometry file with vertical discretization to be created) <<begin_input_files>> ... (path/name of the WOA05 NetCDF data files, one per line, can be several) ... <<end_input_files>>
Samples
<begin_file> ACTION : CONVERT LEVITUS FORMAT OUTPUTFILENAME : WOA05_climatology.hdf5 OUTPUT_GRID_FILENAME : WOA05_Grid1.dat OUTPUT_GEOMETRY_FILENAME : WOA05_Geometry1.dat <<begin_input_files>> t0112an1.nc s0112an1.nc n0112an1.nc i0112an1.nc p0112an1.nc o0112an1.nc <<end_input_files>> <end_file>