argopy.xarray.ArgoAccessor.teos10#
- ArgoAccessor.teos10(vlist: list = ['SA', 'CT', 'SIG0', 'N2', 'PV', 'PTEMP'], inplace: bool = True)[source]#
Add TEOS10 variables to the dataset
By default, adds: ‘SA’, ‘CT’ Other possible variables: ‘SIG0’, ‘N2’, ‘PV’, ‘PTEMP’, ‘SOUND_SPEED’ Relies on the gsw library.
If one exists, the correct CF standard name will be added to the attrs.
- Parameters:
List with the name of variables to add. Must be a list containing one or more of the following string values:
SAAdds an absolute salinity variable
CTAdds a conservative temperature variable
SIG0Adds a potential density anomaly variable referenced to 0 dbar
N2Adds a buoyancy (Brunt-Vaisala) frequency squared variable. This variable has been regridded to the original pressure levels in the Dataset using a linear interpolation.
PVAdds a planetary vorticity variable calculated from \(\frac{f N^2}{\text{gravity}}\). This is not a TEOS-10 variable from the gsw toolbox, but is provided for convenience. This variable has been regridded to the original pressure levels in the Dataset using a linear interpolation.
PTEMPAdd potential temperature
SOUND_SPEEDAdd sound speed
CNDCAdd Electrical Conductivity
inplace (boolean, True by default) –
- If True, return the input
xarray.Datasetwith new TEOS10 variables added as a new
xarray.DataArray.
- If True, return the input
If False, return a
xarray.Datasetwith new TEOS10 variables
- Return type: