Skip to content

Commit cda0043

Browse files
authored
Merge branch 'main' into feat/abstracting_accumulation
2 parents e4bb813 + 42b9e27 commit cda0043

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/anemoi/datasets/data/missing.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,3 +440,8 @@ def forwards_subclass_metadata_specific(self) -> dict[str, Any]:
440440
Metadata specific to the subclass.
441441
"""
442442
return {"start": self.start, "end": self.end}
443+
444+
@property
445+
def shape(self) -> tuple[int, ...]:
446+
"""Return the shape of the dataset."""
447+
return (len(self),) + self.forward.shape[1:]

0 commit comments

Comments
 (0)