Skip to content

Commit

Permalink
make OutputTask always output timestamps if any (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
zigaLuksic authored Aug 18, 2023
1 parent 793eadf commit b056b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eolearn/core/eoworkflow_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ def execute(self, data: object) -> object:
possibly BBox and timestamps (see `copy` method of `EOPatch`).
"""
if isinstance(data, EOPatch):
return data.copy(features=self.features)
return data.copy(features=self.features, copy_timestamps=True)
return data

0 comments on commit b056b5f

Please sign in to comment.