File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
lib/iris/tests/unit/fileformats/netcdf/load_cube/load_cube__activate Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments