File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ def _get_lon_lat_coords(cube):
169
169
if "longitude" in coord .name ()]
170
170
if len (lat_coords ) > 1 or len (lon_coords ) > 1 :
171
171
raise ValueError (
172
- "Calling _get_lat_lon_coords() with multiple lat or lon coords"
172
+ "Calling `_get_lon_lat_coords` with multiple lat or lon coords"
173
173
" is currently disallowed" )
174
174
lat_coord = lat_coords [0 ]
175
175
lon_coord = lon_coords [0 ]
@@ -379,7 +379,7 @@ def area_weights(cube, normalize=False):
379
379
380
380
# Get the lon and lat coords and axes
381
381
try :
382
- lat , lon = _get_lat_lon_coords (cube )
382
+ lon , lat = _get_lon_lat_coords (cube )
383
383
except IndexError :
384
384
raise ValueError ('Cannot get latitude/longitude '
385
385
'coordinates from cube {!r}.' .format (cube .name ()))
You can’t perform that action at this time.
0 commit comments