Package: gsw 1.2-0

Dan Kelley

gsw: Gibbs Sea Water Functions

Provides an interface to the Gibbs 'SeaWater' ('TEOS-10') C library, version 3.06-16-0 (commit '657216dd4f5ea079b5f0e021a4163e2d26893371', dated 2022-10-11, available at <https://github.com/TEOS-10/GSW-C>, which stems from 'Matlab' and other code written by members of Working Group 127 of 'SCOR'/'IAPSO' (Scientific Committee on Oceanic Research / International Association for the Physical Sciences of the Oceans).

Authors:Dan Kelley [aut, cre, cph], Clark Richards [aut, cph], WG127 SCOR/IAPSO [aut, cph]

gsw_1.2-0.tar.gz
gsw_1.2-0.zip(r-4.5)gsw_1.2-0.zip(r-4.4)gsw_1.2-0.zip(r-4.3)
gsw_1.2-0.tgz(r-4.4-x86_64)gsw_1.2-0.tgz(r-4.4-arm64)gsw_1.2-0.tgz(r-4.3-x86_64)gsw_1.2-0.tgz(r-4.3-arm64)
gsw_1.2-0.tar.gz(r-4.5-noble)gsw_1.2-0.tar.gz(r-4.4-noble)
gsw_1.2-0.tgz(r-4.4-emscripten)gsw_1.2-0.tgz(r-4.3-emscripten)
gsw.pdf |gsw.html
gsw/json (API)
NEWS

# Install 'gsw' in R:
install.packages('gsw', repos = c('https://teos-10.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/teos-10/gsw-r/issues

Datasets:
  • saar - Global SA lookup file

On CRAN:

gibbsoceanographyseawaterteos-10

155 exports 8 stars 3.54 score 0 dependencies 19 dependents 246 scripts 2.2k downloads

Last updated 30 days agofrom:5cde3d00d0. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 19 2024
R-4.5-win-x86_64OKAug 19 2024
R-4.5-linux-x86_64OKAug 19 2024
R-4.4-win-x86_64OKAug 19 2024
R-4.4-mac-x86_64OKAug 19 2024
R-4.4-mac-aarch64OKAug 19 2024
R-4.3-win-x86_64OKAug 19 2024
R-4.3-mac-x86_64OKAug 19 2024
R-4.3-mac-aarch64OKAug 19 2024

Exports:argfixgsw_adiabatic_lapse_rate_from_CTgsw_adiabatic_lapse_rate_icegsw_alphagsw_alpha_on_betagsw_alpha_wrt_t_exactgsw_alpha_wrt_t_icegsw_betagsw_beta_const_t_exactgsw_C_from_SPgsw_cabbelinggsw_chem_potential_water_icegsw_chem_potential_water_t_exactgsw_cp_icegsw_cp_t_exactgsw_CT_first_derivativesgsw_CT_first_derivatives_wrt_t_exactgsw_CT_freezinggsw_CT_freezing_first_derivativesgsw_CT_freezing_first_derivatives_polygsw_CT_freezing_polygsw_CT_from_enthalpygsw_CT_from_entropygsw_CT_from_ptgsw_CT_from_rhogsw_CT_from_tgsw_CT_maxdensitygsw_CT_second_derivativesgsw_deltaSA_from_SPgsw_dilution_coefficient_t_exactgsw_dynamic_enthalpygsw_enthalpygsw_enthalpy_CT_exactgsw_enthalpy_diffgsw_enthalpy_first_derivativesgsw_enthalpy_first_derivatives_CT_exactgsw_enthalpy_icegsw_enthalpy_second_derivativesgsw_enthalpy_second_derivatives_CT_exactgsw_enthalpy_t_exactgsw_entropy_first_derivativesgsw_entropy_from_ptgsw_entropy_from_tgsw_entropy_icegsw_entropy_second_derivativesgsw_Fdeltagsw_frazil_propertiesgsw_frazil_properties_potentialgsw_frazil_properties_potential_polygsw_frazil_ratios_adiabaticgsw_frazil_ratios_adiabatic_polygsw_geo_strf_dyn_heightgsw_geo_strf_dyn_height_1gsw_geo_strf_dyn_height_pcgsw_gibbsgsw_gibbs_icegsw_gravgsw_Helmholtz_energy_icegsw_ice_fraction_to_freeze_seawatergsw_infunnelgsw_internal_energygsw_internal_energy_icegsw_IPV_vs_fNsquared_ratiogsw_kappagsw_kappa_const_t_icegsw_kappa_icegsw_kappa_t_exactgsw_latentheat_evap_CTgsw_latentheat_evap_tgsw_latentheat_meltinggsw_melting_ice_equilibrium_SA_CT_ratiogsw_melting_ice_equilibrium_SA_CT_ratio_polygsw_melting_ice_into_seawatergsw_melting_ice_SA_CT_ratiogsw_melting_ice_SA_CT_ratio_polygsw_melting_seaice_into_seawatergsw_Nsquaredgsw_O2solgsw_O2sol_SP_ptgsw_p_from_zgsw_pot_enthalpy_from_pt_icegsw_pot_enthalpy_from_pt_ice_polygsw_pot_enthalpy_ice_freezinggsw_pot_enthalpy_ice_freezing_first_derivativesgsw_pot_enthalpy_ice_freezing_first_derivatives_polygsw_pot_enthalpy_ice_freezing_polygsw_pot_rho_t_exactgsw_pressure_coefficient_icegsw_pressure_freezing_CTgsw_pt_first_derivativesgsw_pt_from_CTgsw_pt_from_entropygsw_pt_from_pot_enthalpy_icegsw_pt_from_pot_enthalpy_ice_polygsw_pt_from_tgsw_pt_from_t_icegsw_pt_second_derivativesgsw_pt0_from_tgsw_pt0_from_t_icegsw_rhogsw_rho_alpha_betagsw_rho_first_derivativesgsw_rho_first_derivatives_wrt_enthalpygsw_rho_icegsw_rho_second_derivativesgsw_rho_second_derivatives_wrt_enthalpygsw_rho_t_exactgsw_SA_freezing_from_CTgsw_SA_freezing_from_CT_polygsw_SA_freezing_from_tgsw_SA_freezing_from_t_polygsw_SA_from_rhogsw_SA_from_SPgsw_SA_from_SP_Balticgsw_SA_from_Sstargsw_SAARgsw_seaice_fraction_to_freeze_seawatergsw_sigma0gsw_sigma1gsw_sigma2gsw_sigma3gsw_sigma4gsw_sound_speedgsw_sound_speed_icegsw_sound_speed_t_exactgsw_SP_from_Cgsw_SP_from_SAgsw_SP_from_SKgsw_SP_from_SRgsw_SP_from_Sstargsw_SP_salinometergsw_specvolgsw_specvol_alpha_betagsw_specvol_anom_standardgsw_specvol_first_derivativesgsw_specvol_first_derivatives_wrt_enthalpygsw_specvol_icegsw_specvol_second_derivativesgsw_specvol_second_derivatives_wrt_enthalpygsw_specvol_t_exactgsw_spiciness0gsw_spiciness1gsw_spiciness2gsw_SR_from_SPgsw_Sstar_from_SAgsw_Sstar_from_SPgsw_t_deriv_chem_potential_water_t_exactgsw_t_freezinggsw_t_freezing_first_derivativesgsw_t_freezing_first_derivatives_polygsw_t_from_CTgsw_t_from_pt0_icegsw_thermobaricgsw_Turner_Rsubrhogsw_z_from_p

Dependencies:

gsw

Rendered fromgsw.Rmdusingknitr::rmarkdownon Aug 19 2024.

Last update: 2022-10-17
Started: 2016-09-14

Readme and manuals

Help Manual

Help pageTopics
Reshape list elements to match that of the first elementargfix
Adiabatic Lapse Rategsw_adiabatic_lapse_rate_from_CT
Adiabatic Lapse Rate of Icegsw_adiabatic_lapse_rate_ice
Thermal expansion coefficient with respect to Conservative Temperaturegsw_alpha
Thermal expansion coefficient over haline contraction coefficientgsw_alpha_on_beta
Thermal expansion coefficient with respect to in-situ temperaturegsw_alpha_wrt_t_exact
Ice Thermal Expansion Coefficient with Respect to in-situ Temperaturegsw_alpha_wrt_t_ice
Haline contraction coefficient at constant Conservative Temperaturegsw_beta
Haline contraction coefficient at constant in-situ temperaturegsw_beta_const_t_exact
Electrical Conductivity from Practical Salinitygsw_C_from_SP
Cabbeling coefficientgsw_cabbeling
Chemical Potential of Icegsw_chem_potential_water_ice
Chemical Potential of Water in Seawatergsw_chem_potential_water_t_exact
Specific heat to icegsw_cp_ice
Isobaric heat capacitygsw_cp_t_exact
First Derivatives of Conservative Temperaturegsw_CT_first_derivatives
Derivatives of Conservative Temperature with Respect to or at Constant in-situ Temperaturegsw_CT_first_derivatives_wrt_t_exact
Conservative Temperature of Freezing Seawatergsw_CT_freezing
First Derivatives of Conservative Temperature for Freezing Watergsw_CT_freezing_first_derivatives
First Derivatives of Conservative Temperature for Freezing Water (Polynomial version)gsw_CT_freezing_first_derivatives_poly
Conservative Temperature Freezing Point (Polynomial version)gsw_CT_freezing_poly
Conservative Temperature from Enthalpygsw_CT_from_enthalpy
Conservative Temperature from Entropygsw_CT_from_entropy
Conservative Temperature from Potential Temperaturegsw_CT_from_pt
Conservative Temperature from Density, Absolute Salinity and Pressuregsw_CT_from_rho
Convert from temperature to conservative temperaturegsw_CT_from_t
Conservative Temperature at Maximum Densitygsw_CT_maxdensity
Second Derivatives of Conservative Temperaturegsw_CT_second_derivatives
Absolute Salinity Anomaly from Practical Salinitygsw_deltaSA_from_SP
Dilution coefficientgsw_dilution_coefficient_t_exact
Dynamic enthalpy of seawater (75-term equation)gsw_dynamic_enthalpy
Specific enthalpy of seawater (75-term equation)gsw_enthalpy
Seawater Specific Enthalpy in terms of Conservative Temperaturegsw_enthalpy_CT_exact
Specific Enthalpy Difference with Pressuregsw_enthalpy_diff
First Derivatives of Enthalpygsw_enthalpy_first_derivatives
First Derivatives of Enthalpy wrt CTgsw_enthalpy_first_derivatives_CT_exact
Ice Specific Enthalpygsw_enthalpy_ice
Second Derivatives of Enthalpygsw_enthalpy_second_derivatives
Second Derivatives of Enthalpy (exact)gsw_enthalpy_second_derivatives_CT_exact
Seawater Specific Enthalpy in terms of in-situ Temperaturegsw_enthalpy_t_exact
First Derivatives of Entropygsw_entropy_first_derivatives
Specific Entropy ito Absolute Salinity and Potential Temperaturegsw_entropy_from_pt
Specific Entropy i.t.o. Absolute Salinity, Temperature, and Pressuregsw_entropy_from_t
Entropy of icegsw_entropy_ice
Second Derivatives of Entropygsw_entropy_second_derivatives
Ratio of Absolute to Preformed Salinity, minus 1gsw_Fdelta
Properties of Frazil icegsw_frazil_properties
Properties of Frazil ice i.t.o. potential enthalpygsw_frazil_properties_potential
Properties of Frazil ice i.t.o. potential enthalpy (polynomial version)gsw_frazil_properties_potential_poly
Ratios of SA, CT and p changes when Frazil Ice Formsgsw_frazil_ratios_adiabatic
Ratios of SA, CT and p changes when Frazil Ice Forms (polynomial form)gsw_frazil_ratios_adiabatic_poly
Geostrophic Dynamic Height Anomalygsw_geo_strf_dyn_height
Geostrophic Dynamic Height Anomaly (provisional version)gsw_geo_strf_dyn_height_1
Geostrophic Dynamic Height Anomaly (Piecewise-Constant Profile)gsw_geo_strf_dyn_height_pc
Gibbs Energy of Seawater, and its Derivativesgsw_gibbs
Gibbs Energy of Ice, and its Derivativesgsw_gibbs_ice
Gravitational Accelerationgsw_grav
Helmholtz Energy of Icegsw_Helmholtz_energy_ice
Ice Fraction to Cool Seawater to Freezinggsw_ice_fraction_to_freeze_seawater
Determine whether a point is inside the 'funnel' of acceptable valuesgsw_infunnel
Specific Internal Energy of Seawater (75-term equation)gsw_internal_energy
Specific Internal Energy of Ice (75-term equation)gsw_internal_energy_ice
Ratio of vert. gradient of pot. density to vert grad of locally-referenced pot densitygsw_IPV_vs_fNsquared_ratio
Isentropic Compressibility of Seawater (75-term equation)gsw_kappa
Isothermal Compressibility of Icegsw_kappa_const_t_ice
Isentropic Compressibility of Icegsw_kappa_ice
Isentropic compressibility of seawater (exact)gsw_kappa_t_exact
Latent heat of evaporationgsw_latentheat_evap_CT
Latent heat of evaporationgsw_latentheat_evap_t
Latent Heat of Meltinggsw_latentheat_melting
Calculate d(SA)/d(CT) for Ice Melting in near-freezing Seawatergsw_melting_ice_equilibrium_SA_CT_ratio
Calculate d(SA)/d(CT) for Ice Melting in near-freezing Seawater (Polynomial version)gsw_melting_ice_equilibrium_SA_CT_ratio_poly
Calculate properties related to ice melting in seawatergsw_melting_ice_into_seawater
Calculate d(SA)/d(CT) for Ice Melting in Seawatergsw_melting_ice_SA_CT_ratio
Calculate d(SA)/d(CT) for Ice Melting in Seawater (Polynomial version)gsw_melting_ice_SA_CT_ratio_poly
Calculate properties related to seaice melting in seawatergsw_melting_seaice_into_seawater
Calculate Brunt Vaisala Frequency squaredgsw_Nsquared
Oxygen Solubility in Seawater (GSW variables)gsw_O2sol
Oxygen Solubility in Seawater (UNESCO variables)gsw_O2sol_SP_pt
Pressure from height (75-term equation)gsw_p_from_z
Potential Enthalpy of Icegsw_pot_enthalpy_from_pt_ice
Potential Enthalpy of Ice (Polynomial version)gsw_pot_enthalpy_from_pt_ice_poly
Potential Enthalpy of Ice at Freezing Pointgsw_pot_enthalpy_ice_freezing
First Derivatives of Potential Enthalpygsw_pot_enthalpy_ice_freezing_first_derivatives
First Derivatives of Potential Enthalpy (Polynomial version)gsw_pot_enthalpy_ice_freezing_first_derivatives_poly
Potential Enthalpy of Ice at Freezing Point (Polynomial version)gsw_pot_enthalpy_ice_freezing_poly
Potential densitygsw_pot_rho_t_exact
Pressure Coefficient for Icegsw_pressure_coefficient_ice
Pressure at which Seawater Freezesgsw_pressure_freezing_CT
First Derivatives of Potential Temperaturegsw_pt_first_derivatives
Potential temperature from Conservative Temperaturegsw_pt_from_CT
Potential Temperature from Entropygsw_pt_from_entropy
Potential Temperature from Potential Enthalpy of Icegsw_pt_from_pot_enthalpy_ice
Potential Temperature from Potential Enthalpy of Ice (Polynomial version)gsw_pt_from_pot_enthalpy_ice_poly
Potential Temperature from in-situ Temperaturegsw_pt_from_t
Potential Temperature of Ice from in-situ Temperaturegsw_pt_from_t_ice
Second Derivatives of Potential Temperaturegsw_pt_second_derivatives
Potential temperature referenced to the surfacegsw_pt0_from_t
Potential Temperature of Ice Referenced to the Surfacegsw_pt0_from_t_ice
In-situ densitygsw_rho
In-situ density, thermal expansion coefficient and haline contraction coefficient (75-term equation)gsw_rho_alpha_beta
Density First Derivatives wrt SA, CT and p (75-term equation)gsw_rho_first_derivatives
Density First Derivatives wrt enthalpy (75-term equation)gsw_rho_first_derivatives_wrt_enthalpy
In-situ density of icegsw_rho_ice
Second Derivatives of Densitygsw_rho_second_derivatives
Second Derivatives of Density wrt Enthalpygsw_rho_second_derivatives_wrt_enthalpy
In-situ Density of Seawatergsw_rho_t_exact
Compute Absolute Salinity at Freezing Conservative Temperaturegsw_SA_freezing_from_CT
Compute Absolute Salinity at Freezing Point (Polynomial version)gsw_SA_freezing_from_CT_poly
Compute Absolute Salinity at Freezing in-situ Temperaturegsw_SA_freezing_from_t
Compute Absolute Salinity at Freezing in-situ Temperature (Polynomial version)gsw_SA_freezing_from_t_poly
Compute Absolute Salinity from Density, etcgsw_SA_from_rho
Convert from Practical Salinity to Absolute Salinitygsw_SA_from_SP
Convert from Practical Salinity to Absolute Salinity (Baltic)gsw_SA_from_SP_Baltic
Absolute Salinity from Preformed Salinitygsw_SA_from_Sstar
Absolute Salinity Anomaly Ratiogsw_SAAR
Sea ice Fraction to Cool Seawater to Freezinggsw_seaice_fraction_to_freeze_seawater
Potential density anomaly referenced to 0 dbargsw_sigma0
Potential density anomaly referenced to 1000 dbargsw_sigma1
Potential density anomaly referenced to 2000 dbargsw_sigma2
Potential density anomaly referenced to 3000 dbargsw_sigma3
Potential density anomaly referenced to 4000 dbargsw_sigma4
Sound speedgsw_sound_speed
Sound speed in icegsw_sound_speed_ice
Sound Speed in Seawatergsw_sound_speed_t_exact
Convert from Electrical Conductivity to Practical Salinitygsw_SP_from_C
Convert from Absolute Salinity to Practical Salinitygsw_SP_from_SA
Calculate Practical Salinity from Knudsen Salinitygsw_SP_from_SK
Calculate Practical Salinity from Reference Salinitygsw_SP_from_SR
Practical Salinity from Preformed Salinitygsw_SP_from_Sstar
Practical Salinity from Salinometer Readinggsw_SP_salinometer
Specific Volume of Seawatergsw_specvol
Specific Volume, alpha, and betagsw_specvol_alpha_beta
Specific volume anomaly [standard] (75-term equation)gsw_specvol_anom_standard
First Derivatives of Specific Volumegsw_specvol_first_derivatives
First Derivatives of Specific Volume wrt Enthalpygsw_specvol_first_derivatives_wrt_enthalpy
Specific Volume of Icegsw_specvol_ice
Second Derivatives of Specific Volumegsw_specvol_second_derivatives
Second Derivatives of Specific Volume wrt Enthalpygsw_specvol_second_derivatives_wrt_enthalpy
Specific Volume of Seawatergsw_specvol_t_exact
Seawater Spiciness at p=0 dbargsw_spiciness0
Seawater Spiciness at p=1000 dbargsw_spiciness1
Seawater Spiciness at p=2000 dbargsw_spiciness2
Calculate Reference Salinity from Practical Salinitygsw_SR_from_SP
Convert from Absolute Salinity to Preformed Salinitygsw_Sstar_from_SA
Convert from Practical Salinity to Preformed Salinitygsw_Sstar_from_SP
Derivative of Chemical Potential of Water in Seawater wrt Temperaturegsw_t_deriv_chem_potential_water_t_exact
Freezing Temperature of Seawatergsw_t_freezing
Derivatives of Freezing Water Propertiesgsw_t_freezing_first_derivatives
Derivatives of Freezing Water Properties (Polynomial version)gsw_t_freezing_first_derivatives_poly
In situ temperature from Conservative Temperaturegsw_t_from_CT
In situ Temperature from Potential Temperature at 0dbargsw_t_from_pt0_ice
Thermobaric coefficient (75-term equation)gsw_thermobaric
Turner Angle and Density Ratiogsw_Turner_Rsubrho
Height from Pressuregsw_z_from_p
Global SA lookup filesaar