Learn R Programming

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

oce (version 0.8-6)

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,573

Version

0.8-6

License

GPL (>= 2)

Maintainer

Dan Kelley

Last Published

March 4th, 2012

Functions in oce (0.8-6)

interpBarnes

Grid data using Barnes algorithm
ctd-class

Class to store hydrographic data
ctd

Seawater CTD profile
airRho

Air density
bcdToInteger

Decode BCD to integer
as.topo

Coerce data into topo dataset
binAverage

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

Format a confidence interval in parenthetic notation
coastlineSLE

Coastline of St Lawrence Estuary
RRprofile

Seawater profile used by Reiniger and Ross (1968)
argo

ARGO drifter dataset
oce.as.POSIXlt

More general form of as.POSIXlt
coastlineHalifax

Coastline data set, showing Halifax Harbour
a03

WOCE section a03
plotInset

Plot an inset diagram
adv

ADV (acoustic-doppler velocimeter) dataset
ctdAddColumn

Add a column to a CTD file
airHalifax

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

Interpret a character string as a time interval
geodXy

Convert lat/lon to x/y on earth
latlonFormat

Format a latitude-longitude pair
adv-class

Class to store acoustic Doppler velocimeter data
as.echosounder

Coerce data into echosounder dataset
accessors

Access or modify part of an Oce object
plot.ctd

Plot seawater CTD data
read.echosounder

Read an echosounder data file
fillGap

Fill a gap in an oce object
as.met

Coerce data into met dataset
ptTrim

Trim start/end portions of a pt cast
ctdTrim

Trim start/end portions of a CTD cast
detrend

Detrend a set of observations
plot.tidem

Plot a tidal fit
applyMagneticDeclination

Earth magnetic declination
enuToOtherAdp

Convert ADP from east-north-up coordinates to other coordinates
ctdDecimate

Decimate a CTD profile
findInOrdered

Find indices of tiems in an ordered vector
beamUnattenuateAdp

Unattenuate ADP beam signal strength
coriolis

Coriolis parameter on rotating earth
lonFormat

Format a longitude
byteToBinary

Format bytes as binary
as.ctd

Coerce data into ctd dataset
ctdUpdateHeader

Update a CTD header
oceBisect

Find the root of a function by bisection
oceSmooth

Smooth an oce object
despike

Remove spikes from a time series
head

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

Interpolate with Reiniger-Ross algorithm
GMTOffsetFromTz

Determine time offset from timezone
met

Sample meteorological object
drawIsopycnals

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

Read an topography file
numberAsPOSIXct

Convert a numeric time to a POSIXct time
fullFilename

full name of file, including path
findBottom

Find the ocean bottom in an echosounder object
summary.sealevel

Summarize a sealevel object
coastline-class

Class to store coastline data
oceDebug

Print a debugging message
is.beam

Determine coordinate system for acoustic-doppler device
beamToXyz

Convert ADV or ADP data between various coordinate systems
plot.sealevel

Plot sealevel data
oce-class

base class of oce package
oceSpectrum

Wrapper to give normalized spectrum
as.pt

Create an TDR temperature-depth recorder data file
gravity

Acceleration due to earth gravity
extract

Extract data from an oce object
plot.met

Plot meteorological data
magic

Find the type of an oceanographic data file
coastlineWorld

World coastline
plotProfile

Plot a CTD profile of various quantities
angleRemap

Convert an angle from the 0:360 range to -180:180
summary.topo

Summarize a topography data object
matchBytes

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

Convert ADP from beam coordinates to xyz coordinates
read.adp

Read an ADP data file
magneticDeclination

Earth magneticDeclination
as.lobo

Coerce data into lobo dataset
plot.adp

Plot ADP data
adp-class

Class to store acoustic Doppler profiler data
decimate

Smooth and decimate an oce object
as.windrose

Create a windrose object
geodDist

Geodesic distance on earth
enuToOtherAdv

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

Do ephemeris calculations for tidem
tidemVuf

Do ephemeris calculations for tidem
oceEdit

Edit an oce object
read.lobo

Read a lobo data file
drifter-class

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

Coerce data into drifter dataset
ctdRaw

Seawater CTD profile, without trimming of extraneous data
lobo-class

Class to store LOBO data
drag

Wind drag coefficient
adp

ADP (acoustic-doppler profiler) dataset
plot.adv

Plot ADV data
sealevelHalifax

Sea-level data set, from Halifax Harbour
ptPatm

Estimate atmospheric pressure in pt record
window.oce

Window an oce object by time or distance
addColumn

Add a column to an oce object
beamName

Name an acoustic-doppler beam.
cm-class

Class to store current meter data
read.ctd

Read a CTD data file
echosounder-class

Class to store echosounder data
predict.tidem

Predict a time series from a tidal model
section

Seawater CTD section
summary.adp

Summarize an ADP object
imagep

Plot an image with a colour palette
makeFilter

Make a digital filter
secondsToCtime

Convert a time interval to a colon-separated string
read.drifter

Read a drifter data file
integerToAscii

Decode integer to corresponding ASCII code
beamToXyzAdv

Convert ADV from beam coordinates to xyz coordinates
sectionSmooth

Smooth a section (preliminary version that may change)
tidem-class

Class to store tidal-constituent models
subset.oce

Subset an oce object
oce.plot.sticks

Draw a stick-plot diagram
plot.section

Plot a CTD section
windrose-class

Class to store windrose data
swAlpha

Seawater thermal expansion coefficient
time.oce

Extract time from an oce object
matrixSmooth

Smooth a matrix.
parseLatLon

Parse a latitude or longitude string
summary.windrose

Summarize a windrose data object
swSigma

Seawater density anomaly
plot.windrose

Plot a wind rose diagram
summary.ctd

Summarize a CTD object
undriftTime

Correct for drift in instrument clock
summary.adv

Summarize an ADV object
retime

Adjust the time within Oce object
swLapseRate

Seawater lapse rate
oce.write.table

Write the data portion of object to a file
coastlineMaritimes

Coastline data set, showing Maritime provinces of Canada
swSigmaTheta

Seawater potential density anomaly
topoMaritimes

Topographic dataset, showing Maritime region of Canada
swAlphaOverBeta

Ratio of seawater thermal expansion coefficient to haline contraction coefficient
swTFreeze

Seawater freezing temperature
swViscosity

Seawater viscosity
redfieldNP

Redfield's (1934) NO3 and PO4 data
summary.lobo

Summarize a lobo data object
vectorShow

Show some values from a vector
summary.cm

Summarize a cm (current meter) object
oceColors

Create a palette of colours
xyzToEnuAdv

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

Scan a coastline data file
plot.lobo

Plot lobo data
plot.topo

Plot topography data
read.cm

Read a current-meter data file
webtide

Get a tidal prediction from a WebTide database
wind

Wind dataset
riley

Riley's (1946) observation and theory of phytoplankton concentration
summary.echosounder

Summarize an echosounder object
read.adv

Read an ADV data file
read.section

Read a section containing multiple CTD profiles
topo-class

Class to store topographic data
pt-class

Class to store pressure-temperature recorder data
sunAngle

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

Summarize a tide-model object
swDepth

Water depth
summary.drifter

Summarize a drifter object
swSCTp

Seawater salinity from conductivity ratio, temperature and pressure
swConductivity

Seawater thermal conductivity
plotTS

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

Southern Oscillation Index
summary.pt

Summarize a pt object
swSpecificHeat

Seawater specific heat
topoInterpolate

Interpolate within a topography dataset
xyzToEnuAdp

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

Read a meteorological data file
resizableLabel

Provide axis names in adjustable sizes
schmitt

Schmitt's (1981) NACW temperature-salinity data
read.oce

Read an oceanographic data file
as.sealevel

Coerce data into sea-level dataset
geosecs235

GEOSECS station 235 data
header

Return the header for an Oce data object
stickplot

Draw a stick-plot diagram
makeSection

Bind CTD profiles together into a cross section
lobo

lobo dataset
oce.plot.ts

Plot a time-series, obeying the timezone
latFormat

Format a latitude
oce.axis.POSIXct

Modified version of axis.POSIXct
summary.section

Summarize a CTD section
as.coastline

Coerce data into coastline dataset
drawPalette

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

Grid a section
swN2

Squared buoyancy frequency for seawater
met-class

Class to store meteorological data
plot.cm

Plot cm (current meter) data
toEnuAdv

Convert ADV to enu coordinates, from any other coordinates
rangeLimit

Substitute NA for data outside a range
pwelch

Welch periodogram
tidedata

Tidal constituent information
redfieldNC

Redfield's (1934) NO3 and total CO2 data
loggerToc

Decode table-of-contents file from a datalogger
showMetadataItem

Show metadata item
plot.echosounder

Plot echosounder data
sealevel-class

Class to store sealevel data
swDynamicHeight

Dynamic height of seawater profile
oceFilter

Filter a time-series, possibly recursively
swSigmaT

Seawater quasi-potential density anomaly
swSTrho

Seawater salinity from temperature and density
rescale

Rescale values to lie in a given range
toEnuAdp

Convert ADP to enu coordinates, from any other coordinates
unwrapAngle

Unwrap an angle that suffers modulo-360 problems
wilson

Wilson's (1963) table of seafloor spreading
swTSrho

Seawater temperature from salinity and density
plot.pt

Plot pt (pressure-temperature) recorder data
munk

Munk's (1966) temperature profile
plot.drifter

Plot drifter data
redfieldPlankton

Redfield's (1934) Table II
swSoundSpeed

Seawater sound speed
swBeta

Seawater haline contraction coefficient
threenum

Calculate min, mean, and max values
swSpice

Seawater spiciness
topoWorld

Global topographic dataset at half-degree resolution
plotScan

Plot seawater data in a low-level fashion
processingLog

Add an item to object processingLog
unabbreviateYear

Determine year from various abbreviations
useHeading

Replace the heading for one instrument with the heading for another
plot.coastline

Plot a coastline
ptr

ptr (pressure-temperature) dataset
read.sealevel

Read a sea-level data file
read.pt

Read an TDR temperature-depth recorder data file
sealevelTuktoyaktuk

Sea-level data set acquired in 1975 at Tuktoyaktuk
section-class

Class to store hydrographic section data
summary.met

Summarize a met object
sectionSort

Sort a section
summary.coastline

Summarize a coastline data object
swTheta

Seawater potential temperature
swRho

Seawater density
tidem

Fit a tidal model to a timeseries
write.ctd

Write a CTD data object as a .csv file
velocityStatistics

Report statistics of ADP or ADV velocities.