Skip to content

Commit

Permalink
remove year and month axes that aren't needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mathleur committed Feb 11, 2025
1 parent 0eb7f59 commit dc9de68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions polytope_feature/datacube/backends/fdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def check_branching_axes(self, request):
# TODO: When do these not appear??
self.fdb_coordinates.pop("direction", None)
self.fdb_coordinates.pop("frequency", None)
self.fdb_coordinates.pop("year", None)
self.fdb_coordinates.pop("month", None)

# NOTE: verify that we also remove the axis object for axes we've removed here
axes_to_remove = set(self.complete_axes) - set(self.fdb_coordinates.keys())
Expand Down

0 comments on commit dc9de68

Please sign in to comment.