stilt.flux.vertical_dim#

stilt.flux.vertical_dim(field)[source]#

Return the name of a field’s vertical dimension.

That is the one dimension that is neither horizontal nor time. Returns None for a field without one, such as a column mean or a surface field, and raises if there is more than one candidate.

Return type:

str | None

Parameters:

field (DataArray)