Learn R Programming

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

oce (version 0.1-81)

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

License

GPL (>= 2)

Maintainer

Dan Kelley

Last Published

October 18th, 2010

Functions in oce (0.1-81)

adp.beam.attenuate

Convert ADP from beam to velocity
adv.2enu

Convert ADV to enu coordinates, from any other coordinates
adv.beam2xyz

Convert ADV from beam coordinates to xyz coordinates
air.rho

Air density
coastline.world

World coastline at coarse resolution
bcd2integer

Decode BCD to integer
parse.latlon

Parse a latitude or longitude string
fill.gap

Fill a gap in an oce object
read.ctd

Read a CTD data file
sealevel.hal

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

Sea-level data set, from Tuktoyaktuk (1975)
section.smooth

Smooth a section (preliminary version that may change)
summary.coastline

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

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

Seawater salinity from temperature and density
sw.dynamic.height

Dynamic height of seawater profile
unwrap.angle

Unwrap an angle that suffers modulo-360 problems
GMT.offset.from.tz

Determine time offset from timezone
as.ctd

Coerce data into ctd dataset
ctime.to.seconds

Interpret a character string as a time interval
is.beam

Determine coordinate system for acoustic-doppler device
geod.dist

Geodesic distance on earth
plot.pt

Plot pT (pressure-temperature) recorder data
pt.trim

Trim start/end portions of a pT cast
seconds.to.ctime

Convert a time interval to a colon-separated string
predict.tidem

Predict a time series from a tidal model
read.sealevel

Read a sea-level data file
summary.adp

Summarize an ADP object
summary.tidem

Summarize a tide-model object
air.hal

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

Create a windrose object
coriolis

Coriolis parameter on rotating earth
ctd.raw

Seawater CTD profile, without trimming of extraneous data
formatci

Format a confidence interval in parenthetic notation
imagepnew

Plot an image with a colour palette
matlab2POSIXt

Convert matlab time to POSIX time
munk1966

Munk's (1966) temperature profile
full.filename

full name of file, including path
plot.adv

Plot ADV data
oce.write.table

Write the data portion of object to a file
processing.log.append

Copy an object, but with an updated processing log.
plot.section

Plot a CTD section
plot.tidem

Plot a tidal fit
processing.log.item

Create a processing-log item
summary.ctd

Summarize a CTD object
sw.alpha

Seawater thermal expansion coefficient
sw.sound.speed

Seawater sound speed
tidem.astron

Do ephemeris calculations for tidem
read.adp

Read an ADP data file
window.oce

Window an oce object by time
plot.windrose

Plot a wind rose diagram
sw.spice

Seawater spiciness
ctd.add.column

Add a column to a CTD file
coastline.maritimes

Coastline data set, showing Maritime provinces of Canada
adp.enu2other

Convert ADP from east-north-up coordinates to other coordinates
draw.isopycnals

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

Plot lobo data
matrix.smooth

Smooth a matrix.
adp

ADP (acoustic-doppler profiler) dataset
plot.cm

Plot cm (current meter) data
despike

Remove spikes from a time series
make.section

Bind CTD profiles together into a cross section
ctd.trim

Trim start/end portions of a CTD cast
as.sealevel

Coerce data into sea-level dataset
make.filter

Make a digital filter
plot.sealevel

Plot sealevel data
lobo

lobo dataset
read.cm

Read a current-meter data file
apply.magnetic.declination

Earth magnetic declination
geod.xy

Convert lat/lon to x/y on earth
imagep

Plot an image with a colour palette
lon.format

Format a longitude
logger.toc

Decode table-of-contents file from a datalogger
decimate

Decimate an oce object
match.bytes

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

Scan a coastline data file
latlon.format

Format a latitude-longitude pair
oce.axis.POSIXct

Modified version of axis.POSIXct
oce.filter

Filter a time-series, possibly recursively
plot.TS

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

Draw a stick-plot diagram
plot.ctd

Plot seawater CTD data
sw.T.S.rho

Seawater temperature from salinity and density
section.grid

Grid a section
plot.ctd.scan

Plot seawater data in a low-level fashion
read.pt

Read an TDR temperature-depth recorder data file
sw.lapse.rate

Seawater lapse rate
subset.oce

Subset an oce object
section

Seawater CTD section
read.oce

Read an oceanographic data file
plot.topo

Plot topography data
summary.lobo

Summarize a lobo data object
summary.windrose

Summarize a windrose data object
oce.plot.ts

Plot a time-series, obeying the timezone
summary.topo

Summarize a topography data object
unabbreviate.year

Determine year from various abbreviations
sw.beta

Seawater haline contraction coefficient
sw.depth

Water depth
tidem.vuf

Do ephemeris calculations for tidem
sw.sigma.t

Seawater quasi-potential density anomaly
sw.sigma

Seawater density anomaly
sw.theta

Seawater potential temperature
sw.sigma.theta

Seawater potential density anomaly
topo.maritimes

Topographic dataset, showing Maritime region of Canada
topo.world

Global topographic dataset at half-degree resolution
use.heading

Replace the heading for one instrument with the heading for another
plot.coastline

Plot a coastline
processing.log.summary

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

Add an item to a processing log
stickplot

Draw a stick-plot diagram
summary.cm

Summarize a cm (current meter) object
rangelimit

Substitute NA for data outside a range
summary.pt

Summarize a pT object
summary.section

Summarize a CTD section
sun.angle

Solar angle as function of space and time.
summary.sealevel

Summarize a sealevel object
sw.T.freeze

Seawater freezing temperature
interp.barnes

Grid data using Barnes algorithm
a03

WOCE section a03
coastline.sle

Coastline of St Lawrence Estuary
as.topo

Coerce data into topo dataset
ctd.update.header

Update a CTD header
gravity

Acceleration due to earth gravity
magic

Find the type of an oceanographic data file
oce.as.POSIXlt

More general form of as.POSIXlt
pt.patm

Estimate atmospheric pressure in pT record
read.topo

Read an topography file
show.fives

Show summary-style fivenum stats
sw.conductivity

Seawater conductivity
sw.rho

Seawater density
sw.alpha.over.beta

Ratio of seawater thermal expansion coefficient to haline contraction coefficient
wind

Wind dataset
write.ctd

Write a CTD data object as a .csv file
adp.xyz2enu

Convert ADP from xyz coordinates to enu coordinates
adv.xyz2enu

Convert ADV from xyz coordinates to enu coordinates
as.coastline

Coerce data into coastline dataset
ctd

Seawater CTD profile
header

Return the header for an Oce data object
lat.format

Format a latitude
integer2ascii

Decode integer to corresponding ASCII code
plot.adp

Plot ADP data
read.lobo

Read a lobo data file
read.section

Read a section containing multiple CTD profiles
resizable.label

Provide axis names in adjustable sizes
summary.adv

Summarize an ADV object
sw.N2

Squared buoyancy frequency for seawater
tidem

Fit a tidal model to a timeseries
tidedata

Tidal constituent information
sw.viscosity

Seawater viscosity
vector.show

Show some values from a vector
ad.beam.name

Name an acoustic-doppler beam.
add.column

Add a column to an oce object
adv.enu2other

Convert ADV from east-north-up coordinates to other coordinates
adp.beam2xyz

Convert ADP from beam coordinates to xyz coordinates
coastline.hal

Coastline data set, showing Halifax Harbour
magnetic.declination

Earth magnetic declination
ctd.decimate

Decimate a CTD profile
oce.approx

Interpolate with Reiniger-Ross algorithm
oce.debug

Print a debugging message
oce.edit

Edit an oce object
oce.smooth

Smooth an oce object
oce.colors

Create a palette of colours
RRprofile

Seawater profile used by Reiniger and Ross (1968)
byte2binary

Format bytes as binary
plot.profile

Plot a CTD profile of various quantities
pt

pT (pressure-temperature) dataset
read.adv

Read an ADV data file
oce.spectrum

Wrapper to give normalized spectrum
sw.specific.heat

Seawater specific heat
undrift.time

Correct for drift in instrument clock