xarray.Dataset.argo.teos10#

Dataset.argo.teos10(vlist: list = ['SA', 'CT', 'SIG0', 'N2', 'PV', 'PTEMP'], inplace: bool = True)#

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:
  • vlist (list(str)) –

    List with the name of variables to add. Must be a list containing one or more of the following string values:

    • SA

      Adds an absolute salinity variable

    • CT

      Adds a conservative temperature variable

    • SIG0

      Adds a potential density anomaly variable referenced to 0 dbar

    • N2

      Adds a buoyancy (Brunt-Vaisala) frequency squared variable. This variable has been regridded to the original pressure levels in the Dataset using a linear interpolation.

    • PV

      Adds 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.

    • PTEMP

      Add potential temperature

    • SOUND_SPEED

      Add sound speed

    • CNDC

      Add Electrical Conductivity

  • inplace (boolean, True by default) –

Return type:

xarray.Dataset