read.COPS: Read Compact Optical Profiling System (COPS) files in both...

View source: R/read.COPS.R

read.COPSR Documentation

Read Compact Optical Profiling System (COPS) files in both CSV and TSV formats

Description

Read Compact Optical Profiling System (COPS) files in both CSV and TSV formats

Usage

read.COPS(
  file,
  number.of.fields.before.date,
  instruments.optics = c("Ed0", "EdZ", "LuZ")
)

Arguments

file

is the file name without the full path

number.of.fields.before.date

is the number of fields begore the date in the file name. For example the file COPS_IML4_150626_1546_C_data_001.csv contains 2 fields before the date.

instruments.optics

is the radiometer ids contained in the file. The default is instruments.optics=c("Ed0", "EdZ", "LuZ")

Value

A long list is returned. It typically includes matrices for Ed0, Edz and LuZ or EuZ. For each sensor there is a vector of wavelengths (Ed0.waves, EdZ.waves, etc.). Various data frame are also found:

  • Ed0.anc contains two columns for Pitch and Roll;

  • EdZ.anc contains two columns for Pitch and Roll;

  • LuZ.anc or EuZ.anc contains two columns for Temperature and Depth;

  • Others contains other fields for time and BioShade (if available)

To access the Depth of the profiler, for instance, one need to ListName$LuZ.anc$Depth

Author(s)

Simon Belanger


belasi01/Cops documentation built on Feb. 26, 2024, 6:52 a.m.