Release Notes
mHM v5.13.1 (Aug 2023)
Enhancements
-
Meteo Coupling (!161)
- 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 defaultmeteo_timestep
: 1 or 24 to set the coupling meteo time-step in hours, 0 by defaultmeteo_time_ref_endpoint
: bool, whether the time-stamp of the coupled meteo data refers to the endpoint of the time interval, .false. by defaultmeteo_expect_pre
: bool, whether precipitation is expected from the coupling, .false. by defaultmeteo_expect_temp
: bool, whether temperature is expected from the coupling, .false. by defaultmeteo_expect_pet
: bool, whether PET is expected from the coupling, .false. by defaultmeteo_expect_tmin
: bool, whether daily min. temperature is expected from the coupling, .false. by defaultmeteo_expect_tmax
: bool, whether daily max. temperature is expected from the coupling, .false. by defaultmeteo_expect_netrad
: bool, whether net radiation is expected from the coupling, .false. by defaultmeteo_expect_absvappress
: bool, whether absolute vapour pressure is expected from the coupling, .false. by defaultmeteo_expect_windspeed
: bool, whether windspeed is expected from the coupling, .false. by defaultmeteo_expect_ssrd
: bool, whether short wave radiation is expected from the coupling, .false. by defaultmeteo_expect_strd
: bool, whether long wave radiation is expected from the coupling, .false. by defaultmeteo_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)
- 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
-
Python setup (!163)
- switching to scikit-build-core als build backend to be future-prove
- force using the Ninja build system, fixing the conda feedstock ninja patch
- mhm console script now always included
- slightly restructured python package to separate python files from wrapper for clean wheels
- editable installs more stable now
- cleaned up env-var configs for python installation
Bugfixes
- reset verbosity level when finalizing model
- Cmake: fixed compiling issue with Python bindings on MacOS using clang (see conda feedstock patch)
- Documentation: now built with doxygen 1.9.7 for better type documentations and some minor fixes (!167)