Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/52 error subclass metadata specific must be implemented in derived class cropping #53

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Keep it human-readable, your future self will thank you!
- Add missing dependency for documentation building
- Fix failing test due to previous merge
- Bug fix when creating dataset from zarr
- Bug fix with area selection in cutout operation

### Removed

Expand Down
4 changes: 2 additions & 2 deletions src/anemoi/datasets/data/masked.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@ def __init__(self, forward, area):
def tree(self):
return Node(self, [self.forward.tree()], area=self.area)

def metadata_specific(self, **kwargs):
return super().metadata_specific(area=self.area, **kwargs)
def subclass_metadata_specific(self):
return dict(area=self.area)
Loading