5.13.2-dev0
mHM
The mesoscale Hydrological Model
Loading...
Searching...
No Matches
mo_nc_output::outputdataset Interface Reference

Public Member Functions

procedure, public writetimestep (self, current_time_step)
 Write all accumulated data.
 
procedure, public close (self)
 Close the file.
 

Public Attributes

integer(i4) idomain
 domain id
 
type(ncdataset) nc
 NcDataset to write.
 
type(outputvariable), dimension(:), allocatable vars
 store all created (dynamic) variables
 
integer(i4) counter
 count written time steps
 
integer(i4) previous_time
 previous time steps for bounds
 
integer(i4) time_unit_factor
 possible factor to convert hours to minutes when using center as time reference
 
integer(i4) outputs_frequence
 write out frequence (-3: yearly, -2: monthly, -1: daily, 0: end of run, >0: after n steps)
 
integer(i4) time_reference
 time stamp reference (0: begin, 1: center, 2: end of time interval)
 
logical double_precision
 output precision switch for nc files
 

Detailed Description

Definition at line 56 of file mo_nc_output.f90.

Member Function/Subroutine Documentation

◆ close()

procedure, public mo_nc_output::outputdataset::close ( class(outputdataset self)

Close the file.

Close the file associated with variable of type(OutputDataset)

Changelog
  • Stephan Thober Oct 2015
    • adapted to mRM
  • Robert Schweppe Jun 2018
    • refactoring and reformatting
Authors
Rohini Kumar & Stephan Thober
Date
August 2013

Definition at line 69 of file mo_nc_output.f90.

◆ writetimestep()

procedure, public mo_nc_output::outputdataset::writetimestep ( class(outputdataset), intent(inout), target  self,
integer(i4), intent(in)  current_time_step 
)

Write all accumulated data.

Write all accumulated and potentially averaged data to disk.

Changelog
  • Robert Schweppe Jun 2018
    • refactoring and reformatting
Authors
David Schaefer
Date
June 2015
Parameters
[in]current_time_stepThe model timestep to write

Definition at line 68 of file mo_nc_output.f90.

Member Data Documentation

◆ counter

integer(i4) mo_nc_output::outputdataset::counter

count written time steps

Definition at line 60 of file mo_nc_output.f90.

◆ double_precision

logical mo_nc_output::outputdataset::double_precision

output precision switch for nc files

Definition at line 65 of file mo_nc_output.f90.

◆ idomain

integer(i4) mo_nc_output::outputdataset::idomain

domain id

Definition at line 57 of file mo_nc_output.f90.

◆ nc

type(ncdataset) mo_nc_output::outputdataset::nc

NcDataset to write.

Definition at line 58 of file mo_nc_output.f90.

◆ outputs_frequence

integer(i4) mo_nc_output::outputdataset::outputs_frequence

write out frequence (-3: yearly, -2: monthly, -1: daily, 0: end of run, >0: after n steps)

Definition at line 63 of file mo_nc_output.f90.

◆ previous_time

integer(i4) mo_nc_output::outputdataset::previous_time

previous time steps for bounds

Definition at line 61 of file mo_nc_output.f90.

◆ time_reference

integer(i4) mo_nc_output::outputdataset::time_reference

time stamp reference (0: begin, 1: center, 2: end of time interval)

Definition at line 64 of file mo_nc_output.f90.

◆ time_unit_factor

integer(i4) mo_nc_output::outputdataset::time_unit_factor

possible factor to convert hours to minutes when using center as time reference

Definition at line 62 of file mo_nc_output.f90.

◆ vars

type(outputvariable), dimension(:), allocatable mo_nc_output::outputdataset::vars

store all created (dynamic) variables

Definition at line 59 of file mo_nc_output.f90.


The documentation for this interface was generated from the following file: