Learn R Programming

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

oce (version 0.1-80)

Analysis of Oceanographic data

Description

Supports the analysis of Oceanographic data, including ADP measurements, CTD measurements, sectional data, sea-level timeseries, 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,716

Version

0.1-80

License

GPL (>= 2)

Maintainer

Dan Kelley

Last Published

November 5th, 2009

Functions in oce (0.1-80)

a03

WOCE section a03
ctd.decimate

Decimate a CTD profile
ctd.update.header

Update a CTD header
geod.xy

Convert lat/lon to x/y on earth
oce.as.POSIXlt

More general form of as.POSIXlt
plot.adp

Plot ADP data
plot.profile

Plot a CTD profile of various quantities
plot.pt

Plot pT (pressure-temperature) recorder data
plot.ctd.scan

Plot seawater data in a low-level fashion
formatci

Format a confidence interval in parenthetic notation
summary.adp

Summarize an ADP object
sw.N2

Squared buoyancy frequency for seawater
sun.angle

Solar angle as function of space and time.
sw.dynamic.height

Dynamic height of seawater profile
sw.depth

Water depth
sw.lapse.rate

Seawater lapse rate
sw.sigma.t

Seawater quasi-potential density anomaly
adp.xyz2enu

Convert ADP from xyz coordinates to enu coordinates
as.sealevel

Coerce data into sea-level dataset
coastline.sle

Coastline of St Lawrence Estuary
bcd2integer

Decode BCD to integer
coriolis

Coriolis parameter on rotating earth
plot.topo

Plot topography data
interp.barnes

Grid data using Barnes algorithm
header

Return the header for an Oce data object
resizable.label

Provide axis names in adjustable sizes
predict.tidem

Predict a time series from a tidal model
subset.oce

Subset an oce object
stickplot

Draw a stick-plot diagram
summary.pt

Summarize a pT object
sw.alpha.over.beta

Ratio of seawater thermal expansion coefficient to haline contraction coefficient
sw.sound.speed

Seawater sound speed
GMT.offset.from.tz

Determine time offset from timezone
decimate

Decimate an oce object
match.bytes

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

Bind CTD profiles together into a cross section
make.filter

Make a digital filter
oce.smooth

Smooth an oce object
read.coastline

Scan a coastline data file
read.header

Read an instrument header
sealevel.hal

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

Summarize a sealevel object
summary.section

Summarize a CTD section
sw.S.T.rho

Seawater salinity from temperature and density
sw.rho

Seawater density
sw.specific.heat

Seawater specific heat
RRprofile

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

Create a windrose object
adp

ADP (acoustic-doppler profiler) dataset
gravity

Acceleration due to earth gravity
oce.edit

Edit an oce object
oce.plot.ts

Plot a time-series, obeying the timezone
parse.latlon

Parse a latitude or longitude string
read.section

Read a section containing multiple CTD profiles
read.topo

Read an topography file
section.smooth

Smooth a section (preliminary version that may change)
tidem

Fit a tidal model to a timeseries
adv.enu2other

Convert ADV from east-north-up coordinates to other coordinates
coastline.world

World coastline at coarse resolution
read.pt

Read an TDR temperature-depth recorder data file
sw.conductivity

Seawater conductivity
sw.sigma.theta

Seawater potential density anomaly
tidem.astron

Do ephemeris calculations for tidem
plot.windrose

Plot a wind rose diagram
oce.plot.sticks

Draw a stick-plot diagram
matlab2POSIXt

Convert matlab time to POSIX time
processing.log.item

Create a processing-log item
undrift.time

Correct for drift in instrument clock
add.column

Add a column to an oce object
air.hal

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

Format a latitude-longitude pair
integer2ascii

Decode integer to corresponding ASCII code
ctd.add.column

Add a column to a CTD file
processing.log.summary

Summarize the processing log of an object
summary.topo

Summarize a topography data object
topo.maritimes

Topographic dataset, showing Maritime region of Canada
pt

pT (pressure-temperature) dataset
ad.beam.name

Name an acoustic-doppler beam.
lat.format

Format a latitude
magic

Find the type of an oceanographic data file
oce.colors

Create a palette of colours
plot.section

Plot a CTD section
plot.lobo

Plot lobo data
adv.beam2xyz

Convert ADV from beam coordinates to xyz coordinates
processing.log.append

Append item to the processing log of object
pt.trim

Trim start/end portions of a pT cast
read.oce

Read an oceanographic data file
read.ctd

Read a CTD data file
summary.coastline

Summarize a coastline data object
summary.ctd

Summarize a CTD object
sw.sigma

Seawater density anomaly
tidedata

Tidal constituent information
adp.beam.attenuate

Convert ADP from beam to velocity
adp.enu2other

Convert ADP from east-north-up coordinates to other coordinates
as.ctd

Coerce data into ctd dataset
byte2binary

Format bytes as binary
fill.gap

Fill a gap in an oce object
plot.TS

Plot temperature-salinity diagram for seawater (CTD) data
plot.coastline

Plot a coastline
lobo

lobo dataset
pt.patm

Estimate atmospheric pressure in pT record
plot.tidem

Plot a tidal fit
ctd

Seawater CTD profile
plot.sealevel

Plot sealevel data
section

Seawater CTD section
sw.S.C.T.p

Seawater salinity from conductivity ratio, temperature and pressure
sw.T.freeze

Seawater freezing temperature
summary.adv

Summarize an ADV object
sw.spice

Seawater spiciness
ctd.raw

Seawater CTD profile, without trimming of extraneous data
geod.dist

Geodesic distance on earth
oce.write.table

Write the data portion of object to a file
read.sealevel

Read a sea-level data file
plot.adv

Plot ADV data
sw.theta

Seawater potential temperature
sw.viscosity

Seawater viscosity
section.grid

Grid a section
coastline.hal

Coastline data set, showing Halifax Harbour
sealevel.tuk

Sea-level data set, from Tuktoyaktuk (1975)
adp.beam2xyz

Convert ADP from beam coordinates to xyz coordinates
ctd.trim

Trim start/end portions of a CTD cast
oce.filter

Filter a time-series, possibly recursively
coastline.maritimes

Coastline data set, showing Maritime provinces of Canada
matrix.smooth

Smooth a matrix.
as.coastline

Coerce data into coastline dataset
lon.format

Format a longitude
read.lobo

Read a lobo data file
oce.axis.POSIXct

Modified version of axis.POSIXct
read.adv

Read an ADV data file
draw.isopycnals

Draw isopycnal curves on an existing temperature-salinity plot
plot.ctd

Plot seawater CTD data
sw.alpha

Seawater thermal expansion coefficient
summary.lobo

Summarize a lobo data object
summary.windrose

Summarize a windrose data object
sw.T.S.rho

Seawater temperature from salinity and density
sw.beta

Seawater haline contraction coefficient
write.ctd

Write a CTD data object as a .csv file
imagep

Plot an image with a colour palette
wind

Wind dataset
tidem.vuf

Do ephemeris calculations for tidem
adv.xyz2enu

Convert ADV from xyz coordinates to enu coordinates
read.adp

Read an ADP data file
summary.tidem

Summarize a tide-model object