ec-jrc / lisflood-code

Lisflood OS - LISFLOOD
https://ec-jrc.github.io/lisflood
European Union Public License 1.2
118 stars 47 forks source link

Total water storage reporting #146

Closed doc78 closed 8 months ago

doc78 commented 8 months ago

This pull request applies @emiliano-gelati proposed changes related to computing and reporting total water storage, including reporting of few previously unreported storage components (CumIntSealedMaps, CumInterceptionIrrigationMaps, UZIrrigationMaps).

To reduce code repetition in src/lisflood/hydrological_modules/waterbalance.py, two methods are defined:

storage_channel storage_hillslope All tests (pytest tests/ and pytest tests/ -m "slow") passed.

It addresses issue https://github.com/ec-jrc/lisflood-code/issues/143