as.ladp: Coerce Data Into an ladp object

View source: R/ladp.R

as.ladpR Documentation

Coerce Data Into an ladp object

Description

This function assembles vectors of pressure and velocity, possibly also with shears, salinity, temperature, etc.

Usage

as.ladp(
  longitude,
  latitude,
  station,
  time,
  pressure,
  u,
  v,
  uz,
  vz,
  salinity,
  temperature,
  ...
)

Arguments

longitude

longitude in degrees east, or an oce object that contains the data otherwise given by longitude and the other arguments.

latitude

latitude in degrees east (use negative in southern hemisphere).

station

number or string indicating station ID.

time

time at the start of the profile, constructed by e.g. as.POSIXct().

pressure

pressure in decibars, through the water column.

u

eastward velocity (m/s).

v

northward velocity (m/s).

uz

vertical derivative of eastward velocity (1/s).

vz

vertical derivative of northward velocity (1/s).

salinity

salinity through the water column, in practical salinity units.

temperature

temperature through the water column.

...

optional additional data columns.

Value

An ladp object.

Author(s)

Dan Kelley

See Also

Other things related to ladp data: [[,ladp-method, [[<-,ladp-method, ladp-class, plot,ladp-method, summary,ladp-method


oce documentation built on Sept. 11, 2024, 7:09 p.m.