Learn R Programming

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

oce (version 0.1-75)

Analysis of Oceanographic data

Description

Supports the analysis of Oceanographic data, including CTD measurements, sea-level timeseries, coastline files, etc. Also includes functions for calculating seawater properties such as density, and derived properties such as buoyancy frequency.

Copy Link

Version

Install

install.packages('oce')

Monthly Downloads

2,354

Version

0.1-75

License

GPL (>= 2)

Maintainer

Dan Kelley

Last Published

August 17th, 2024

Functions in oce (0.1-75)

coastline.hal

Sample coastline data set (Halifax Harbour)
coastline.world

World coastline at coarse resolution
geod.dist

Geodesic distance on earth
summary.coastline

Summarize a coastline data object
processing.log.item

Create a processing-log item
section.smooth

Smooth a section (preliminary version that may change)
stickplot

Draw a stick-plot diagram
summary.tide

Summarize a tide object
predict.tide

Predict a time series from a tidal model
a03

WOCE section a03
sw.sigma

Seawater density anomaly
ctd.raw

Sample seawater (CTD) profile, without trimming of extraneous data
plot.sealevel

Plot sealevel data
magic

Find the type of an oceanographic data file
plot.tdr

Plot RBR temperature-depth recorder data
read.ctd

Read a CTD data file
processing.log.summary

Summarize the processing log of an object
processing.log.append

Append item to the processing log of object
summary.sealevel

Summarize a sealevel data object
sw.N2

Seawater square of buoyancy frequency
sw.rho

Seawater density
tdr.patm

Estimate atmospheric pressure in RBR record
sw.S.T.rho

Seawater salinity from temperature and density
sw.sigma.t

Seawater quasi-potential density anomaly
section

Sample seawater (CTD) section
as.coastline

Coerce data into coastline dataset
ctd.decimate

Decimate a CTD profile
ctd

Sample seawater (CTD) profile
gebco.colors

GEBCO colors
oce.edit

Edit an oce object
plot.ctd

Plot seawater (CTD) data
coriolis

Coriolis parameter on rotating earth
ctd.trim

Trim start/end portions of a CTD cast
latlon.format

Format a latitude-longitude pair
lat.format

Format a latitude
plot.TS

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

Read a section containing multiple CTD profiles
read.topo

Read an ETOPO2 topography file
subset.oce

Subset an oce object
summary.windrose

Summarize a windrose data object
sw.S.C.T.p

Seawater salinity from conductivity ratio, temperature and pressure
sw.specific.heat

Seawater specific heat
wind

Sample (wind) data for contouring
coastline.maritimes

Sample coastline data set, showing Maritime provinces of Canada
summary.tdr

Summarize an RBR temperature-depth data object
sw.alpha

Seawater thermal expansion coefficient
tdr.trim

Trim start/end portions of a TDR cast
plot.tide

Plot a tidal fit
ctd.update.header

Update a CTD header
plot.windrose

Plot a wind rose diagram
sealevel.hal

Sample sea-level data set
read.oce

Read an oceanographic data file
sw.dynamic.height

Dynamic height of seawater profile
tidedata

Tidal constituent information
summary.section

Summarize a CTD section
as.sealevel

Coerce data into sea-level dataset
add.column

Add a column to an oce object
interp.barnes

Grid data using Barnes algorithm
gravity

Acceleration due to earth gravity
ctd.write

Write a CTD data object as a .cnv file
lon.format

Format a longitude
oce.as.POSIXlt

More general form of as.POSIXlt
plot.topo

Plot topography (ETOPO2) data
read.sealevel

Read a sea-level data file
read.lobo

Read a lobo data file
section.grid

Grid a section
summary.lobo

Summarize a lobo data object
sw.T.freeze

Seawater freezing temperature
sw.alpha.over.beta

Ratio of seawater thermal expansion coefficient to haline contraction coefficient
sw.sigma.theta

Seawater potential density anomaly
sw.theta

Seawater potential temperature
sw.viscosity

Seawater viscosity
tidem.astron

Do ephemeris calculations for tidem
tdr

Sample temperature-depth recorder file
tidem.vuf

Do ephemeris calculations for tidem
tidem

Fit a tidal model to a timeseries
plot.lobo

Plot lobo data
topo.maritimes

Sample topographic dataset, showing Maritime region of Canada
undrift.time

Correct for drift in instrument clock
as.ctd

Coerce data into ctd dataset
as.windrose

Create a windrose object
header

Return the header for an Oce data object
ctd.add.column

Add a column to a CTD file
plot.ctd.scan

Plot seawater (CTD) data in a low-level fashion, with scan number as the independent variable
plot.coastline

Plot a coastline
read.coastline

Scan a coastline data file
make.section

Bind CTD profiles together into a cross section
plot.section

Plot a CTD section
read.tdr

Read an RBR temperature-depth recorder data file
summary.ctd

Summarize a seawater (CTD) data object
sealevel.tuk

Sample sea-level data set, from Tuktoyaktuk (1975)
summary.topo

Summarize a topography (ETOPO2) data object
sw.conductivity

Seawater conductivity
sw.lapse.rate

Seawater lapse rate
sw.depth

Water depth
sw.spice

Seawater spiciness
lobo

Sample lobo dataset
sw.sound.speed

Seawater sound speed
sw.beta

Seawater haline contraction coefficient
plot.profile

Plot a CTD profile of various quantities
sw.T.S.rho

Seawater temperature from salinity and density