opc_biomass: Calculate OPC biomass

View source: R/opc.R

opc_biomassR Documentation

Calculate OPC biomass

Description

Convert Equivalent Spherical Diameter (ESD) from the OPC into wet weight (in mg) per depth bin using the formula below which was developed by Suthers et al (2006) and implemented by Fortune et al (2020).

Usage

opc_biomass(
  df,
  dz = 2,
  min_size = 1,
  max_size = 6,
  good_only = TRUE,
  reject_volume = TRUE
)

Arguments

df

opc tibble

dz

depth bin width (meters)

min_size

minimum particle ESD (mm; default = 1)

max_size

maximum particle ESD (mm; default = 6)

good_only

use only good (unflagged) values

reject_volume

set concentration to NA for depth bins with <50% volume sampled

Details

wet_weight = 4/3 * pi * (esd/2)^3 * rho where rho = 1 mg / mm

Note that this is only applied to particles > 1 mm ESD

Value

tibble


hansenjohnson/opcr documentation built on Jan. 24, 2023, 5:04 a.m.