O2NCP.transform: transform data to O2NCP format

View source: R/ncp.R

O2NCP.transformR Documentation

transform data to O2NCP format

Description

transform data to O2NCP format

Usage

O2NCP.transform(x)

Arguments

x

data frame of observations

Details

Function to take a typical time series of observations and convert to a start and end type data.frame for use with 'O2NCP.mean'. expects column headings to match the following format (order does not matter): dateTime = POSIXct, 'T' = temperature (oC), 'S' = salinity, 'C' = oxygen concentration (mmol m-3), 'u' = wind speed (m s-1), 'Pslp' = pressure at sea level (mbar), 'h' = mixed layer depth (m). Optionally 'Cb' = bottom oxygen (mmol m-3) if entrainment is to be calculated. Optionally 'hmin' for minimum mld for uncertainty analysis

Value

data frame in correct format for O2NCP


tomhull/airsea documentation built on Oct. 26, 2023, 3:29 a.m.