mHM
The mesoscale Hydrological Model
|
mRM reading routines More...
Functions/Subroutines | |
subroutine, public | mrm_read_l0_data (do_reinit, do_readlatlon, do_readlcover) |
read L0 data from file | |
subroutine, public | mrm_read_discharge |
Read discharge timeseries from file. | |
subroutine, public | mrm_read_total_runoff (idomain) |
read simulated runoff that is to be routed | |
subroutine, public | mrm_read_bankfull_runoff (idomain) |
subroutine | rotate_fdir_variable (x) |
TODO: add description. | |
mRM reading routines
This module contains all routines to read mRM data from file.
COPYING
and COPYING.LESSER
provided with this software. The complete GNU license text can also be found at http://www.gnu.org/licenses/. subroutine, public mo_mrm_read_data::mrm_read_bankfull_runoff | ( | integer(i4), intent(in) | idomain | ) |
[in] | idomain |
Definition at line 426 of file mo_mrm_read_data.f90.
References mo_mrm_global_variables::dirbankfullrunoff, mo_mrm_global_variables::l11_bankfull_runoff_in, mo_mrm_global_variables::level11, and mo_read_nc::read_const_nc().
Referenced by mo_mrm_init::mrm_init().
subroutine, public mo_mrm_read_data::mrm_read_discharge |
Read discharge timeseries from file.
Read Observed discharge at the outlet of a catchment and at the inflow of a catchment. Allocate global runoff variable that contains the simulated runoff after the simulation.
Definition at line 253 of file mo_mrm_read_data.f90.
References mo_common_variables::domainmeta, mo_common_mhm_mrm_variables::evalper, mo_mrm_global_variables::gauge, mo_mrm_global_variables::inflowgauge, mo_mrm_global_variables::mrm_runoff, mo_mrm_global_variables::ngaugeslocal, mo_mrm_global_variables::ninflowgaugestotal, mo_mrm_global_variables::nmeasperday, mo_common_constants::nodata_dp, mo_common_mhm_mrm_variables::ntstepday, mo_common_mhm_mrm_variables::opti_function, mo_common_mhm_mrm_variables::optimize, mo_read_timeseries::read_timeseries(), mo_mrm_global_variables::riv_temp_pcs, mo_common_mhm_mrm_variables::simper, and mo_mrm_file::udischarge.
Referenced by mo_mrm_init::mrm_init().
subroutine, public mo_mrm_read_data::mrm_read_l0_data | ( | logical, intent(in) | do_reinit, |
logical, intent(in) | do_readlatlon, | ||
logical, intent(in) | do_readlcover | ||
) |
read L0 data from file
With the exception of L0_mask, L0_elev, and L0_LCover, all L0 variables are read from file. The former three are only read if they are not provided as variables.
[in] | logical :: do_reinit | |
[in] | logical :: do_readlatlon | |
[in] | logical :: do_readlcover |
Definition at line 51 of file mo_mrm_read_data.f90.
References mo_common_variables::dirmorpho, mo_mrm_global_variables::domain_mrm, mo_common_variables::domainmeta, mo_mrm_file::file_facc, mo_mrm_file::file_fdir, mo_mrm_file::file_gaugeloc, mo_mpr_file::file_slope, mo_mrm_global_variables::l0_facc, mo_mrm_global_variables::l0_fdir, mo_mrm_global_variables::l0_gaugeloc, mo_mrm_global_variables::l0_inflowgaugeloc, mo_common_variables::l0_lcover, mo_common_variables::level0, mo_common_constants::nodata_i4, mo_common_variables::processmatrix, mo_common_read_data::read_dem(), mo_read_latlon::read_latlon(), mo_common_read_data::read_lcover(), rotate_fdir_variable(), mo_mrm_file::ufacc, mo_mrm_file::ufdir, mo_mrm_file::ugaugeloc, and mo_mpr_file::uslope.
Referenced by mo_mrm_init::mrm_init().
subroutine, public mo_mrm_read_data::mrm_read_total_runoff | ( | integer(i4), intent(in) | idomain | ) |
read simulated runoff that is to be routed
read spatio-temporal field of total runoff that has been simulated by a hydrologic model or land surface model. This total runoff will then be aggregated to the level 11 resolution and then routed through the stream network.
[in] | integer(i4) :: iDomain | domain id |
Definition at line 367 of file mo_mrm_read_data.f90.
References mo_common_variables::alma_convention, mo_mrm_global_variables::dirtotalrunoff, mo_mrm_global_variables::filenametotalrunoff, mo_mrm_global_variables::l1_total_runoff_in, mo_common_variables::level1, mo_common_constants::nodata_dp, mo_read_nc::read_nc(), mo_common_mhm_mrm_variables::simper, mo_common_mhm_mrm_variables::timestep, and mo_mrm_global_variables::varnametotalrunoff.
Referenced by mo_mrm_init::mrm_init().
|
private |
TODO: add description.
TODO: add description
[in,out] | integer(i4), dimension(:, :) :: x |
Definition at line 527 of file mo_mrm_read_data.f90.
References mo_common_constants::nodata_i4.
Referenced by mrm_read_l0_data().