Kgen seawater composition correction function
calc_seawater_correction(
k,
sal,
temp_c,
magnesium = 0.0528171,
calcium = 0.0102821,
method = "r_polynomial"
)
list of seawater correction factors
K to be calculated
Salinity
Temperature (Celcius)
magnesium concentration in mol/kgsw. If None, modern is assumed (0.0528171). Should be the average magnesium concentration in seawater - a salinity correction is then applied to calculate the magnesium concentration in the sample.
calcium concentration in mol/kgsw. If None, modern is assumed (0.0102821). Should be the average calcium concentration in seawater - a salinity correction is then applied to calculate the magnesium concentration in the sample.
string describing method which should be either 'myami', 'myami_polynomial', or 'r_polynomial' (Default: 'r_polynomial').
Dennis Mayk