| vpr_ctd_read | R Documentation | 
Acts as a wrapper for ctd_df_cols
vpr_ctd_read(ctd_files, station_of_interest, day, hour, col_list)
ctd_files | 
 full file paths to vpr ctd   | 
station_of_interest | 
 VPR station name  | 
day | 
 Day of interest, if not provided will be pulled from file path  | 
hour | 
 Hour of interest, if not provided will be pulled from file path  | 
col_list | 
 Optional list of CTD data column names  | 
Reads CTD data and adds day, hour, and station information. Calculates sigma T and depth variables from existing CTD data to supplement raw data. If there are multiple hours of CTD data, combines them into single dataframe.
WARNING ctd_df_cols is hard coded to accept a specific
order of CTD data columns. The names and values in these columns can change
based on the specific instrument and should be updated/confirmed before processing data
from a new VPR.
E. Chisholm & K. Sorochan
station_of_interest <- 'test'
ctd_files <- system.file("extdata/COR2019002/rois/vpr5/d222", "h03ctd.dat",
package = "vprr", mustWork = TRUE)
ctd_dat_combine <- vpr_ctd_read(ctd_files, station_of_interest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.