Skip to content

Commit

Permalink
Update gefs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
blaylockbk authored Oct 31, 2024
1 parent 08d947e commit 1095f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion herbie/models/gefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def template(self):
# - Members 1-4 are the perturbation members
if self.member == 0:
member = f"c{self.member:02d}"
elif self.member > 0 and self.member < max_member_size:
elif self.member > 0 and self.member <= max_member_size:
member = f"p{self.member:02d}"
else:
raise ValueError(f"GEFS 'member' must be within range of [0 - {max_member_size}].")
Expand Down

0 comments on commit 1095f2c

Please sign in to comment.