Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.6%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Download Oceanographic Data
Basic Info
- Host: GitHub
- Owner: dankelley
- Language: R
- Default Branch: main
- Homepage: https://dankelley.github.io/dod/
- Size: 9.74 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Created almost 3 years ago
· Last pushed 10 months ago
Metadata Files
Readme
Changelog
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# dod
[](https://CRAN.R-project.org/package=dod)
[](https://github.com/dankelley/dod/actions/workflows/R-CMD-check.yaml)
The goal of dod is to make it easier to download various types of oceanographic
data from common sources such as BATS, NOAA, MEDS, BBMP. Some similar functions
exist in the oce package, but the intention is to retire them as dod matures,
because building oce is difficult for some users, and CRAN policies dictate
against frequent updates.
## Installation
You can install the development version of dod from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("dankelley/dod")
```
## Example
The following example shows how to (1) download an index of CTD data files
resulting from observations made as part of the BBMP program in the present
year and then (2) use functions in the oce package to read and plot the
first CTD profile of year 2024.
```{r example}
library(dod)
library(oce)
# Note: cannot specify year=2025 because the URL is differently constructed
index <- dod.ctd.bbmp.index(year = "2024")
ctdFile <- dod.ctd.bbmp(year = index$year[1], ID = index$ID[1], direction = "DN")
# Use oce to read, summarize and plot the data.
ctd <- read.netcdf(ctdFile) |>
oceRename() |>
as.ctd()
# Plot some biochemistry variables
par(mfrow = c(2, 2))
plotProfile(ctd, "SA")
plotProfile(ctd, "CT")
plotProfile(ctd, "oxygen")
plotProfile(ctd, "chlorophyllA")
```
PS. This `README.md` file was created on `r Sys.Date()` by rendering the
`README.Rmd` file with `devtools::build_readme()`.
Owner
- Name: Dan Kelley
- Login: dankelley
- Kind: user
- Location: Halifax, NS, Canada
- Company: Dalhousie University
- Website: http://dankelley.github.io
- Repositories: 72
- Profile: https://github.com/dankelley
Oceanographer, University Professor and former Senator (ORCID https://orcid.org/0000-0001-7808-5911)
GitHub Events
Total
- Issues event: 30
- Issue comment event: 32
- Push event: 30
Last Year
- Issues event: 30
- Issue comment event: 32
- Push event: 30
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| dankelley | k****n@g****m | 15 |
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 16
- Total pull requests: 0
- Average time to close issues: about 1 month
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 2.5
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 8
- Pull requests: 0
- Average time to close issues: 15 days
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 3.13
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- dankelley (27)
Pull Request Authors
Top Labels
Issue Labels
bug (13)
enhancement (9)
met (1)
documentation (1)
Pull Request Labels
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
DESCRIPTION
cran
- methods * imports
- oce * imports
- utils * imports
- knitr * suggests
- ncdf4 * suggests
- ocedata * suggests
- rmarkdown * suggests
- testthat * suggests