polaris.tasks.ocean.horiz_press_grad.eos_expansion.edge_specvol

polaris.tasks.ocean.horiz_press_grad.eos_expansion.edge_specvol(expansion: Dataset, temperature: DataArray | float, salinity: DataArray | float, pressure: DataArray | float) → DataArray[source]

Evaluate the edge-shared profile [alpha-taylor] at a given state.

The arguments may carry an nCells dimension while expansion does not, in which case both columns are evaluated with the one shared set of coefficients – which is the whole point of [edge-ref].

Parameters:
Returns:

specvol (xarray.DataArray) – \(\hat\alpha^{(e)}\) in m3 kg-1, with the dimensions of the state arguments in their original order.