Learn R Programming

oce (version 1.7-10)

as.ladp: 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,
  ...
)

Value

An ladp object.

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.

Author

Dan Kelley

See Also

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