Open clausmichele opened 1 year ago
Agreed, this is an implementation gap from before that's never been addressed for lack of bandwidth - using pandas custom periods like you suggest sounds like a good idea to me! Would definitely be good to support all the predefined options.
The current implementation is missing some temporal periods which are not yet defined, since they are not pandas standard. Additionally, if an openEO period is being selected and it's not present in the python code, there's no warning and it will raise an Exception due to the frequency variable missing.
Some good examples for Pandas periods: https://regenerativetoday.com/a-complete-guide-to-time-series-analysis-in-pandas/
openEO process definition: https://processes.openeo.org/#aggregate_temporal_period
Missing openEO periods:
an idea could be to just define custom periods based on the inputs and re use
aggregate_temporal
.