Learn R Programming

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

oce (version 0.9-8)

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

Version

0.9-8

License

GPL (>= 2)

Maintainer

Dan Kelley

Last Published

April 25th, 2013

Functions in oce (0.9-8)

mapPolygon

Plot a polygon on a existing map
fullFilename

full name of file, including path
beamToXyzAdv

Convert ADV from beam coordinates to xyz coordinates
oceColors

Create a palette of colours
adp-class

Class to store acoustic Doppler profiler data
as.topo

Coerce data into topo dataset
endeavour

Cook's Endeavour cruise track
adv

ADV (acoustic-doppler velocimeter) dataset
as.met

Coerce data into met dataset
as.coastline

Coerce data into coastline dataset
beamUnspreadAdp

Compensate ADP signal strength for spherical spreading
beamName

Name an acoustic-doppler beam.
header

Return the header for an Oce data object
plotInset

Plot an inset diagram
processingLog

Add an item to object processingLog
coriolis

Coriolis parameter on rotating earth
interpBarnes

Grid data using Barnes algorithm
redfieldPlankton

Redfield's (1934) Table II
julianCenturyAnomaly

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

Subset an oce object
moonAngle

Lunar angle as function of space and time.
abbreviateTimeLabels

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

World coastline
plot.lobo

Plot lobo data
swN2

Squared buoyancy frequency for seawater
as.echosounder

Coerce data into echosounder dataset
matrixSmooth

Smooth a matrix.
as.windrose

Create a windrose object
imagep

Plot an image with a colour palette
ocePmatch

Partial matching of character strings or numbers
beamToXyzAdp

Convert ADP from beam coordinates to xyz coordinates
cm

Current-meter record
GMTOffsetFromTz

Determine time offset from timezone
adp

ADP (acoustic-doppler profiler) dataset
bcdToInteger

Decode BCD to integer
airRho

Air density
latFormat

Format a latitude
echosounder

echosounder dataset
detrend

Detrend a set of observations
as.tdr

Create a TDR object
ctd

Seawater CTD profile
loggerToc

Decode table-of-contents file from a datalogger
geodXy

Convert lat/lon to x/y on earth
byteToBinary

Format bytes as binary
giss

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

Class to store coastline data
lisst-class

Class to store LISST data
adv-class

Class to store acoustic Doppler velocimeter data
integrateTrapezoid

Use trapezoidal integration
ctdRaw

Seawater CTD profile, without trimming of extraneous data
ctdTrim

Trim start/end portions of a CTD cast
map2lonlat

Find lon-lat coordinates of a point on a map
plot.lisst

Plot LISST data
drawIsopycnals

Draw isopycnal curves on an existing temperature-salinity plot
swSigma

Seawater density anomaly
mapContour

Plot contours on a existing map
extract

Extract data from an oce object
gravity

Acceleration due to earth gravity
resizableLabel

Provide axis names in adjustable sizes
swSTrho

Seawater salinity from temperature and density
ctdUpdateHeader

Update a CTD header
drawPalette

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

Rescale values to lie in a given range
subtractBottomVelocity

Subtract bottom velocity from ADP velocity
formatPosition

Format geographical positions to degrees, minutes, and hemispheres
geodDist

Geodesic distance on earth
lonFormat

Format a longitude
RRprofile

Seawater profile used by Reiniger and Ross (1968)
lobo

lobo dataset
tidedata

Tidal constituent information
parseLatLon

Parse a latitude or longitude string
as.ctd

Coerce data into ctd dataset
sunAngle

Solar angle as function of space and time.
julianDay

Convert a POSIXt time to a Julian day
beamToXyz

Convert ADV or ADP data between various coordinate systems
oceApprox

Interpolate with Reiniger-Ross algorithm
oceConvolve

Convolve two time series
as.lobo

Coerce data into lobo dataset
plot.adp

Plot ADP data
summary.echosounder

Summarize an echosounder object
rangeLimit

Substitute NA for data outside a range
oce.as.POSIXlt

More general form of as.POSIXlt
summary.met

Summarize a met object
wilson

Wilson's (1963) table of seafloor spreading
predict.tidem

Predict a time series from a tidal model
oceEdit

Edit an oce object
read.tdr

Read an TDR temperature-depth recorder data file
oce-class

base class of oce package
summary.section

Summarize a CTD section
retime

Adjust the time within Oce object
summary.lobo

Summarize a lobo data object
riley

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

Summarize a windrose data object
oce.write.table

Write the data portion of object to a file
swBeta

Seawater haline contraction coefficient
oceSmooth

Smooth an oce object
prettyPosition

Round a geographical positions in degrees, minutes, and seconds
summary.adp

Summarize an ADP object
tdr-class

Class to store temperature-depth recorder data
plot.cm

Plot cm (current meter) data
swSpice

Seawater spiciness
schmitt

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

Welch periodogram
swConservativeTemperature

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

Draw a polar plot.
read.lisst

Read a LISST data file
oceSpectrum

Wrapper to give normalized spectrum
section-class

Class to store hydrographic section data
tdr

tdr (temperature-data recorder) dataset
swAlpha

Seawater thermal expansion coefficient
sectionSort

Sort a section
swSigmaT

Seawater quasi-potential density anomaly
swSpecificHeat

Seawater specific heat
plotTS

Plot temperature-salinity diagram for seawater (CTD) data
sealevel-class

Class to store sealevel data
write.ctd

Write a CTD data object as a .csv file
read.cm

Read a current-meter data file
plot.tidem

Plot a tidal fit
sealevelTuktoyaktuk

Sea-level data set acquired in 1975 at Tuktoyaktuk
section

Seawater CTD section
swTheta

Seawater potential temperature
plot.section

Plot a CTD section
summary.ctd

Summarize a CTD object
webtide

Get a tidal prediction from a WebTide database
swAbsoluteSalinity

Seawater absolute salinity, as defined in TEOS-10.
summary.tdr

Summarize a tdr object
swRho

Seawater density
tidemAstron

Do ephemeris calculations for tidem
tdrPatm

Estimate atmospheric pressure in tdr record
swConductivity

Seawater thermal conductivity
tidem

Fit a tidal model to a timeseries
xyzToEnuAdv

Convert ADP or ADV from xyz coordinates to enu coordinates
toEnuAdp

Convert ADP to enu coordinates, from any other coordinates
topoMaritimes

Topographic dataset, showing Maritime region of Canada
threenum

Calculate min, mean, and max values
window.oce

Window an oce object by time or distance
airHalifax

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

Coastline data set, showing Halifax Harbour
windrose-class

Class to store windrose data
applyMagneticDeclination

Earth magnetic declination
plot.tdr

Plot tdr (temperature-depth recorder) data
xyzToEnuAdp

Convert ADP or ADV from xyz coordinates to enu coordinates
ctdAddColumn

Add a column to a CTD file
enuToOtherAdp

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

Show some values from a vector
mapLocator

Locate points on a existing map
makeSection

Bind CTD profiles together into a cross section
findBottom

Find the ocean bottom in an echosounder object
formatCI

Format a confidence interval in parenthetic notation
oceMagic

Find the type of an oceanographic data file
plot.topo

Plot topography data
geosecs235

GEOSECS station 235 data
lobo-class

Class to store LOBO data
met

Sample meteorological object
papa

OWS Papa hydrographic record during 2010
a03

WOCE section a03
plot.sealevel

Plot sealevel data
addColumn

Add a column to an oce object
ctd-class

Class to store hydrographic data
read.adp

Read an ADP data file
coastlineMaritimes

Coastline data set, showing Maritime provinces of Canada
plot.echosounder

Plot echosounder data
read.oce

Read an oceanographic data file
redfieldNC

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

Plot seawater data in a low-level fashion
summary.adv

Summarize an ADV object
summary.lisst

Summarize a LISST object
summary.sealevel

Summarize a sealevel object
drag

Wind drag coefficient
cm-class

Class to store current meter data
echosounder-class

Class to store echosounder data
plotProfile

Plot a CTD profile of various quantities
plotTaylor

Plot a model-data comparison diagram.
drawDirectionField

Draw a direction field
swLapseRate

Seawater lapse rate
read.section

Read a section containing multiple CTD profiles
read.topo

Read an topography file
swSCTp

Seawater salinity from electrical conductivity, temperature and pressure
swSigmaTheta

Seawater potential density anomaly
accessors

Access or modify part of an Oce object
as.drifter

Coerce data into drifter dataset
teosSetLibrary

Set location of TEOS-10 library
binmapAdp

Bin-map an ADP object
fillGap

Fill a gap in an oce object
eclipticalToEquatorial

Convert from ecliptical to equatorial coordinates
findInOrdered

Find indices of tiems in an ordered vector
topo2

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

Plot an image on a existing map
summary.tidem

Summarize a tide-model object
mapPlot

Plot a map
drifter

ARGO drifter dataset
oce.as.raw

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

LISST dataset
makeFilter

Make a digital filter
swSoundSpeed

Seawater sound speed
read.lobo

Read a lobo data file
approx3d

Trilinear interpolation in a 3D array
as.section

Coerce ctd data into section dataset
as.lisst

Coerce data into a lisst object
redfieldNP

Redfield's (1934) NO3 and PO4 data
decimate

Smooth and decimate an oce object
ctimeToSeconds

Interpret a character string as a time interval
errorbars

Draw error bars on an existing xy diagram
despike

Remove spikes from a time series
grad

Gradient of a matrix
summary.drifter

Summarize a drifter object
toEnuAdv

Convert ADV to enu coordinates, from any other coordinates
integerToAscii

Decode integer to corresponding ASCII code
mapText

Plot text on a existing map
enuToOtherAdv

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

Convert from equatorial coordinates to local horizontal coordinates
head

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

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

Convert a numeric time to a POSIXct time
plot.ctd

Plot seawater CTD data
levitus

Sea-surface temperature and salinity
read.sealevel

Read a sea-level data file
mapLines

Plot lines on a existing map
latlonFormat

Format a latitude-longitude pair
showMetadataItem

Show metadata item
sectionGrid

Grid a section
mapPoints

Plot points on a existing map
siderealTime

Convert a POSIXt time to a sidereal time
swTSrho

Seawater temperature from salinity and density
munk

Munk's (1966) temperature profile
mapMeridians

Plot meridians on an existing map
oce.axis.POSIXct

Modified version of axis.POSIXct
oceDebug

Print a debugging message
met-class

Class to store meteorological data
oceContour

Contour with ability to flip x and y
oceans

Geometries of the five world oceans.
plot.windrose

Plot a wind rose diagram
read.coastline

Scan a coastline data file
tidemVuf

Do ephemeris calculations for tidem
plot.adv

Plot ADV data
unabbreviateYear

Determine year from various abbreviations
time.oce

Extract time from an oce object
read.echosounder

Read an echosounder data file
read.ctd

Read a CTD data file
read.met

Read a meteorological data file
plot.coastline

Plot a coastline
sectionSmooth

Smooth a section (preliminary version that may change)
sealevelHalifax

Sea-level data set, from Halifax Harbour
secondsToCtime

Convert a time interval to a colon-separated string
soi

Southern Oscillation Index
plot.met

Plot meteorological data
summary.cm

Summarize a cm (current meter) object
topoInterpolate

Interpolate within a topography dataset
topoWorld

Global topographic dataset at half-degree resolution
summary.coastline

Summarize a coastline data object
summary.topo

Summarize a topography data object
swTFreeze

Seawater freezing temperature
swDynamicHeight

Dynamic height of seawater profile
useHeading

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

Class to store topographic data
velocityStatistics

Report statistics of ADP or ADV velocities.
coastlineSLE

Coastline of St Lawrence Estuary
angleRemap

Convert an angle from the 0:360 range to -180:180
as.sealevel

Coerce data into sea-level dataset
binAverage

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

Decimate a CTD profile
drifter-class

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

Find great-circle segments between two points on earth
is.beam

Determine coordinate system for acoustic-doppler device
magneticDeclination

Earth magneticDeclination
mapZones

Plot zones on an existing map
oceBisect

Find the root of a function by bisection
oceFilter

Filter a time-series, possibly recursively
oce.plot.ts

Plot a time-series, obeying the timezone
plot.drifter

Plot drifter data
plotSticks

Draw a stick-plot diagram
read.drifter

Read a drifter data file
read.adv

Read an ADV data file
swDepth

Water depth
swViscosity

Seawater viscosity
swAlphaOverBeta

Ratio of seawater thermal expansion coefficient to haline contraction coefficient
teos

Interface to TEOS-10 library
tidem-class

Class to store tidal-constituent models
wind

Wind dataset
tdrTrim

Trim start/end portions of a tdr cast
unwrapAngle

Unwrap an angle that suffers modulo-360 problems
undriftTime

Correct for drift in instrument clock