diff --git a/herbie/models/gefs.py b/herbie/models/gefs.py index 8c94df43..47cb710d 100644 --- a/herbie/models/gefs.py +++ b/herbie/models/gefs.py @@ -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}].")