Skip to content

filter_temporal not handling correctly TimeStamp #315

@clausmichele

Description

@clausmichele

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions