Skip to content

Commit 5ff2806

Browse files
committed
Increase allowed lon extent in is_geo_coords to avoid failing tests with ibtracks
1 parent cb5db5e commit 5ff2806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

climada/util/coordinates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def is_geo_coords(lat, lon):
114114
# and extent are smaller than 180 and 360 respectively
115115
return (
116116
lat.min() >= -91 and lat.max() <= 91 and lon.min() >= -541 and lon.max() <= 541
117-
) and ((lat.max() - lat.min()) <= 181 and (lon.max() - lon.min()) <= 361)
117+
) and ((lat.max() - lat.min()) <= 181 and ((lon.max() - lon.min()) <= 541))
118118

119119

120120
def check_if_geo_coords(lat, lon):

0 commit comments

Comments
 (0)