Skip to content

Commit 8ce4f16

Browse files
author
Sterling Baldwin
committed
Fixes #389
1 parent f9ad3a8 commit 8ce4f16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conda_package/mpas_tools/ocean/depth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def add_depth(inFileName, outFileName, coordFileName=None):
111111
An MPAS-Ocean file with ``refBottomDepth``
112112
"""
113113

114-
if coordFileName is not None:
114+
if coordFileName is None:
115115
coordFileName = inFileName
116116

117117
ds = xarray.open_dataset(inFileName, mask_and_scale=False)

0 commit comments

Comments
 (0)