Published August 24, 2023 | Version v5.13.1
Software Open

mhm-ufz/mHM: v5.13.1

Description

mHM v5.13.1 (Aug 2023)

Enhancements

  • Meteo Coupling (!161)

    • added coupling capabilities for meteo data to mHM
    • new namelist coupling in mhm.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)

    • added unit-tests for coupling meteo data
    • added get_mask to get domain mask for selected level
    • added compressed argument to get_variable to get flat array
    • added set_meteo routine to set meteo-data for current time-step (uses new mhm.set.meteo low level function)
    • added mhm.model.config_coupling to set coupling configuration as an alternative to the coupling 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)

Files

mhm-ufz/mHM-v5.13.1.zip

Files (109.3 MB)

Name Size Download all
md5:31071e9e958c655cb827330f479de7bb
109.3 MB Preview Download

Additional details

Related works

References