Skip to content

Commit

Permalink
small changes to metadata.py
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorVerhaert committed Feb 29, 2024
1 parent 80a8eef commit a48552e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openeo/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,11 @@ class CubeMetadata:

def __init__(self, dimensions: Optional[List[Dimension]] = None):
# Original collection metadata (actual cube metadata might be altered through processes)
self._dimensions = None
self._dimensions = dimensions
self._band_dimension = None
self._temporal_dimension = None

if dimensions is not None:
self._dimensions = dimensions
for dim in self._dimensions:
# TODO: here we blindly pick last bands or temporal dimension if multiple. Let user choose?
# TODO: add spacial dimension handling?
Expand Down

0 comments on commit a48552e

Please sign in to comment.