surface_light: Find surface light measurements during casts

Description Usage Arguments

Description

Uses cast start and end times to find concurrent measurements obtained by the deck-mounted archival tag, including a buffer. The buffer is added around the start and end times, so a 30 second buffer = one minute.

Usage

1
2
3
4
5
6
7
surface_light(
  light.data,
  cast.data,
  time.buffer = 30,
  agg.fun = trawllight::geometric.mean,
  ...
)

Arguments

light.data

Light measurements from the surface/deck archival tag.

cast.data

Haul event times indicating the start and end times for net deployment and retrival.

time.buffer

Time buffer before and after the start of the cast.

agg.fun

Function applied to calculate central tendency metric for light measurements sampled during the cast time window. Default trawllight::geometric.mean


sean-rohan/TLUtilities documentation built on Sept. 30, 2021, 2:34 a.m.