mHM
The mesoscale Hydrological Model
|
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 | |
Definition at line 38 of file mo_nc_output.f90.
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'
[in] | data | data for current time step |
Definition at line 46 of file mo_nc_output.f90.
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
[in] | current_time_step | index along the time dimension of the netcdf variable |
Definition at line 47 of file mo_nc_output.f90.
logical mo_nc_output::outputvariable::avg = .false. |
average data before writing
Definition at line 40 of file mo_nc_output.f90.
integer(i4) mo_nc_output::outputvariable::counter = 0 |
count the number of updateVariable calls
Definition at line 43 of file mo_nc_output.f90.
real(dp), dimension(:), allocatable mo_nc_output::outputvariable::data |
store the data between writes
Definition at line 42 of file mo_nc_output.f90.
logical, dimension(:, :), pointer mo_nc_output::outputvariable::mask |
mask to reconstruct data
Definition at line 41 of file mo_nc_output.f90.
type(ncvariable) mo_nc_output::outputvariable::nc |
NcDataset which contains the variable.
Definition at line 39 of file mo_nc_output.f90.