csiro-coasts / emsarray

xarray extension that supports EMS model formats
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

Consolidate the different ways of finding depth coordinates #140

Closed mx-moth closed 4 months ago

mx-moth commented 4 months ago

In no particular order, there is:

The Convention.get_depth_name() and Convention.get_all_depth_names() methods seem superfluous. They can be replaced with Convention.depth_coordinate.name or [c.name for c in Convention.depth_coordinates] respectively.

mx-moth commented 4 months ago

Closed by #143