5.13.2-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_nc_output.f90 File Reference

Creates NetCDF output for different fluxes and state variables of mHM. More...

Go to the source code of this file.

Data Types

interface  mo_nc_output::outputvariable
 
interface  mo_nc_output::outputdataset
 

Modules

module  mo_nc_output
 Creates NetCDF output for different fluxes and state variables of mHM.
 

Functions/Subroutines

character(3) function, public mo_nc_output::data_dtype (double_precision)
 Output variable dtype for single or double precision.
 
character(16) function, dimension(3), public mo_nc_output::data_dims ()
 Output variable dimension names.
 
type(outputvariable) function mo_nc_output::newoutputvariable (nc, name, dtype, dims, ncells, mask, deflate_level, avg)
 Initialize OutputVariable.
 
subroutine mo_nc_output::updatevariable (self, data)
 Update OutputVariable.
 
subroutine mo_nc_output::writevariabletimestep (self, current_time_step)
 Write timestep to file.
 
type(outputdataset) function mo_nc_output::newoutputdataset (idomain, level, file_name, double_precision, outputs_frequence, time_reference)
 Initialize OutputDataset.
 
subroutine mo_nc_output::writetimestep (self, current_time_step)
 Write all accumulated data.
 
subroutine mo_nc_output::close (self)
 Close the file.
 
type(ncdataset) function mo_nc_output::createoutputfile (idomain, level, file_name, double_precision, outputs_frequence, time_reference)
 Create and initialize output file for X & Y coordinate system.
 
subroutine, public mo_nc_output::set_attributes (var, long_name, unit, double_precision, add_coords, standard_name, axis, bounds)
 Write output variable attributes.
 

Detailed Description

Creates NetCDF output for different fluxes and state variables of mHM.

NetCDF is first initialized and later on variables are put to the NetCDF.

Changelog
  • David Schaefer Aug 2015
    • major rewrite
  • Stephan Thober Oct 2015
    • adapted to mRM
  • O. Rakovec, R. Kumar Nov 2017
    • added project description for the netcdf outputs
  • S. Mueller, Dec 2022
    • unified module for mHM and mRM
Authors
Matthias Zink
Date
Apr 2013

Definition in file mo_nc_output.f90.