coupling: coupling configuration for meteo data
Enhancements
-
Meteo Coupling (!161 (merged))
- added coupling capabilities for meteo data to mHM
- new namelist
coupling
inmhm.nml
with the following entries:-
case
: 0 or 1 to dis-/enable coupling, 0 by default -
meteo_timestep
: 1 or 24 to set the coupling meteo time-step in hours, 0 by default -
meteo_time_ref_endpoint
: bool, whether the time-stamp of the coupled meteo data refers to the endpoint of the time interval, .false. by default -
meteo_expect_pre
: bool, whether precipitation is expected from the coupling, .false. by default -
meteo_expect_temp
: bool, whether temperature is expected from the coupling, .false. by default -
meteo_expect_pet
: bool, whether PET is expected from the coupling, .false. by default -
meteo_expect_tmin
: bool, whether daily min. temperature is expected from the coupling, .false. by default -
meteo_expect_tmax
: bool, whether daily max. temperature is expected from the coupling, .false. by default -
meteo_expect_netrad
: bool, whether net radiation is expected from the coupling, .false. by default -
meteo_expect_absvappress
: bool, whether absolute vapour pressure is expected from the coupling, .false. by default -
meteo_expect_windspeed
: bool, whether windspeed is expected from the coupling, .false. by default -
meteo_expect_ssrd
: bool, whether short wave radiation is expected from the coupling, .false. by default -
meteo_expect_strd
: bool, whether long wave radiation is expected from the coupling, .false. by default -
meteo_expect_tann
: bool, whether annual mean air temperature is expected from the coupling, .false. by default
-
- new namelist entry in
directories_mHM
:-
dir_meteo_header
: folder containing the ascii header for level2, to be used when precipitation is coupled and not present, by default<dir_Precipitation>
-
-
Python bindings (!161 (merged))
- added unit-tests for coupling meteo data
- added
get_mask
to get domain mask for selected level - added
compressed
argument toget_variable
to get flat array - added
set_meteo
routine to set meteo-data for current time-step (uses newmhm.set.meteo
low level function) - added
mhm.model.config_coupling
to set coupling configuration as an alternative to thecoupling
namelist - added
mhm.get.number_of_horizons
to get the number of horizons of the current setup
Bugfixes
- Cmake: fixed compiling issue with Python bindings on MacOS using clang (see conda feedstock patch)
- reset verbosity level when finalizing model
Edited by Sebastian Müller