opc_process_cruise: Process multiple OPC casts

View source: R/opc.R

opc_process_cruiseR Documentation

Process multiple OPC casts

Description

Process all the OPC raw data files in data_dir and save processed downcasts in the output_dir. The naming convention extracts the cast number from the D00 file name, and saves each downcast according to the convention: (output_dir)/(cruise)_(cast).rds

Usage

opc_process_cruise(cruise, data_dir, output_dir = data_dir, overwrite = FALSE)

Arguments

cruise

prefix to add to each processed data file

data_dir

path to raw (D00) data files

output_dir

path to processed data files

overwrite

overwrite processed data? (default is FALSE)

Value

OPC tibble


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