Skip to content

Commit c3cb21e

Browse files
committed
Update usages
1 parent cd35d7f commit c3cb21e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/iris/analysis/cartography.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def _get_lon_lat_coords(cube):
169169
if "longitude" in coord.name()]
170170
if len(lat_coords) > 1 or len(lon_coords) > 1:
171171
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"
173173
" is currently disallowed")
174174
lat_coord = lat_coords[0]
175175
lon_coord = lon_coords[0]
@@ -379,7 +379,7 @@ def area_weights(cube, normalize=False):
379379

380380
# Get the lon and lat coords and axes
381381
try:
382-
lat, lon = _get_lat_lon_coords(cube)
382+
lon, lat = _get_lon_lat_coords(cube)
383383
except IndexError:
384384
raise ValueError('Cannot get latitude/longitude '
385385
'coordinates from cube {!r}.'.format(cube.name()))

0 commit comments

Comments
 (0)