Skip to content

Commit 366a71f

Browse files
jirhikerCopilot
andauthored
Update schemas/well_inventory.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent eaf26b5 commit 366a71f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

schemas/well_inventory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def validate_model(self):
309309
if northern.upper() not in ("S", "N"):
310310
raise ValueError("Invalid utm zone. Must end in S or N. e.g 13N")
311311

312-
northern = self.utm_zone[-1] == "N"
312+
northern = self.utm_zone[-1].upper() == "N"
313313
lat, lon = utm.to_latlon(
314314
self.utm_easting, self.utm_northing, zone, northern=northern
315315
)

0 commit comments

Comments
 (0)