VForWaTer / metacatalog

Modular metadata management platform for environmental data.
https://vforwater.github.io/metacatalog
GNU General Public License v3.0
4 stars 1 forks source link

`ResultList` needs an option to get harmonized data #160

Open mmaelicke opened 3 years ago

mmaelicke commented 3 years ago

Additionally, the ListExporter needs an option to apply a unified (temporal) scaling by cutting extent and aggregate resolution. For upscaling: remove (data) from the merged dataset if the resolution does not match the needed target scaling.

For all variables, a hardcoded mapping is defined, which may be overwritten by Entry.details.get('metacatalog').get('aggregation function')`:

Sum: <7> daily rainfall sum, <19> evaptranspiration, <20> drainage Max: <13> precision Mean: everything else.

Implement this only optionally, as .harmonize_scale and a property to yield the excluded Entry due to scaling

Originally posted by @mmaelicke in https://github.com/VForWaTer/metacatalog/issues/140#issuecomment-861356606