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 3f8f2ad commit 5eb7753Copy full SHA for 5eb7753
climada/util/coordinates.py
@@ -97,6 +97,10 @@ def check_if_geo_coords(lat, lon):
97
lat, lon : ndarrays of floats, same shape
98
Latitudes and longitudes of points.
99
100
+ Raises
101
+ ------
102
+ ValueError : if lat or lon out of likely geographical coordinate bounds
103
+
104
Returns
105
-------
106
test : bool
@@ -120,7 +124,7 @@ def check_if_geo_coords(lat, lon):
120
124
" If you use degree values outside of these ranges,"
121
125
" please shift the coordinates to the valid ranges."
122
126
)
123
- return
127
+ return True
128
129
130
def get_crs_unit(coords):
0 commit comments