Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbuntemeyer committed Jun 23, 2024
1 parent 2fe5e1a commit 1a41439
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cordex/cmor/cmor.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def _define_axes(ds, table_id):
cmor_axis = [cmorLat, cmorLon]

# add z axis if required
if "Z" in ds.cf.coords:
if "Z" in ds.cf.dims:
z = ds.cf["Z"]
cmorZ = cmor.axis(
table_entry=z.name, coords_vals=z.to_numpy(), units=z.attrs.get("units")
Expand Down
1 change: 0 additions & 1 deletion cordex/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def domain_names(table_name=None):
def domain(
domain_id,
dummy=False,
add_vertices=False,
tables=None,
attrs=None,
mapping_name=None,
Expand Down

0 comments on commit 1a41439

Please sign in to comment.