From 1095f2c6fd2a2bcfc23669e60061093bc0703873 Mon Sep 17 00:00:00 2001 From: Brian Blaylock Date: Thu, 31 Oct 2024 11:40:18 -0700 Subject: [PATCH] Update gefs.py --- herbie/models/gefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}].")