mHM
The mesoscale Hydrological Model
|
Creates NetCDF output for different fluxes and state variables of mHM. More...
Functions/Subroutines | |
type(outputdataset) function | mrm_outputdataset (idomain, mask) |
Initialize mRM OutputDataset. | |
subroutine | mrm_updatedataset (nc_mrm, l11_qmod, l11_riv_temp) |
Update all variables. | |
type(outputdataset) function | gw_outputdataset (idomain, mask) |
Initialize groundwater coupling OutputDataset. | |
subroutine | gw_updatedataset (nc_gw, l0_river_head) |
Update riverhead. | |
Creates NetCDF output for different fluxes and state variables of mHM.
NetCDF is first initialized and later on variables are put to the NetCDF.
COPYING
and COPYING.LESSER
provided with this software. The complete GNU license text can also be found at http://www.gnu.org/licenses/. type(outputdataset) function mo_mrm_write_fluxes_states::gw_outputdataset | ( | integer(i4), intent(in) | idomain, |
logical, dimension(:, :), intent(in), target | mask | ||
) |
Initialize groundwater coupling OutputDataset.
Create and initialize the output file. If new a new output variable needs to be written, this is the first of two procedures to change (second: updateDataset)
[in] | idomain | domain id |
[in] | mask | L11 mask |
Definition at line 149 of file mo_mrm_write_fluxes_states.f90.
References mo_nc_output::data_dims(), mo_nc_output::data_dtype(), mo_common_variables::level0, and mo_nc_output::set_attributes().
Referenced by mo_mhm_interface_run::mhm_interface_run_write_output().
subroutine mo_mrm_write_fluxes_states::gw_updatedataset | ( | class(outputdataset), intent(inout), target | nc_gw, |
real(dp), dimension(:), intent(in) | l0_river_head | ||
) |
Update riverhead.
Call the type bound procedure updateVariable for all output variables. If a new output variable needs to be written, this is the second of two procedures to change (first: newOutputDataset)
Definition at line 186 of file mo_mrm_write_fluxes_states.f90.
Referenced by mo_mhm_interface_run::mhm_interface_run_write_output().
type(outputdataset) function mo_mrm_write_fluxes_states::mrm_outputdataset | ( | integer(i4), intent(in) | idomain, |
logical, dimension(:, :), intent(in), pointer | mask | ||
) |
Initialize mRM OutputDataset.
Create and initialize the output file. If new a new output variable needs to be written, this is the first of two procedures to change (second: updateDataset)
[in] | idomain | domain id |
[in] | mask | L11 mask |
Definition at line 48 of file mo_mrm_write_fluxes_states.f90.
References mo_nc_output::data_dims(), mo_nc_output::data_dtype(), mo_mrm_file::file_mrm_output, mo_mrm_global_variables::level11, mo_mrm_global_variables::output_deflate_level_mrm, mo_mrm_global_variables::output_double_precision_mrm, mo_mrm_global_variables::output_time_reference_mrm, mo_mrm_global_variables::outputflxstate_mrm, mo_mrm_global_variables::riv_temp_pcs, mo_nc_output::set_attributes(), and mo_mrm_global_variables::timestep_model_outputs_mrm.
Referenced by mo_mhm_interface_run::mhm_interface_run_write_output().
subroutine mo_mrm_write_fluxes_states::mrm_updatedataset | ( | class(outputdataset), intent(inout), target | nc_mrm, |
real(dp), dimension(:), intent(in) | l11_qmod, | ||
real(dp), dimension(:), intent(in), optional | l11_riv_temp | ||
) |
Update all variables.
Call the type bound procedure updateVariable for all output variables. If a new output variable needs to be written, this is the second of two procedures to change (first: newOutputDataset)
Definition at line 113 of file mo_mrm_write_fluxes_states.f90.
References mo_mrm_global_variables::outputflxstate_mrm, and mo_mrm_global_variables::riv_temp_pcs.
Referenced by mo_mhm_interface_run::mhm_interface_run_write_output().