Learn R Programming

⚠️There's a newer version (1.8-3) of this package.Take me there.

oce (version 0.8-7)

Analysis of Oceanographic data

Description

Supports the analysis of Oceanographic data, including ADP measurements, CTD measurements, sectional data, sea-level time series, coastline files, etc. Provides functions for calculating seawater properties such as potential temperature and density, as well as derived properties such as buoyancy frequency and dynamic height.

Copy Link

Version

Install

install.packages('oce')

Monthly Downloads

2,596

Version

0.8-7

License

GPL (>= 2)

Maintainer

Dan Kelley

Last Published

April 5th, 2012

Functions in oce (0.8-7)

abbreviateTimeLabels

Abbreviate a list of times by removing commonalities (e.g. year)
detrend

Detrend a set of observations
findBottom

Find the ocean bottom in an echosounder object
GMTOffsetFromTz

Determine time offset from timezone
fullFilename

full name of file, including path
integerToAscii

Decode integer to corresponding ASCII code
airHalifax

Time-series of wind and temperature at Halifax, Canada.
adp-class

Class to store acoustic Doppler profiler data
applyMagneticDeclination

Earth magnetic declination
addColumn

Add a column to an oce object
drawIsopycnals

Draw isopycnal curves on an existing temperature-salinity plot
as.topo

Coerce data into topo dataset
angleRemap

Convert an angle from the 0:360 range to -180:180
bcdToInteger

Decode BCD to integer
drifter-class

Class to store drifter data, e.g. from an ARGOS float
drawPalette

Draw a palette on the right-hand side of plot device
geosecs235

GEOSECS station 235 data
as.ctd

Coerce data into ctd dataset
as.sealevel

Coerce data into sea-level dataset
oceSmooth

Smooth an oce object
airRho

Air density
findInOrdered

Find indices of tiems in an ordered vector
oceColors

Create a palette of colours
plot.adv

Plot ADV data
coastlineHalifax

Coastline data set, showing Halifax Harbour
ctd

Seawater CTD profile
rangeLimit

Substitute NA for data outside a range
lobo-class

Class to store LOBO data
binAverage

Bin-average a vector y, based on x values
munk

Munk's (1966) temperature profile
cm-class

Class to store current meter data
as.drifter

Coerce data into drifter dataset
interpBarnes

Grid data using Barnes algorithm
as.met

Coerce data into met dataset
oce.write.table

Write the data portion of object to a file
oceBisect

Find the root of a function by bisection
plot.tidem

Plot a tidal fit
read.adv

Read an ADV data file
redfieldNC

Redfield's (1934) NO3 and total CO2 data
as.lobo

Coerce data into lobo dataset
coastline-class

Class to store coastline data
as.tdr

Create a TDR object
beamToXyz

Convert ADV or ADP data between various coordinate systems
sectionGrid

Grid a section
enuToOtherAdp

Convert ADP from east-north-up coordinates to other coordinates
plot.windrose

Plot a wind rose diagram
despike

Remove spikes from a time series
extract

Extract data from an oce object
oce.plot.sticks

Draw a stick-plot diagram
coriolis

Coriolis parameter on rotating earth
sectionSort

Sort a section
formatCI

Format a confidence interval in parenthetic notation
gravity

Acceleration due to earth gravity
tdr-class

Class to store temperature-depth recorder data
swRho

Seawater density
coastlineMaritimes

Coastline data set, showing Maritime provinces of Canada
tidem-class

Class to store tidal-constituent models
sealevelTuktoyaktuk

Sea-level data set acquired in 1975 at Tuktoyaktuk
ctdRaw

Seawater CTD profile, without trimming of extraneous data
coastlineWorld

World coastline
beamToXyzAdv

Convert ADV from beam coordinates to xyz coordinates
lobo

lobo dataset
echosounder

echosounder dataset
rescale

Rescale values to lie in a given range
RRprofile

Seawater profile used by Reiniger and Ross (1968)
makeFilter

Make a digital filter
oceApprox

Interpolate with Reiniger-Ross algorithm
adv-class

Class to store acoustic Doppler velocimeter data
section

Seawater CTD section
ctdDecimate

Decimate a CTD profile
as.coastline

Coerce data into coastline dataset
fillGap

Fill a gap in an oce object
met

Sample meteorological object
plot.section

Plot a CTD section
as.windrose

Create a windrose object
head

Returns the first or last parts of an oce object.
enuToOtherAdv

Convert ADV from east-north-up coordinates to other coordinates
beamUnattenuateAdp

Unattenuate ADP beam signal strength
adp

ADP (acoustic-doppler profiler) dataset
ctdAddColumn

Add a column to a CTD file
oceFilter

Filter a time-series, possibly recursively
read.met

Read a meteorological data file
read.section

Read a section containing multiple CTD profiles
as.echosounder

Coerce data into echosounder dataset
summary.ctd

Summarize a CTD object
plot.coastline

Plot a coastline
beamToXyzAdp

Convert ADP from beam coordinates to xyz coordinates
byteToBinary

Format bytes as binary
plot.echosounder

Plot echosounder data
ctdUpdateHeader

Update a CTD header
swSpecificHeat

Seawater specific heat
drifter

ARGO drifter dataset
tdrTrim

Trim start/end portions of a tdr cast
echosounder-class

Class to store echosounder data
swSpice

Seawater spiciness
ctd-class

Class to store hydrographic data
decimate

Smooth and decimate an oce object
plot.lobo

Plot lobo data
coastlineSLE

Coastline of St Lawrence Estuary
formatPosition

Format geographical positions to degrees, minutes, and hemispheres
plotInset

Plot an inset diagram
imagep

Plot an image with a colour palette
plotProfile

Plot a CTD profile of various quantities
read.cm

Read a current-meter data file
summary.adv

Summarize an ADV object
drawDirectionField

Draw a direction field
read.echosounder

Read an echosounder data file
plotScan

Plot seawater data in a low-level fashion
met-class

Class to store meteorological data
section-class

Class to store hydrographic section data
useHeading

Replace the heading for one instrument with the heading for another
swTheta

Seawater potential temperature
plot.ctd

Plot seawater CTD data
predict.tidem

Predict a time series from a tidal model
read.coastline

Scan a coastline data file
summary.cm

Summarize a cm (current meter) object
write.ctd

Write a CTD data object as a .csv file
velocityStatistics

Report statistics of ADP or ADV velocities.
read.topo

Read an topography file
read.drifter

Read a drifter data file
header

Return the header for an Oce data object
plot.tdr

Plot tdr (temperature-depth recorder) data
plot.topo

Plot topography data
plot.sealevel

Plot sealevel data
redfieldNP

Redfield's (1934) NO3 and PO4 data
read.tdr

Read an TDR temperature-depth recorder data file
riley

Riley's (1946) observation and theory of phytoplankton concentration
swSigmaT

Seawater quasi-potential density anomaly
summary.met

Summarize a met object
pwelch

Welch periodogram
swBeta

Seawater haline contraction coefficient
summary.drifter

Summarize a drifter object
resizableLabel

Provide axis names in adjustable sizes
plotTS

Plot temperature-salinity diagram for seawater (CTD) data
accessors

Access or modify part of an Oce object
lonFormat

Format a longitude
swSoundSpeed

Seawater sound speed
sealevel-class

Class to store sealevel data
showMetadataItem

Show metadata item
topoMaritimes

Topographic dataset, showing Maritime region of Canada
sunAngle

Solar angle as function of space and time.
summary.section

Summarize a CTD section
parseLatLon

Parse a latitude or longitude string
summary.tdr

Summarize a tdr object
summary.topo

Summarize a topography data object
summary.sealevel

Summarize a sealevel object
swAlphaOverBeta

Ratio of seawater thermal expansion coefficient to haline contraction coefficient
swDepth

Water depth
swSigma

Seawater density anomaly
summary.coastline

Summarize a coastline data object
tdr

tdr (temperature-data recorder) dataset
a03

WOCE section a03
swSigmaTheta

Seawater potential density anomaly
swViscosity

Seawater viscosity
summary.tidem

Summarize a tide-model object
is.beam

Determine coordinate system for acoustic-doppler device
summary.echosounder

Summarize an echosounder object
sectionSmooth

Smooth a section (preliminary version that may change)
swDynamicHeight

Dynamic height of seawater profile
magneticDeclination

Earth magneticDeclination
swAlpha

Seawater thermal expansion coefficient
magic

Find the type of an oceanographic data file
topoWorld

Global topographic dataset at half-degree resolution
read.sealevel

Read a sea-level data file
summary.windrose

Summarize a windrose data object
swSTrho

Seawater salinity from temperature and density
threenum

Calculate min, mean, and max values
adv

ADV (acoustic-doppler velocimeter) dataset
soi

Southern Oscillation Index
oce-class

base class of oce package
oce.axis.POSIXct

Modified version of axis.POSIXct
latlonFormat

Format a latitude-longitude pair
swConductivity

Seawater thermal conductivity
topo-class

Class to store topographic data
beamName

Name an acoustic-doppler beam.
geodDist

Geodesic distance on earth
oceSpectrum

Wrapper to give normalized spectrum
ctdTrim

Trim start/end portions of a CTD cast
swTSrho

Seawater temperature from salinity and density
time.oce

Extract time from an oce object
unwrapAngle

Unwrap an angle that suffers modulo-360 problems
tidedata

Tidal constituent information
swN2

Squared buoyancy frequency for seawater
read.lobo

Read a lobo data file
latFormat

Format a latitude
topoInterpolate

Interpolate within a topography dataset
xyzToEnuAdp

Convert ADP or ADV from xyz coordinates to enu coordinates
toEnuAdv

Convert ADV to enu coordinates, from any other coordinates
swSCTp

Seawater salinity from conductivity ratio, temperature and pressure
oce.as.POSIXlt

More general form of as.POSIXlt
oce.plot.ts

Plot a time-series, obeying the timezone
webtide

Get a tidal prediction from a WebTide database
undriftTime

Correct for drift in instrument clock
windrose-class

Class to store windrose data
sealevelHalifax

Sea-level data set, from Halifax Harbour
geodXy

Convert lat/lon to x/y on earth
tidemVuf

Do ephemeris calculations for tidem
plot.adp

Plot ADP data
summary.adp

Summarize an ADP object
swLapseRate

Seawater lapse rate
processingLog

Add an item to object processingLog
tdrPatm

Estimate atmospheric pressure in tdr record
window.oce

Window an oce object by time or distance
read.oce

Read an oceanographic data file
xyzToEnuAdv

Convert ADP or ADV from xyz coordinates to enu coordinates
read.adp

Read an ADP data file
retime

Adjust the time within Oce object
matchBytes

Find spots in a raw vector that match a given byte sequence.
schmitt

Schmitt's (1981) NACW temperature-salinity data
secondsToCtime

Convert a time interval to a colon-separated string
loggerToc

Decode table-of-contents file from a datalogger
makeSection

Bind CTD profiles together into a cross section
numberAsPOSIXct

Convert a numeric time to a POSIXct time
plot.drifter

Plot drifter data
read.ctd

Read a CTD data file
stickplot

Draw a stick-plot diagram
summary.lobo

Summarize a lobo data object
redfieldPlankton

Redfield's (1934) Table II
tidem

Fit a tidal model to a timeseries
swTFreeze

Seawater freezing temperature
wilson

Wilson's (1963) table of seafloor spreading
subset.oce

Subset an oce object
tidemAstron

Do ephemeris calculations for tidem
vectorShow

Show some values from a vector
wind

Wind dataset
drag

Wind drag coefficient
matrixSmooth

Smooth a matrix.
oceEdit

Edit an oce object
oceDebug

Print a debugging message
plot.cm

Plot cm (current meter) data
ctimeToSeconds

Interpret a character string as a time interval
plot.met

Plot meteorological data
toEnuAdp

Convert ADP to enu coordinates, from any other coordinates
unabbreviateYear

Determine year from various abbreviations