Skip to content

Commit 85752ca

Browse files
committed
Review: fix typos.
1 parent 9d9c350 commit 85752ca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/iris/tests/unit/fileformats/netcdf/load_cube/load_cube__activate/test__grid_mappings.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,18 @@ def _make_testcase_cdl(
100100
xdim_name = "xco"
101101
else:
102102
# use alternate dim-name, and put xco on the 'coords' list
103+
# This makes the X coord an aux-coord
103104
xdim_name = "xdim_altname"
104105
phenom_auxcoord_names.append("xco")
105106
if yco_is_dim:
106107
# ydim has same name as yco, making yco a dim-coord
107-
ydim_name = "yco" # This makes the X coord a dim-coord
108+
ydim_name = "yco" # This makes the Y coord a dim-coord
108109
else:
109110
# use alternate dim-name, and put yco on the 'coords' list
110-
ydim_name = "ydim_altname" # This makes the X coord a dim-coord
111+
# This makes the Y coord an aux-coord
112+
ydim_name = "ydim_altname"
111113
phenom_auxcoord_names.append("yco")
114+
112115
# Build a 'phenom:coords' string if needed.
113116
if phenom_auxcoord_names:
114117
phenom_coords_string = " ".join(phenom_auxcoord_names)

0 commit comments

Comments
 (0)