We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb5db5e commit 5ff2806Copy full SHA for 5ff2806
climada/util/coordinates.py
@@ -114,7 +114,7 @@ def is_geo_coords(lat, lon):
114
# and extent are smaller than 180 and 360 respectively
115
return (
116
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)
+ ) and ((lat.max() - lat.min()) <= 181 and ((lon.max() - lon.min()) <= 541))
118
119
120
def check_if_geo_coords(lat, lon):
0 commit comments