This notebook returns an error at the filter_temporal example KeyError: Timestamp('2022-05-10 00:00:00').
https://github.com/EO-College/cubes-and-clouds/blob/main/lectures/2.3_data_access/exercises/23_data_access_filter.ipynb
It is due to openeo-pg-parser-networkx parsing the selected time as TimeStamp type, which previously was not doing (e.g. with openeo-pg-parser-networkx==2024.1.1 it works fine).
To solve this, in the implementation of filter_temporal we should handle both types, TimeStamp and str.
This notebook returns an error at the
filter_temporalexampleKeyError: Timestamp('2022-05-10 00:00:00').https://github.com/EO-College/cubes-and-clouds/blob/main/lectures/2.3_data_access/exercises/23_data_access_filter.ipynb
It is due to
openeo-pg-parser-networkxparsing the selected time asTimeStamptype, which previously was not doing (e.g. withopeneo-pg-parser-networkx==2024.1.1it works fine).To solve this, in the implementation of
filter_temporalwe should handle both types,TimeStampandstr.