calculate_density_diff: Calculate density difference

Description Usage Arguments

View source: R/calculate_density_diff.R

Description

Import and manipulate CTD data to only get cast data from good quality bottom-trawl survey hauls, then calculate density difference between Z <=5 m and z = 50

Usage

1
2
3
4
5
6
calculate_density_diff(
  lower.depth = 50,
  upper.depth = 5,
  ctd.dat = paste0(seantools::root.dir(),
    "Thesis/Chapter 1/data/CTD/output/2019-04-11_ebs_shelf_ctd_2008_2018.rds")
)

Arguments

lower.depth

Lower depth for calculating density difference. Default = 50 m

upper.depth

Upper depth for calculating density difference. Default = 5 m averages density in the upper 5 m.

ctd.dat

File path to CTD data.


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