eWaterCycle / ewatercycle

Python package for running hydrological models
https://ewatercycle.readthedocs.io/en/latest/
Apache License 2.0
33 stars 5 forks source link

Unit conversion #69

Open sverhoeven opened 3 years ago

sverhoeven commented 3 years ago

To compare model output and observations they must be in the same units. However for example Marrmot outputs discharge in mm/day while GRDC uses m^3/s. It would be nice if there was a way to specify the unit of the model or have some utility method to perform unit conversions.

sverhoeven commented 3 years ago

To perform example unit conversion the area of the grid cell/catchment is needed. Having a way to get area from a shape file would also be nice.

Peter9192 commented 3 years ago

You can also do it the other way around. I think the GRDC station info include catchment area.

But indeed, changing units would be nice. Perhaps we can use the cf-units package?