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

Public Member Functions

procedure, public updatevariable (self, data)
 Update OutputVariable.
 
procedure, public writevariabletimestep (self, current_time_step)
 Write timestep to file.
 

Public Attributes

type(ncvariable) nc
 NcDataset which contains the variable.
 
logical avg = .false.
 average data before writing
 
logical, dimension(:, :), pointer mask
 mask to reconstruct data
 
real(dp), dimension(:), allocatable data
 store the data between writes
 
integer(i4) counter = 0
 count the number of updateVariable calls
 

Detailed Description

Definition at line 38 of file mo_nc_output.f90.

Member Function/Subroutine Documentation

◆ updatevariable()

procedure, public mo_nc_output::outputvariable::updatevariable ( class(outputvariable), intent(inout)  self,
real(dp), dimension(:), intent(in)  data 
)

Update OutputVariable.

Add the array given as actual argument to the derived type's component 'data'

Changelog
  • Robert Schweppe Jun 2018
    • refactoring and reformatting
Returns
type(OutputVariable)
Authors
David Schaefer
Date
June 2015
Parameters
[in]datadata for current time step

Definition at line 46 of file mo_nc_output.f90.

◆ writevariabletimestep()

procedure, public mo_nc_output::outputvariable::writevariabletimestep ( class(outputvariable), intent(inout)  self,
integer(i4), intent(in)  current_time_step 
)

Write timestep to file.

Write the content of the derived types's component 'data' to file, average if necessary

Changelog
  • Robert Schweppe Jun 2018
    • refactoring and reformatting
Authors
David Schafer
Date
June 2015
Parameters
[in]current_time_stepindex along the time dimension of the netcdf variable

Definition at line 47 of file mo_nc_output.f90.

Member Data Documentation

◆ avg

logical mo_nc_output::outputvariable::avg = .false.

average data before writing

Definition at line 40 of file mo_nc_output.f90.

◆ counter

integer(i4) mo_nc_output::outputvariable::counter = 0

count the number of updateVariable calls

Definition at line 43 of file mo_nc_output.f90.

◆ data

real(dp), dimension(:), allocatable mo_nc_output::outputvariable::data

store the data between writes

Definition at line 42 of file mo_nc_output.f90.

◆ mask

logical, dimension(:, :), pointer mo_nc_output::outputvariable::mask

mask to reconstruct data

Definition at line 41 of file mo_nc_output.f90.

◆ nc

type(ncvariable) mo_nc_output::outputvariable::nc

NcDataset which contains the variable.

Definition at line 39 of file mo_nc_output.f90.


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