oce

An R package for oceanographic processing.
https://github.com/dankelley/oce

Category: Hydrosphere
Sub Category: Ocean and Hydrology Data Access

Keywords

oceanography r

Keywords from Contributors

teos-10

Last synced: about 15 hours ago
JSON representation

Repository metadata

R package for oceanographic processing

README.md

oce

CRAN_Status_Badge status Project Status: Active – The project has reached a stable, usable state and is being actively developed. GitHub last commit R-CMD-check RStudio CRAN mirror downloads RStudio CRAN mirror downloads RStudio CRAN mirror downloads RStudio CRAN mirror downloads

Why use R for oceanographic analysis?

The R language is popular in many branches of science, and Oceanography is no exception. With its broad statistical support, R is a natural choice for oceanographers in the biological, chemical and geological sub-disciplines. However, some physical oceanographers have remained attached to Matlab, which was widely adopted during the 1990s. Lately, this has been changing, as oceanographers turn to open-source systems such as Python and R. A particular strength of R is its provision of many powerful and well-vetted packages for handling specialized calculations. The oce package is a prime example.

What the oce package provides

The oce package handles a wide variety of tasks that come up in the analysis of Oceanographic data. In addition to the present README file, a brief sketch of the package has been written by the core developers (Kelley Dan E., Clark Richards and Chantelle Layton, 2022. oce: an R package for Oceanographic Analysis. Journal of Open Source Software, 7(71), 3594), and the primary developer uses the package extensively in his book about the place of R in oceanographic analysis (Kelley, Dan E., 2018. Oceanographic Analysis with R. New York. Springer-Verlag ISBN 978-1-4939-8844-0). Details of oce functions are provided within the R help system, and in the package webpage.

Installing oce

Stable versions of oce are available from CRAN, and may be installed from within R, in the same way as other packages. However, the CRAN version is only updated a few times a year (pursuant to policy), so many users install the "develop" branch instead. This branch may be updated several times per day, as the authors fix bugs or add features that are motivated by day-to-day usage. This is the branch favoured by users who need new features or who would wish to contribute to Oce development.

To install a develop version that is usually under a week old, try using

install.packages("oce", repos = c("https://dankelley.r-universe.dev", "https://cloud.r-project.org"))

which does not require that you have compilers for C++, Fortran, etc. on your system. However, if you have those things, you can also try building straight from the github source using

remotes::install_github("dankelley/oce", ref="develop")

Note that most readers should also install Ocedata, with

remotes::install_github("dankelley/ocedata", ref="main")

which does not require compilers for C++, Fortran, etc.

Evolution of oce

Oce is emphatically an open-source system, and so the participation of users is very important. This is why Git is used for version control of the Oce source code, and why GitHub is the host for that code. Users are invited to take part in the development process, by suggesting features, by reporting bugs, or just by watching as others do such things. Oceanography is a collaborative discipline, so it makes sense that the evolution of Oce be similarly collaborative.

Examples using built-in datasets

CTD

library(oce)
data(ctd)
plot(ctd, which=c(1,2,3,5), type="l", span=150)

Sample CTD plot.

Acoustic Doppler profiler

library(oce)
data(adp)
plot(adp)

Sample adp plot.

Sealevel and tides

library(oce)
data(sealevel)
m <- tidem(sealevel)
par(mfrow=c(2, 1))
plot(sealevel, which=1)
plot(m)

Sample sealevel plot.

Echosounder

library(oce)
data(echosounder)
plot(echosounder, which=2, drawTimeRange=TRUE, drawBottom=TRUE)

Sample echosounder plot.

Map

library(oce)
par(mar=rep(0.5, 4))
data(endeavour, package="ocedata")
data(coastlineWorld, package="oce")
mapPlot(coastlineWorld, col="gray")
mapPoints(endeavour$longitude, endeavour$latitude, pch=20, col="red")

Sample map plot.

Landsat image

library(ocedata)
library(oce)
data(landsat)
plot(landsat)

Sample landsat image plot.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 9,365
Total Committers: 21
Avg Commits per committer: 445.952
Development Distribution Score (DDS): 0.168

Commits in past year: 113
Committers in past year: 5
Avg Commits per committer in past year: 22.6
Development Distribution Score (DDS) in past year: 0.133

Name Email Commits
Dan Kelley k****n@g****m 7791
Dan.Kelley@Dal.Ca D****y@D****a@3****5 1068
Clark Richards c****s@g****m 260
dan.kelley@dal.ca d****y@d****a@3****5 126
Pablo Valdés p****4@g****m 49
Jaimie Harbin j****6@d****a 19
EOGrady21 3****1 8
akrenner m****r@n****v 8
JoaoFilipeResende j****e@g****m 6
jkennel j****l@u****a 5
Dan Kelley k****y@D****l 5
Chantelle c****3@h****m 4
wkumler w****r@u****u 3
Dan Kelley k****y@e****a 3
dajiaohuang m****n@o****m 2
Anna Victor 1****8 2
Jeff Jackson X****c 2
Andrew Barna a****a@g****m 1
Dirk Eddelbuettel e****d@d****g 1
SvenGastauer s****r@p****u 1
Zak Varty 4****y 1

Committer domains:


Issue and Pull Request metadata

Last synced: 14 days ago

Total issues: 2,173
Total pull requests: 142
Average time to close issues: about 1 month
Average time to close pull requests: 1 day
Total issue authors: 143
Total pull request authors: 16
Average comments per issue: 5.05
Average comments per pull request: 1.82
Merged pull request: 134
Bot issues: 0
Bot pull requests: 0

Past year issues: 22
Past year pull requests: 4
Past year average time to close issues: 17 days
Past year average time to close pull requests: 2 days
Past year issue authors: 6
Past year pull request authors: 3
Past year average comments per issue: 6.59
Past year average comments per pull request: 2.25
Past year merged pull request: 4
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/dankelley/oce

Top Issue Authors

  • dankelley (1,418)
  • richardsc (428)
  • j-harbin (43)
  • clayton33 (38)
  • EOGrady21 (9)
  • atcogswell (8)
  • MichaelFolkes (8)
  • janstrauss1 (6)
  • Bokoyea (6)
  • koRneel82 (6)
  • Vinterwoo (5)
  • Xandac (4)
  • tomvanengeland (4)
  • rvaillancourt (4)
  • edwardpmorris (4)

Top Pull Request Authors

  • richardsc (101)
  • j-harbin (9)
  • dankelley (5)
  • Xandac (4)
  • EOGrady21 (4)
  • pablovaldes (3)
  • akrenner (3)
  • clayton33 (3)
  • SvenGastauer (2)
  • dajiaohuang (2)
  • JoaoFilipeResende (1)
  • zakvarty (1)
  • DocOtak (1)
  • eddelbuettel (1)
  • wkumler (1)

Top Issue Labels

  • graphics (296)
  • ctd (279)
  • development (244)
  • request (205)
  • adp (148)
  • bug (143)
  • mapping (140)
  • section (94)
  • reporter recheck requested (91)
  • high priority (87)
  • argo (81)
  • enhancement (64)
  • adv (59)
  • I/O (58)
  • ODF (51)
  • ad2cp (50)
  • for next CRAN (50)
  • low priority (46)
  • rsk (41)
  • documentation (38)
  • landsat (34)
  • imagep (29)
  • flags (27)
  • tidem (27)
  • pinned (25)
  • stale (24)
  • advice:programming (22)
  • coastline (21)
  • amsr (18)
  • CRITICAL (18)

Top Pull Request Labels

  • rsk (2)
  • colormap (1)
  • ODF (1)

Package metadata

proxy.golang.org: github.com/dankelley/oce

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/dankelley/oce#section-documentation
  • Licenses: gpl-3.0
  • Latest release: v1.7.2 (published over 4 years ago)
  • Last Synced: 2026-11-29T00:02:59.219090Z (1 day ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 5.459%
    • Average: 5.642%
    • Dependent repos count: 5.825%
cran.r-project.org: oce

Analysis of Oceanographic Data

  • Homepage: https://dankelley.github.io/oce/
  • Documentation: http://cran.r-project.org/web/packages/oce/oce.pdf
  • Licenses: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
  • Latest release: 0.1.74 (published about 18 years ago)
  • Last Synced: 2026-11-29T00:02:56.752011Z (1 day ago)
  • Versions: 69
  • Dependent Packages: 13
  • Dependent Repositories: 33
  • Downloads: 3,648 Last month
  • Docker Downloads: 1,466
  • Rankings:
    • Forks count: 1.719%
    • Stargazers count: 3.024%
    • Dependent packages count: 4.248%
    • Dependent repos count: 4.631%
    • Downloads: 6.557%
    • Average: 6.665%
    • Docker downloads count: 19.814%
  • Maintainers (1)
conda-forge.org: r-oce

  • Homepage: http://dankelley.github.com/oce/
  • Licenses: GPL-3.0-only
  • Latest release: 0.9_20 (published about 4 years ago)
  • Last Synced: 2026-03-27T14:10:25.428411Z (8 months ago)
  • Versions: 13
  • Dependent Packages: 1
  • Dependent Repositories: 2
  • Downloads: 260,208 Total
  • Rankings:
    • Dependent repos count: 20.06%
    • Average: 26.646%
    • Forks count: 27.282%
    • Dependent packages count: 28.954%
    • Stargazers count: 30.287%

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/draft-pdf.yml actions
  • actions/checkout v2 composite
  • actions/upload-artifact v1 composite
  • openjournals/openjournals-draft-action master composite
DESCRIPTION cran
  • R >= 2.15 depends
  • gsw * depends
  • methods * depends
  • utils * depends
  • Rcpp * imports
  • DBI * suggests
  • R.utils * suggests
  • RSQLite * suggests
  • XML * suggests
  • automap * suggests
  • foreign * suggests
  • interp * suggests
  • knitr * suggests
  • lubridate * suggests
  • ncdf4 * suggests
  • ocedata * suggests
  • rmarkdown * suggests
  • sf * suggests
  • sp * suggests
  • terra * suggests
  • testthat >= 3.0.0 suggests
  • tiff * suggests
.github/workflows/rhub.yaml actions
  • r-hub/actions/checkout v1 composite
  • r-hub/actions/platform-info v1 composite
  • r-hub/actions/run-check v1 composite
  • r-hub/actions/setup v1 composite
  • r-hub/actions/setup-deps v1 composite
  • r-hub/actions/setup-r v1 composite

Score: 20.7374547012252