mHM merge requestshttps://git.ufz.de/mhm/mhm/-/merge_requests2021-07-21T17:21:11+02:00https://git.ufz.de/mhm/mhm/-/merge_requests/87Release 5.11.22021-07-21T17:21:11+02:00Sebastian MüllerRelease 5.11.2## mHM v5.11.2 (Jul 2021)
### Enhancements
- documentation modernized with [doxygen-awesome-css](https://github.com/jothepro/doxygen-awesome-css) (!86)
- cmake update to be able to install mHM (`cmake --install`) (!85)
- added pFUnit t...## mHM v5.11.2 (Jul 2021)
### Enhancements
- documentation modernized with [doxygen-awesome-css](https://github.com/jothepro/doxygen-awesome-css) (!86)
- cmake update to be able to install mHM (`cmake --install`) (!85)
- added pFUnit tests thanks to Nicola Döring (!76)
- link to a new [YouTube tutorial](https://youtu.be/FGJOcYEzbP4) for compiling mHM with cygwin by Mehmet Cüneyd Demirel added to the documentation (!74)
- NetCDF output: add deflate and precision option to namelists (!73)
- refactor cmake workflow (!72)
### Bugfixes
- fixed: `mrm` tried to write output even if routing was switched off (!82)
- unreachable `else` branch in `feddes_et_reduction` removed (!77)
- unnecessary `inout` variable intent in `soil_moisture` removed (!77)v5.11.2Sebastian MüllerSebastian Müllerhttps://git.ufz.de/mhm/mhm/-/merge_requests/77Solve issues #186 and #1872021-07-21T17:00:00+02:00Nicola Nadine DöringSolve issues #186 and #187v5.11.2Nicola Nadine DöringNicola Nadine Döringhttps://git.ufz.de/mhm/mhm/-/merge_requests/82Update mo_mhm_eval.f902021-07-21T17:00:00+02:00Rohini KumarUpdate mo_mhm_eval.f90Bug for the writing of routing related variables fix.Bug for the writing of routing related variables fix.v5.11.2Sebastian MüllerSebastian Müllerhttps://git.ufz.de/mhm/mhm/-/merge_requests/72Refactor: Enable pFUnit-tests and refactor cmake workflow2021-07-21T17:00:00+02:00Sebastian MüllerRefactor: Enable pFUnit-tests and refactor cmake workflowThis merge refactors the whole cmake workflow:
- create cmake modules:
- `checkfortranpreprocessor.cmake`: check for `-fpp` or `-cpp` and add function `cpp_definitions`
- `compileoptions.cmake`: add options for MPI, OpenMP, Lapack an...This merge refactors the whole cmake workflow:
- create cmake modules:
- `checkfortranpreprocessor.cmake`: check for `-fpp` or `-cpp` and add function `cpp_definitions`
- `compileoptions.cmake`: add options for MPI, OpenMP, Lapack and Coverage
- `version.cmake`: read version and date from files `version.txt` and `version_date.txt`
- shrink `CMakeLists.txt` to only compile the executable from `mhm_driver.f90`
- add `CMakeLists.txt` in `src/` to compile `mhm_lib` from all `mo_*.f90` files
- refactor compiler flags (don't alter `CMAKE_Fortran_FLAGS` globally)
- safer setting of included and linked paths
- add `tests/` folder in `src/` containing pfUnit tests
- added message about usage of MPI and OpenMP in `mhm_driver.f90`
- Refactored Cmake options to have correct typev5.11.2Sebastian MüllerSebastian Müllerhttps://git.ufz.de/mhm/mhm/-/merge_requests/73NetCDF output: add deflate and precision option to namelists2021-07-21T17:00:00+02:00Sebastian MüllerNetCDF output: add deflate and precision option to namelistsCloses #170
This adds two options to `mhm_outputs.nml`:
- `output_deflate_level` to set deflate level of NetCDF output file (default 6)
- `output_double_precision` to set NetCDF output type to double, otherwise it's float (default .tru...Closes #170
This adds two options to `mhm_outputs.nml`:
- `output_deflate_level` to set deflate level of NetCDF output file (default 6)
- `output_double_precision` to set NetCDF output type to double, otherwise it's float (default .true.)
Same for `mrm_outputs.nml`:
- `output_deflate_level_mrm` to set deflate level of NetCDF output file (default 6)
- `output_double_precision_mrm` to set NetCDF output type to double, otherwise it's float (default .true.)v5.11.2Sebastian MüllerSebastian Müllerhttps://git.ufz.de/mhm/mhm/-/merge_requests/74Update INSTALL.md2021-07-21T17:00:00+02:00Mehmet Cüneyd DemirelUpdate INSTALL.mdStep by step cygwin installation of mhm and newly created youtube video link for mhm v5.11.1Step by step cygwin installation of mhm and newly created youtube video link for mhm v5.11.1v5.11.2Sebastian MüllerSebastian Müllerhttps://git.ufz.de/mhm/mhm/-/merge_requests/76pFUnit tests2021-07-21T17:00:00+02:00Nicola Nadine DöringpFUnit testsAdd unit tests for:
- mo_canopy_interc
- mo_grid
- mo_pet
- mo_runoff
- mo_snow_accum_melt
- mo_soil_moisture
- mo_spatial_agg_disagg_forcing
- mo_temporal_disagg_forcingAdd unit tests for:
- mo_canopy_interc
- mo_grid
- mo_pet
- mo_runoff
- mo_snow_accum_melt
- mo_soil_moisture
- mo_spatial_agg_disagg_forcing
- mo_temporal_disagg_forcingv5.11.2Sebastian MüllerSebastian Müllerhttps://git.ufz.de/mhm/mhm/-/merge_requests/85CMake: Conda preperations and switch for driver compilation2021-07-21T17:00:00+02:00Sebastian MüllerCMake: Conda preperations and switch for driver compilationMinor update of the CMakeLists.txt file to enable installation.
This is needed to install mHM from a conda recipe.
In addition, I added a switch for CMake to enable/disable the compilation of the driver.
This makes it possible to solely...Minor update of the CMakeLists.txt file to enable installation.
This is needed to install mHM from a conda recipe.
In addition, I added a switch for CMake to enable/disable the compilation of the driver.
This makes it possible to solely compile mHM as a library.v5.11.2Sebastian MüllerSebastian Müllerhttps://git.ufz.de/mhm/mhm/-/merge_requests/86DOC: Modernize documentation2021-07-21T17:00:00+02:00Sebastian MüllerDOC: Modernize documentationModernizing the documentation using https://github.com/jothepro/doxygen-awesome-cssModernizing the documentation using https://github.com/jothepro/doxygen-awesome-cssv5.11.2Sebastian MüllerSebastian Müllerhttps://git.ufz.de/mhm/mhm/-/merge_requests/71CI: fetch also master branch to build doc2021-07-08T18:30:01+02:00Sebastian MüllerCI: fetch also master branch to build docPresent `master` branch was not fetched with gitlab runner when building documentation.
This lead to a build of an older version of the documentation for `stable`.
Fixed by adding the `--all` flag to the `git fetch` call.Present `master` branch was not fetched with gitlab runner when building documentation.
This lead to a build of an older version of the documentation for `stable`.
Fixed by adding the `--all` flag to the `git fetch` call.v5.11.2Sebastian MüllerSebastian Müllerhttps://git.ufz.de/mhm/mhm/-/merge_requests/81Fix the bug in mo_mhm_eval related to writing variables related to routing pr...2021-07-08T18:27:19+02:00Rohini KumarFix the bug in mo_mhm_eval related to writing variables related to routing processClosing: #194
in mo_mhm_eval.f90: fix the bug in mhm_eval related to writing variables related to routing process; when this process is switched off (process_martix(8,1) .EQ. 0).Closing: #194
in mo_mhm_eval.f90: fix the bug in mhm_eval related to writing variables related to routing process; when this process is switched off (process_martix(8,1) .EQ. 0).v5.11.2Sebastian MüllerSebastian Müller