Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
clausmichele committed Aug 10, 2023
1 parent e305891 commit 0c36e00
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ def filter_temporal(
# The specified instance in time is excluded from the interval.
# See https://processes.openeo.org/#filter_temporal

timestamps = data[applicable_temporal_dimension].values
# If the timestamps along the temporal dimensions are not equally spaced the simple slice will fail
# Therefore we need to find firstly exactly what are the closest timestamps available and use them
# for slicing
try:
filtered = data.loc[
{applicable_temporal_dimension: slice(start_time, end_time)}
Expand Down

0 comments on commit 0c36e00

Please sign in to comment.