Skip to contents

OceanChlorophyll: OCx maximum band-ratio chlorophyll. VgpmProduction: Behrenfeld-Falkowski net primary production. EuphoticDepth: 1 percent light depth from K_d or a Secchi depth. Co2Flux: bulk air-sea CO2 flux (Wanninkhof 2014, Weiss 1974). OxygenSolubility: Garcia-Gordon oxygen solubility. PracticalSalinity: PSS-78 practical salinity. SplitWindowSst: NLSST split-window temperature. SedimentTransport: Shields number, critical Shields number and Meyer-Peter-Mueller bedload. OilSpillDrift: Lagrangian drift with Philox diffusion. PlumeConcentration: continuous point-source plume. DepthInvariantIndex: Lyzenga bottom index. FloatingAlgaeIndex, MangroveVegetationIndex, BareSoilIndex: spectral indices. Identical to the Python arm morie.fn.marine.

Usage

OceanChlorophyll(blue, green, algorithm = "OC4", coefficients = NULL)

EuphoticDepth(kd = NULL, secchi = NULL, fraction = 0.01)

VgpmProduction(chl, par, sst, day_length)

Co2Flux(u10, sst, sss, pco2_water, pco2_air, k0_units = "mol/L")

OxygenSolubility(temperature, salinity, units = "umol/kg")

PracticalSalinity(conductivity, temperature, pressure = 0)

SplitWindowSst(t11, t12, coefficients, sst_first_guess = NULL, zenith = 0)

SedimentTransport(tau, d, rho_s = 2650, rho = 1025, nu = 1.36e-06, g = 9.81)

OilSpillDrift(
  x0,
  y0,
  current,
  wind,
  hours,
  dt = 1,
  n_particles = 100,
  wind_factor = 0.03,
  diffusivity = 10,
  seed = 0
)

PlumeConcentration(x, y, load, u, depth, ky, decay = 0)

DepthInvariantIndex(band_i, band_j, deep_i, deep_j, sand_i, sand_j)

FloatingAlgaeIndex(red, nir, swir, wavelengths = c(645, 859, 1240))

MangroveVegetationIndex(green, nir, swir1)

BareSoilIndex(blue, red, nir, swir)

Arguments

blue

Blue reflectance(s): vector, or matrix with one row per pixel.

green

Green reflectance.

algorithm

"OC4", "OC4v4", "OC3M" or "OC2".

coefficients

Polynomial or split-window coefficients.

kd

Diffuse attenuation coefficient (1/m).

secchi

Secchi depth (m).

fraction

Light fraction at the euphotic depth.

chl

Chlorophyll (mg per cubic m).

par

Daily PAR (mol photons per square m per day).

sst

Sea-surface temperature (C).

day_length

Day length (h).

u10

Wind speed at 10 m (m/s).

sss

Salinity.

pco2_water, pco2_air

pCO2 (microatm).

k0_units

"mol/L" or "mol/kg".

temperature

Temperature (C).

salinity

Practical salinity.

units

"umol/kg" or "ml/l".

conductivity

Conductivity (mS/cm).

pressure

Sea pressure (dbar).

t11, t12

Brightness temperatures.

sst_first_guess

First-guess temperature (NULL uses t11).

zenith

Satellite zenith angle (degrees).

tau

Bed shear stress (Pa).

d

Grain diameter (m).

rho_s, rho

Sediment and water densities.

nu

Kinematic viscosity.

g

Gravity.

x0, y0

Release position (m).

current, wind

Constant (u, v) velocities (m/s).

hours

Duration (h).

dt

Time step (h).

n_particles

Number of particles.

wind_factor

Wind drift fraction.

diffusivity

Horizontal diffusivity (square m per s).

seed

Philox seed.

x, y

Receptor coordinates (m).

load

Discharge (mass per s).

u

Current speed.

depth

Water depth.

ky

Transverse diffusivity.

decay

First-order decay rate.

band_i, band_j

Band radiances or reflectances.

deep_i, deep_j

Deep-water signals.

sand_i, sand_j

Sand pixels at varying depth.

red, nir, swir, swir1

Reflectances.

wavelengths

Red, NIR and SWIR wavelengths (nm).

Value

A number, vector or list.

References

O'Reilly, J. E. et al. (1998). Ocean color chlorophyll algorithms for SeaWiFS. Journal of Geophysical Research 103, 24937-24953.

Behrenfeld, M. J. and Falkowski, P. G. (1997). Photosynthetic rates derived from satellite-based chlorophyll concentration. Limnology and Oceanography 42, 1-20.

Wanninkhof, R. (2014). Relationship between wind speed and gas exchange over the ocean revisited. Limnology and Oceanography: Methods 12, 351-362.

Garcia, H. E. and Gordon, L. I. (1992). Oxygen solubility in seawater: better fitting equations. Limnology and Oceanography 37, 1307-1312.

UNESCO (1983). Algorithms for computation of fundamental properties of seawater. UNESCO Technical Papers in Marine Science 44.

Lyzenga, D. R. (1981). Remote sensing of bottom reflectance and water attenuation parameters in shallow water using aircraft and Landsat data. International Journal of Remote Sensing 2, 71-82.

Hu, C. (2009). A novel ocean color index to detect floating algae in the global oceans. Remote Sensing of Environment 113, 2118-2129.

Examples

OxygenSolubility(10, 35)
#> [1] 274.5957
PracticalSalinity(42.914, 15 / 1.00024)
#> [1] 35
Co2Flux(7, 20, 35, 420, 400)$flux
#> [1] 1.948589