Skip to content

Commit 3423526

Browse files
Remove old commented code
Co-authored-by: Sadie L. Bartholomew <[email protected]>
1 parent 00521ba commit 3423526

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

cf/regrid/regrid.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,21 +1547,6 @@ def Cartesian_grid(f, name=None, method=None, axes=None, z=None, ln_z=None):
15471547
featureType = None
15481548
mesh_location = None
15491549
axis1 = None
1550-
# elif featureType:
1551-
# if tuple(set(axis_keys)) == (axis1,):
1552-
# # There is a unique regridding axis, and it's the DSG
1553-
# # axis.
1554-
# axis_keys = axis_keys[0:1]
1555-
# axis_sizes = axis_sizes[0:1]
1556-
# elif axis1 in axis_keys:
1557-
# raise ValueError(
1558-
# "Can't do Cartesian regridding for a combination of "
1559-
# f"DSG and non-DSG axes: {axis_keys}"
1560-
# )
1561-
# else:
1562-
# # None of the regridding axes have are DSG axes
1563-
# featureType = None
1564-
# axis1 = None
15651550

15661551
if f.construct_type == "domain":
15671552
axis_indices = list(range(len(axis_keys)))
@@ -2304,7 +2289,6 @@ def create_esmpy_locstream(grid, mask=None):
23042289

23052290
esmpy_locstream["ESMF:Mask"] = mask
23062291

2307-
# print(esmpy_locstream)
23082292
return esmpy_locstream
23092293

23102294

0 commit comments

Comments
 (0)