Learn R Programming

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

oce (version 0.9-5)

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.9-5

License

GPL (>= 2)

Maintainer

Dan Kelley

Last Published

December 15th, 2012

Functions in oce (0.9-5)

a03

WOCE section a03
adp-class

Class to store acoustic Doppler profiler data
bcdToInteger

Decode BCD to integer
beamUnspreadAdp

Compensate ADP signal strength for spherical spreading
beamName

Name an acoustic-doppler beam.
ctdUpdateHeader

Update a CTD header
enuToOtherAdp

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

LISST dataset
as.coastline

Coerce data into coastline dataset
addColumn

Add a column to an oce object
adp

ADP (acoustic-doppler profiler) dataset
applyMagneticDeclination

Earth magnetic declination
beamToXyzAdp

Convert ADP from beam coordinates to xyz coordinates
angleRemap

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

Plot a map
coastline-class

Class to store coastline data
plot.section

Plot a CTD section
coastlineWorld

World coastline
adv

ADV (acoustic-doppler velocimeter) dataset
plot.coastline

Plot a coastline
ctdRaw

Seawater CTD profile, without trimming of extraneous data
secondsToCtime

Convert a time interval to a colon-separated string
binAverage

Bin-average a vector y, based on x values
as.met

Coerce data into met dataset
makeSection

Bind CTD profiles together into a cross section
drifter-class

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

Coastline data set, showing Halifax Harbour
showMetadataItem

Show metadata item
equatorialToLocalHorizontal

Convert from equatorial coordinates to local horizontal coordinates
map2lonlat

Find lon-lat coordinator of a point on a map
papa

OWS Papa hydrographic record during 2010
ctd-class

Class to store hydrographic data
extract

Extract data from an oce object
munk

Munk's (1966) temperature profile
integerToAscii

Decode integer to corresponding ASCII code
met-class

Class to store meteorological data
oce.as.POSIXlt

More general form of as.POSIXlt
oceBisect

Find the root of a function by bisection
ctd

Seawater CTD profile
oceEdit

Edit an oce object
read.echosounder

Read an echosounder data file
redfieldPlankton

Redfield's (1934) Table II
airHalifax

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

Class to store sealevel data
drifter

ARGO drifter dataset
GMTOffsetFromTz

Determine time offset from timezone
fillGap

Fill a gap in an oce object
giss

Time series of NASA/GISS land-ocean temperature index
lobo-class

Class to store LOBO data
makeFilter

Make a digital filter
as.ctd

Coerce data into ctd dataset
tdrPatm

Estimate atmospheric pressure in tdr record
RRprofile

Seawater profile used by Reiniger and Ross (1968)
as.drifter

Coerce data into drifter dataset
abbreviateTimeLabels

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

Coerce data into topo dataset
adv-class

Class to store acoustic Doppler velocimeter data
geosecs235

GEOSECS station 235 data
cm-class

Class to store current meter data
xyzToEnuAdp

Convert ADP or ADV from xyz coordinates to enu coordinates
geodGc

Find great-circle segments between two points on earth
topoInterpolate

Interpolate within a topography dataset
imagep

Plot an image with a colour palette
latlonFormat

Format a latitude-longitude pair
findBottom

Find the ocean bottom in an echosounder object
julianCenturyAnomaly

Convert a Julian-Day number to a time in julian centuries since noon on January 1, 1900.
pwelch

Welch periodogram
integrateTrapezoid

Use trapezoidal integration
mapPoints

Plot points on a existing map
oceMagic

Find the type of an oceanographic data file
read.adv

Read an ADV data file
swDynamicHeight

Dynamic height of seawater profile
coastlineSLE

Coastline of St Lawrence Estuary
oceSpectrum

Wrapper to give normalized spectrum
teosSetLibrary

Set location of TEOS-10 library
coastlineMaritimes

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

Class to store hydrographic section data
is.beam

Determine coordinate system for acoustic-doppler device
tidemAstron

Do ephemeris calculations for tidem
drawDirectionField

Draw a direction field
summary.sealevel

Summarize a sealevel object
drag

Wind drag coefficient
mapLines

Plot lines on a existing map
moonAngle

Lunar angle as function of space and time.
findInOrdered

Find indices of tiems in an ordered vector
swLapseRate

Seawater lapse rate
undriftTime

Correct for drift in instrument clock
coriolis

Coriolis parameter on rotating earth
unwrapAngle

Unwrap an angle that suffers modulo-360 problems
swConductivity

Seawater thermal conductivity
summary.cm

Summarize a cm (current meter) object
teos

Interface to TEOS-10 library
oce.axis.POSIXct

Modified version of axis.POSIXct
oce.as.raw

A version of as.raw() that clips data to prevent warnings
plot.lobo

Plot lobo data
numberAsPOSIXct

Convert a numeric time to a POSIXct time
processingLog

Add an item to object processingLog
plot.lisst

Plot LISST data
mapPolygon

Plot a polygon on a existing map
ctimeToSeconds

Interpret a character string as a time interval
plotTS

Plot temperature-salinity diagram for seawater (CTD) data
read.drifter

Read a drifter data file
fullFilename

full name of file, including path
mapZones

Plot zones on an existing map
oceans

Geometries of the five world oceans.
plot.adp

Plot ADP data
oceFilter

Filter a time-series, possibly recursively
read.lobo

Read a lobo data file
plot.topo

Plot topography data
plotPolar

Draw a polar plot.
resizableLabel

Provide axis names in adjustable sizes
plot.windrose

Plot a wind rose diagram
read.lisst

Read a LISST data file
sectionGrid

Grid a section
plot.cm

Plot cm (current meter) data
read.oce

Read an oceanographic data file
oce.write.table

Write the data portion of object to a file
swTSrho

Seawater temperature from salinity and density
lisst-class

Class to store LISST data
swRho

Seawater density
mapContour

Plot contours on a existing map
topoMaritimes

Topographic dataset, showing Maritime region of Canada
summary.coastline

Summarize a coastline data object
mapMeridians

Plot meridians on an existing map
read.section

Read a section containing multiple CTD profiles
swSTrho

Seawater salinity from temperature and density
read.sealevel

Read a sea-level data file
plot.ctd

Plot seawater CTD data
summary.drifter

Summarize a drifter object
plot.met

Plot meteorological data
read.adp

Read an ADP data file
threenum

Calculate min, mean, and max values
topoWorld

Global topographic dataset at half-degree resolution
swSpecificHeat

Seawater specific heat
riley

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

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

Do ephemeris calculations for tidem
topo2

World topograph data, on a 2-degree grid.
swSigmaT

Seawater quasi-potential density anomaly
swTFreeze

Seawater freezing temperature
summary.adp

Summarize an ADP object
write.ctd

Write a CTD data object as a .csv file
swSpice

Seawater spiciness
summary.topo

Summarize a topography data object
siderealTime

Convert a POSIXt time to a sidereal time
window.oce

Window an oce object by time or distance
swSCTp

Seawater salinity from electrical conductivity, temperature and pressure
swSoundSpeed

Seawater sound speed
tdr

tdr (temperature-data recorder) dataset
swViscosity

Seawater viscosity
summary.adv

Summarize an ADV object
summary.met

Summarize a met object
tidem-class

Class to store tidal-constituent models
swConservativeTemperature

Seawater conservative temperature, as defined in TEOS-10.
swTheta

Seawater potential temperature
time.oce

Extract time from an oce object
velocityStatistics

Report statistics of ADP or ADV velocities.
swSigmaTheta

Seawater potential density anomaly
tidem

Fit a tidal model to a timeseries
cm

Current-meter record
lobo

lobo dataset
mapImage

Plot an image on a existing map
oce-class

base class of oce package
predict.tidem

Predict a time series from a tidal model
as.lobo

Coerce data into lobo dataset
plot.tdr

Plot tdr (temperature-depth recorder) data
rangeLimit

Substitute NA for data outside a range
read.met

Read a meteorological data file
as.section

Coerce ctd data into section dataset
echosounder

echosounder dataset
byteToBinary

Format bytes as binary
ctdTrim

Trim start/end portions of a CTD cast
formatCI

Format a confidence interval in parenthetic notation
interpBarnes

Grid data using Barnes algorithm
loggerToc

Decode table-of-contents file from a datalogger
plotSticks

Draw a stick-plot diagram
airRho

Air density
read.topo

Read an topography file
as.echosounder

Coerce data into echosounder dataset
beamToXyzAdv

Convert ADV from beam coordinates to xyz coordinates
met

Sample meteorological object
sectionSort

Sort a section
oceDebug

Print a debugging message
plotInset

Plot an inset diagram
beamToXyz

Convert ADV or ADP data between various coordinate systems
summary.lisst

Summarize a LISST object
summary.lobo

Summarize a lobo data object
echosounder-class

Class to store echosounder data
matchBytes

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

Trim start/end portions of a tdr cast
decimate

Smooth and decimate an oce object
enuToOtherAdv

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

Tidal constituent information
plot.echosounder

Plot echosounder data
parseLatLon

Parse a latitude or longitude string
errorbars

Draw error bars on an existing xy diagram
plot.adv

Plot ADV data
prettyPosition

Round a geographical positions in degrees, minutes, and seconds
redfieldNC

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

Wilson's (1963) table of seafloor spreading
accessors

Access or modify part of an Oce object
grad

Gradient of a matrix
as.lisst

Coerce data into a lisst object
xyzToEnuAdv

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

Read a current-meter data file
header

Return the header for an Oce data object
as.tdr

Create a TDR object
summary.echosounder

Summarize an echosounder object
ctdDecimate

Decimate a CTD profile
binmapAdp

Bin-map an ADP object
as.windrose

Create a windrose object
ctdAddColumn

Add a column to a CTD file
julianDay

Convert a POSIXt time to a Julian day
drawIsopycnals

Draw isopycnal curves on an existing temperature-salinity plot
oceApprox

Interpolate with Reiniger-Ross algorithm
rescale

Rescale values to lie in a given range
matrixSmooth

Smooth a matrix.
geodXy

Convert lat/lon to x/y on earth
oceContour

Contour with ability to flip x and y
drawPalette

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

Convert ADP to enu coordinates, from any other coordinates
eclipticalToEquatorial

Convert from ecliptical to equatorial coordinates
sealevelTuktoyaktuk

Sea-level data set acquired in 1975 at Tuktoyaktuk
toEnuAdv

Convert ADV to enu coordinates, from any other coordinates
read.ctd

Read a CTD data file
geodDist

Geodesic distance on earth
endeavour

Cook's Endeavour cruise track
subtractBottomVelocity

Subtract bottom velocity from ADP velocity
gravity

Acceleration due to earth gravity
sunAngle

Solar angle as function of space and time.
plotScan

Plot seawater data in a low-level fashion
sectionSmooth

Smooth a section (preliminary version that may change)
swAbsoluteSalinity

Seawater absolute salinity, as defined in TEOS-10.
lonFormat

Format a longitude
oceColors

Create a palette of colours
swDepth

Water depth
swN2

Squared buoyancy frequency for seawater
plot.drifter

Plot drifter data
wind

Wind dataset
subset.oce

Subset an oce object
summary.windrose

Summarize a windrose data object
soi

Southern Oscillation Index
summary.tidem

Summarize a tide-model object
plot.sealevel

Plot sealevel data
plot.tidem

Plot a tidal fit
swAlphaOverBeta

Ratio of seawater thermal expansion coefficient to haline contraction coefficient
webtide

Get a tidal prediction from a WebTide database
read.tdr

Read an TDR temperature-depth recorder data file
plotProfile

Plot a CTD profile of various quantities
swBeta

Seawater haline contraction coefficient
retime

Adjust the time within Oce object
section

Seawater CTD section
schmitt

Schmitt's (1981) NACW temperature-salinity data
summary.tdr

Summarize a tdr object
windrose-class

Class to store windrose data
as.sealevel

Coerce data into sea-level dataset
despike

Remove spikes from a time series
head

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

Format a latitude
detrend

Detrend a set of observations
formatPosition

Format geographical positions to degrees, minutes, and hemispheres
magneticDeclination

Earth magneticDeclination
oce.plot.ts

Plot a time-series, obeying the timezone
oceConvolve

Convolve two time series
oceSmooth

Smooth an oce object
mapText

Plot text on a existing map
plotTaylor

Plot a model-data comparison diagram.
read.coastline

Scan a coastline data file
redfieldNP

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

Summarize a CTD section
swAlpha

Seawater thermal expansion coefficient
swSigma

Seawater density anomaly
summary.ctd

Summarize a CTD object
tdr-class

Class to store temperature-depth recorder data
topo-class

Class to store topographic data
unabbreviateYear

Determine year from various abbreviations
vectorShow

Show some values from a vector
sealevelHalifax

Sea-level data set, from Halifax Harbour