View source: R/tlu_get_casts.R
tlu_get_casts | R Documentation |
Description goes here... writes binned cast data to an rds file after interpolating missing surface values.
tlu_get_casts( directory_structure = NULL, survey, cast.dir = "downcast", time.buffer = 20, bin.size = 2, bin.gap = 6, agg.fun = geometric.mean, silent = TRUE, ... )
directory_structure |
File path to csv file that lists directories to be processed. |
survey |
RACE survey region as a character vector ("BS", "NBS", "AI", "GOA" or "SLOPE") |
cast.dir |
Cast direction, either "upcast" or "downcast" |
time.buffer |
Time buffer in seconds to add/subtract from upcast and downcast times. Default = 20 |
bin.size |
Passed to trawllight::filter_stepwise. Depth bin size for aggregating light measurements. Default = 2 |
bin.gap |
Passed to trawllight::filter_stepwise. Maximum allowable gap in observations before a profile is considered to not meet continuity standards. Default = 6 (i.e., three bins if bin.size = 2) |
agg.fun |
Function used to calculate summary statistic for a depth bin. Default = geometric.mean |
silent |
Passed to... |
... |
Optional arguments passed to filter_stepwise or calculate_attenuation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.