Skip to content

Commit

Permalink
Fixed is_gridded in predict_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
tnipen committed Jan 13, 2025
1 parent a97d828 commit 4d0705e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bris/predict_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def shape(self):

@property
def is_gridded(self):
return len(self.field_shape) == 2
return self.field_shape is not None and len(self.field_shape) == 2

@property
def grid_lats(self):
Expand Down

0 comments on commit 4d0705e

Please sign in to comment.