As per #140, there are far too many methods that deal with depth coordinates. Since #142 it is possible to use either a variable or its name interchangeably in most methods, making one of Convention.depth_coordinate or Convention.get_depth_name() et al superfluous. This PR drops Convention.get_depth_name() and similar methods in preference of using the coordinate variables directly.
As per #140, there are far too many methods that deal with depth coordinates. Since #142 it is possible to use either a variable or its name interchangeably in most methods, making one of
Convention.depth_coordinate
orConvention.get_depth_name()
et al superfluous. This PR dropsConvention.get_depth_name()
and similar methods in preference of using the coordinate variables directly.Closes https://github.com/csiro-coasts/emsarray/issues/138, https://github.com/csiro-coasts/emsarray/issues/140