Learn R Programming

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

oce (version 0.8-2)

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-2

License

GPL (>= 2)

Maintainer

Dan Kelley

Last Published

November 3rd, 2011

Functions in oce (0.8-2)

swRho

Seawater density
ctimeToSeconds

Interpret a character string as a time interval
swSpecificHeat

Seawater specific heat
plotProfile

Plot a CTD profile of various quantities
integerToAscii

Decode integer to corresponding ASCII code
applyMagneticDeclination

Earth magnetic declination
beamToXyzAdv

Convert ADV from beam coordinates to xyz coordinates
coriolis

Coriolis parameter on rotating earth
ctd-class

Class to store hydrographic data
coastlineHalifax

Coastline data set, showing Halifax Harbour
ctd

Seawater CTD profile
as.topo

Coerce data into topo dataset
ctdAddColumn

Add a column to a CTD file
addColumn

Add a column to an oce object
extract

Extract data from an oce object
ctdRaw

Seawater CTD profile, without trimming of extraneous data
oceEdit

Edit an oce object
findInOrdered

Find indices of tiems in an ordered vector
angleRemap

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

Summarize a drifter object
GMTOffsetFromTz

Determine time offset from timezone
detrend

Detrend a set of observations
interpBarnes

Grid data using Barnes algorithm
beamToXyz

Convert ADV or ADP data between various coordinate systems
formatCI

Format a confidence interval in parenthetic notation
as.windrose

Create a windrose object
section-class

Class to store hydrographic section data
latFormat

Format a latitude
plotTS

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

Remove spikes from a time series
beamName

Name an acoustic-doppler beam.
beamToXyzAdp

Convert ADP from beam coordinates to xyz coordinates
drifter-class

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

Bind CTD profiles together into a cross section
plot.cm

Plot cm (current meter) data
cm-class

Class to store current meter data
loggerToc

Decode table-of-contents file from a datalogger
as.drifter

Coerce data into drifter dataset
summary.coastline

Summarize a coastline data object
enuToOtherAdp

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

Parse a latitude or longitude string
as.lobo

Coerce data into lobo dataset
ctdTrim

Trim start/end portions of a CTD cast
pwelch

Welch periodogram
byteToBinary

Format bytes as binary
magneticDeclination

Earth magneticDeclination
enuToOtherAdv

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

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

Coastline data set, showing Maritime provinces of Canada
beamUnattenuateAdp

Unattenuate ADP beam signal strength
airHalifax

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

Adjust the time within Oce object
as.coastline

Coerce data into coastline dataset
fillGap

Fill a gap in an oce object
argo

ARGO drifter dataset
adv-class

Class to store acoustic Doppler velocimeter data
adp-class

Class to store acoustic Doppler profiler data
as.pt

Create an TDR temperature-depth recorder data file
matrixSmooth

Smooth a matrix.
ctdUpdateHeader

Update a CTD header
geosecs235

GEOSECS station 235 data
plot.ctd

Plot seawater CTD data
oce.axis.POSIXct

Modified version of axis.POSIXct
read.ctd

Read a CTD data file
read.drifter

Read a drifter data file
subset.oce

Subset an oce object
read.topo

Read an topography file
redfieldNC

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

Geodesic distance on earth
summary.cm

Summarize a cm (current meter) object
plot.section

Plot a CTD section
read.oce

Read an oceanographic data file
plot.adv

Plot ADV data
ptPatm

Estimate atmospheric pressure in pt record
schmitt

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

Draw isopycnal curves on an existing temperature-salinity plot
accessors

Access or modify part of an Oce object
oce.plot.sticks

Draw a stick-plot diagram
header

Return the header for an Oce data object
as.ctd

Coerce data into ctd dataset
summary.pt

Summarize a pt object
sealevelTuktoyaktuk

Sea-level data set acquited in 1975 at Tuktoyaktuk
adp

ADP (acoustic-doppler profiler) dataset
head

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

Decimate an oce object
tidemAstron

Do ephemeris calculations for tidem
swTheta

Seawater potential temperature
plot.topo

Plot topography data
summary.ctd

Summarize a CTD object
summary.adv

Summarize an ADV object
airRho

Air density
a03

WOCE section a03
drag

Wind drag coefficient
oceDebug

Print a debugging message
munk

Munk's (1966) temperature profile
oce.plot.ts

Plot a time-series, obeying the timezone
read.coastline

Scan a coastline data file
binAverage

Bin-average a vector y, based on x values
read.sealevel

Read a sea-level data file
swDepth

Water depth
oceFilter

Filter a time-series, possibly recursively
pt-class

Class to store pressure-temperature recorder data
coastline-class

Class to store coastline data
secondsToCtime

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

Read a lobo data file
swTSrho

Seawater temperature from salinity and density
latlonFormat

Format a latitude-longitude pair
sealevel-class

Class to store sealevel data
plot.windrose

Plot a wind rose diagram
sectionSort

Sort a section
read.pt

Read an TDR temperature-depth recorder data file
read.adp

Read an ADP data file
stickplot

Draw a stick-plot diagram
riley

Riley's (1946) observation and theory of phytoplankton concentration
is.beam

Determine coordinate system for acoustic-doppler device
read.adv

Read an ADV data file
sectionGrid

Grid a section
showMetadataItem

Show metadata item
wind

Wind dataset
summary.sealevel

Summarize a sealevel object
oceBisect

Find the root of a function by bisection
unwrapAngle

Unwrap an angle that suffers modulo-360 problems
xyzToEnuAdp

Convert ADP or ADV from xyz coordinates to enu coordinates
redfieldPlankton

Redfield's (1934) Table II
makeFilter

Make a digital filter
rescale

Rescale values to lie in a given range
oce.write.table

Write the data portion of object to a file
swAlphaOverBeta

Ratio of seawater thermal expansion coefficient to haline contraction coefficient
swSigmaT

Seawater quasi-potential density anomaly
read.section

Read a section containing multiple CTD profiles
tidem

Fit a tidal model to a timeseries
fullFilename

full name of file, including path
swSTrho

Seawater salinity from temperature and density
topoWorld

Global topographic dataset at half-degree resolution
summary.adp

Summarize an ADP object
toEnuAdv

Convert ADV to enu coordinates, from any other coordinates
resizableLabel

Provide axis names in adjustable sizes
wilson

Wilson's (1963) table of seafloor spreading
useHeading

Replace the heading for one instrument with the heading for another
windrose-class

Class to store windrose data
swLapseRate

Seawater lapse rate
window.oce

Window an oce object by time or distance
summary.section

Summarize a CTD section
topoInterpolate

Interpolate within a topography dataset
swSCTp

Seawater salinity from conductivity ratio, temperature and pressure
processingLog

Add an item to object processingLog
vectorShow

Show some values from a vector
tidedata

Tidal constituent information
redfieldNP

Redfield's (1934) NO3 and PO4 data
coastlineSLE

Coastline of St Lawrence Estuary
topo-class

Class to store topographic data
topoMaritimes

Topographic dataset, showing Maritime region of Canada
xyzToEnuAdv

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

Plot ADP data
tidemVuf

Do ephemeris calculations for tidem
threenum

Calculate min, mean, and max values
swSigmaTheta

Seawater potential density anomaly
swN2

Squared buoyancy frequency for seawater
unabbreviateYear

Determine year from various abbreviations
RRprofile

Seawater profile used by Reiniger and Ross (1968)
imagep

Plot an image with a colour palette
magic

Find the type of an oceanographic data file
oceSpectrum

Wrapper to give normalized spectrum
drawPalette

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

Convert a numeric time to a POSIXct time
swSpice

Seawater spiciness
swConductivity

Seawater conductivity
as.sealevel

Coerce data into sea-level dataset
plot.coastline

Plot a coastline
rangeLimit

Substitute NA for data outside a range
read.cm

Read a current-meter data file
plot.sealevel

Plot sealevel data
sectionSmooth

Smooth a section (preliminary version that may change)
plotScan

Plot seawater data in a low-level fashion
swAlpha

Seawater thermal expansion coefficient
summary.windrose

Summarize a windrose data object
sunAngle

Solar angle as function of space and time.
plot.drifter

Plot drifter data
swBeta

Seawater haline contraction coefficient
plot.pt

Plot pt (pressure-temperature) recorder data
undriftTime

Correct for drift in instrument clock
ptTrim

Trim start/end portions of a pt cast
swDynamicHeight

Dynamic height of seawater profile
velocityStatistics

Report statistics of ADP or ADV velocities.
lobo

lobo dataset
adv

ADV (acoustic-doppler velocimeter) dataset
ctdDecimate

Decimate a CTD profile
geodXy

Convert lat/lon to x/y on earth
gravity

Acceleration due to earth gravity
oceSmooth

Smooth an oce object
plot.tidem

Plot a tidal fit
ptr

ptr (pressure-temperature) dataset
predict.tidem

Predict a time series from a tidal model
soi

Southern Oscillation Index
summary.lobo

Summarize a lobo data object
swViscosity

Seawater viscosity
swSigma

Seawater density anomaly
swSoundSpeed

Seawater sound speed
time.oce

Extract time from an oce object
write.ctd

Write a CTD data object as a .csv file
swTFreeze

Seawater freezing temperature
section

Seawater CTD section
coastlineWorld

World coastline
lonFormat

Format a longitude
bcdToInteger

Decode BCD to integer
lobo-class

Class to store LOBO data
oce-class

base class of oce package
oce.as.POSIXlt

More general form of as.POSIXlt
oceApprox

Interpolate with Reiniger-Ross algorithm
oceColors

Create a palette of colours
plot.lobo

Plot lobo data
sealevelHalifax

Sea-level data set, from Halifax Harbour
summary.topo

Summarize a topography data object
summary.tidem

Summarize a tide-model object
toEnuAdp

Convert ADP to enu coordinates, from any other coordinates
tidem-class

Class to store tidal-constituent models