| java.lang.Object org.geotools.nature.SeaWater
SeaWater | final public class SeaWater (Code) | | Sea water properties as a function of salinity, temperature and pressure.
Density is computed using the 1980 definition of Equation of State (EOS80).
Units are:
- Salinity: Pratical Salinity Scale 1978 (PSS-78).
- Temperature: Celsius degrees according International Temperature Scale 1968 (ITS-68).
- Pressure: decibars (1 dbar = 10 kPa).
version: $Id: SeaWater.java 24765 2007-03-15 03:50:56Z desruisseaux $ author: Bernard Pelchat author: Martin Desruisseaux since: 2.1 |
Field Summary | |
final public static double | STANDARD_CONDUCTIVITY Conductivity (in mS/cm) of a standard sea water sample. |
Method Summary | |
public static double | adiabeticTemperatureGradient(double S, double T, double P) Computes adiabetic temperature gradient as a function of salinity, temperature and pressure.
Parameters: S - Salinity PSS-78. Parameters: T - Temperature (°C). Parameters: P - Pressure (dbar), not including atmospheric pressure. | public static double | conductivity(double S, double T, double P) Computes conductivity as a function of salinity, temperature and pressure.
Parameters: S - Salinity PSS-78 (0 to 42) Parameters: T - Temperature ITS-68 (-2 to 40°C) Parameters: P - Pressure (0 to 105 dbar), not including atmospheric pressure. | public static double | density(double S, double T, double P) Computes density as a function of salinity, temperature and pressure.
Parameters: S - Salinity PSS-78 (0 to 42) Parameters: T - Temperature ITS-68 (-2 to 40°C) Parameters: P - Pressure in decibars (0 to 105 dbar), not including atmospheric pressure. | public static double | densitySigmaT(double S, double T, double P) Computes density sigma-T as a function of salinity, temperature and pressure.
Density Sigma-T is equivalent to the true density minus 1000 kg/m³, and
has typical values around 35. | public static double | depth(double P, double lat) Computes depth as a function of pressure and latitude. | public static double | fusionTemperature(double S, double P) Computes fusion temperature (melting point) as a function of salinity and pressure.
Parameters: S - Salinity PSS-78. Parameters: P - Pressure (dbar), not including atmospheric pressure. | public static double | salinity(double C, double T, double P) Computes salinity as a function of conductivity, temperature and pressure.
Parameters: C - Conductivity in mS/cm (millisiemens by centimeters). | public static double | saturationO2(double S, double T) Computes saturation in disolved oxygen as a function of salinity and temperature.
Parameters: S - Salinity PSS-78. Parameters: T - Temperature (°C). | public static double | soundVelocity(double S, double T, double P) Computes sound velocity as a function of salinity, temperature and pressure.
Parameters: S - Salinity PSS-78. Parameters: T - Temperature (°C). Parameters: P - Pressure (dbar), not including atmospheric pressure. | public static double | specificHeat(double S, double T, double P) Computes specific heat as a function of salinity, temperature and pressure.
Parameters: S - Salinity PSS-78. Parameters: T - Temperature (°C). Parameters: P - Pressure (dbar), not including atmospheric pressure. | public static double | volume(double S, double T, double P) Computes volume as a function of salinity, temperature and pressure.
This quantity if the inverse of density. | public static double | volumeAnomaly(double S, double T, double P) Computes volumic anomaly as a function of salinity, temperature and pressure.
Volumic anomaly is defined as the sea water sample's volume minus a standard
sample's volume, where the standard sample is a sample of salinity 35, temperature
0°C and the same pressure. |
STANDARD_CONDUCTIVITY | final public static double STANDARD_CONDUCTIVITY(Code) | | Conductivity (in mS/cm) of a standard sea water sample.
S is for Siemens (or Mho, its the same...).
|
adiabeticTemperatureGradient | public static double adiabeticTemperatureGradient(double S, double T, double P)(Code) | | Computes adiabetic temperature gradient as a function of salinity, temperature and pressure.
Parameters: S - Salinity PSS-78. Parameters: T - Temperature (°C). Parameters: P - Pressure (dbar), not including atmospheric pressure. Adiabetic temperature gradient (°C/dbar). |
conductivity | public static double conductivity(double S, double T, double P)(Code) | | Computes conductivity as a function of salinity, temperature and pressure.
Parameters: S - Salinity PSS-78 (0 to 42) Parameters: T - Temperature ITS-68 (-2 to 40°C) Parameters: P - Pressure (0 to 105 dbar), not including atmospheric pressure. Conductivity in mS/cm. |
density | public static double density(double S, double T, double P)(Code) | | Computes density as a function of salinity, temperature and pressure.
Parameters: S - Salinity PSS-78 (0 to 42) Parameters: T - Temperature ITS-68 (-2 to 40°C) Parameters: P - Pressure in decibars (0 to 105 dbar), not including atmospheric pressure. Density (kg/m³). |
densitySigmaT | public static double densitySigmaT(double S, double T, double P)(Code) | | Computes density sigma-T as a function of salinity, temperature and pressure.
Density Sigma-T is equivalent to the true density minus 1000 kg/m³, and
has typical values around 35. This computation avoid some rouding errors
occuring in the true density computation.
Parameters: S - Salinity PSS-78 (0 to 42) Parameters: T - Temperature ITS-68 (-2 to 40°C) Parameters: P - Pressure in decibars (0 to 105 dbar), not including atmospheric pressure. Density Sigma-T (kg/m³). |
depth | public static double depth(double P, double lat)(Code) | | Computes depth as a function of pressure and latitude.
Parameters: P - Pressure (dbar), not including atmospheric pressure. Parameters: lat - Latitude in degrees (-90 to 90°) Depth (m). |
fusionTemperature | public static double fusionTemperature(double S, double P)(Code) | | Computes fusion temperature (melting point) as a function of salinity and pressure.
Parameters: S - Salinity PSS-78. Parameters: P - Pressure (dbar), not including atmospheric pressure. Melting point (°C). |
salinity | public static double salinity(double C, double T, double P)(Code) | | Computes salinity as a function of conductivity, temperature and pressure.
Parameters: C - Conductivity in mS/cm (millisiemens by centimeters). Multiplypar SeaWater.STANDARD_CONDUCTIVITY if C is not areal conductivity, but instead the ratio between the sample'sconductivity and the standard sample's conductivity. Parameters: T - Temperature ITS-68 (-2 to 40°C) Parameters: P - Pressure in decibars (0 to 105 dbar), not including atmospheric pressure. Salinity PSS-78. |
saturationO2 | public static double saturationO2(double S, double T)(Code) | | Computes saturation in disolved oxygen as a function of salinity and temperature.
Parameters: S - Salinity PSS-78. Parameters: T - Temperature (°C). Saturation in disolved oxygen (µmol/kg). |
soundVelocity | public static double soundVelocity(double S, double T, double P)(Code) | | Computes sound velocity as a function of salinity, temperature and pressure.
Parameters: S - Salinity PSS-78. Parameters: T - Temperature (°C). Parameters: P - Pressure (dbar), not including atmospheric pressure. Sound velocity (m/s). |
specificHeat | public static double specificHeat(double S, double T, double P)(Code) | | Computes specific heat as a function of salinity, temperature and pressure.
Parameters: S - Salinity PSS-78. Parameters: T - Temperature (°C). Parameters: P - Pressure (dbar), not including atmospheric pressure. Specific heat (J/(kg×°C)). |
volume | public static double volume(double S, double T, double P)(Code) | | Computes volume as a function of salinity, temperature and pressure.
This quantity if the inverse of density. This method is equivalent
to 1/
SeaWater.density density (S,T,P) .
Parameters: S - Salinity PSS-78 (0 to 42) Parameters: T - Temperature ITS-68 (-2 to 40°C) Parameters: P - Pressure in decibars (0 to 105 dbar), not including atmospheric pressure. Volume (m³/kg). |
volumeAnomaly | public static double volumeAnomaly(double S, double T, double P)(Code) | | Computes volumic anomaly as a function of salinity, temperature and pressure.
Volumic anomaly is defined as the sea water sample's volume minus a standard
sample's volume, where the standard sample is a sample of salinity 35, temperature
0°C and the same pressure. In pseudo-code,
volumeAnomaly is equivalent
to
SeaWater.volume volume (S,T,P)-
SeaWater.volume volume (35,0,P) .
Parameters: S - Salinity PSS-78 (0 to 42) Parameters: T - Temperature ITS-68 (-2 to 40°C) Parameters: P - Pressure in decibars (0 to 105 dbar), not including atmospheric pressure. Volumic anomaly (m³/kg). |
|
|