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
nCellsdimension whileexpansiondoes not, in which case both columns are evaluated with the one shared set of coefficients – which is the whole point of[edge-ref].- Parameters:
expansion (xarray.Dataset) – The edge-shared expansion from
edge_expansion().temperature (xarray.DataArray or float) – Conservative temperature in degC at which to evaluate.
salinity (xarray.DataArray or float) – Absolute salinity in g kg-1 at which to evaluate.
pressure (xarray.DataArray or float) – Sea gauge pressure in Pa at which to evaluate.
- Returns:
specvol (xarray.DataArray) – \(\hat\alpha^{(e)}\) in m3 kg-1, with the dimensions of the state arguments in their original order.