rerddapXtracto

xtractomactic using rerddap

https://github.com/rmendels/rerddapxtracto

Science Score: 36.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
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.9%) to scientific vocabulary

Keywords from Contributors

transformation
Last synced: 10 months ago · JSON representation

Repository

xtractomactic using rerddap

Basic Info
  • Host: GitHub
  • Owner: rmendels
  • License: other
  • Language: R
  • Default Branch: master
  • Size: 6.74 MB
Statistics
  • Stars: 14
  • Watchers: 2
  • Forks: 4
  • Open Issues: 0
  • Releases: 31
Created almost 10 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.md

rerddapXtracto (Version 1.2.1)

rerddapXtracto - R package for accessing environmental data using 'rerddap'


rxtracto()now works in coordinate space for projected data



tidy_grid()function to convert result of 'rxtracto_3D()' or 'rxtractogon()' to "tidy"" long-format



rxtracto()option to use the ERDDAP "Interpolate service", which can greatly speed up extracts for large tracks.



rxtracto() major rewrite of this function to reduce the number of requests made to the ERDDAP server, and to improve overall speed.


rerddapXtracto is an R package developed to subset and extract satellite and other oceanographic related data from a remote ERDDAP server. The program can extract data for a moving point in time along a user-supplied set of longitude, latitude, time and depth points; in a 3D bounding box; or within a polygon (through time).

There are also two plotting functions, plotTrack() and plotBox() that make use of the plotdap package. See the new rerdapXtracto vignette.

There are three main data extraction functions in the rerddapXtracto package:

  • rxtracto <- function(dataInfo, parameter = NULL, xcoord = NULL, ycoord = NULL, zcoord = NULL, tcoord = NULL, xlen = 0., ylen = 0., zlen = 0., xName = 'longitude', yName = 'latitude', zName = 'altitude', tName = 'time', interp = NULL, verbose = FALSE, progress_bar = FALSE)

  • rxtracto_3D <- function(dataInfo, parameter = NULL, xcoord = NULL, ycoord = NULL, zcoord = NULL, tcoord = NULL, xName = 'longitude', yName = 'latitude', zName = 'altitude', tName = 'time', verbose = FALSE)

  • rxtractogon <- function(dataInfo, parameter, xcoord = NULL, ycoord = NULL, zcoord = NULL, tcoord = NULL, xName = 'longitude', yName = 'latitude', zName = 'altitude', tName = 'time', verbose = FALSE)

and two functions for producing maps:

  • plotTrack <- function(resp, xcoord, ycoord, tcoord, plotColor = 'viridis', myFunc = NA, mapData = NULL, crs = NULL, animate = FALSE, cumulative = FALSE, name = NA, shape = 20, size = .5)

  • plotBBox <- function(resp, plotColor = 'viridis', time = NA, myFunc = NA, mapData = NULL, crs = NULL, animate = FALSE, cumulative = FALSE, name = NA, maxpixels = 10000)

and function to convert result of 'rxtracto_3D()' or 'rxtractogon()' to "tidy"" long-format:

  • 'tidy_grid(response)`

For data requests that cross the dateline for datasets that are on a (-180, 180) longitude grid, there are some important caveats:

  • Request must be on a (0, 360) longitude grid
  • Several of the checks that the request makes sense are disabled if the request cross the dateline and the dataset is on a (-180, 180) longitude grid.
  • User therefore has more responsibility to check that the request makes sense for the dataset being accessed.

rerddapXtracto uses the rerddap, ncdf4 , parsedate, plotdap and sp packages , and these packages (and the packages imported by these packages) must be installed first or rerddapXtracto will fail to install.

{r install,eval=FALSE} install.packages("ncdf4") install.packages("parsedate") install.packages("plotdap") install.packages("rerddap") install.packages("sp")

```

Required legalese

“The United States Department of Commerce (DOC) GitHub project code is provided on an ‘as is’ basis and the user assumes responsibility for its use. DOC has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any claims against the Department of Commerce stemming from the use of its GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States Government.”

Owner

  • Name: Roy Mendelssohn
  • Login: rmendels
  • Kind: user
  • Location: 110 McAllister Way, Santa Cruz, CA 95060
  • Company: ERD

GitHub Events

Total
  • Create event: 2
  • Release event: 2
  • Issues event: 5
  • Watch event: 1
  • Issue comment event: 4
  • Push event: 8
Last Year
  • Create event: 2
  • Release event: 2
  • Issues event: 5
  • Watch event: 1
  • Issue comment event: 4
  • Push event: 8

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 106
  • Total Committers: 2
  • Avg Commits per committer: 53.0
  • Development Distribution Score (DDS): 0.075
Past Year
  • Commits: 9
  • Committers: 2
  • Avg Commits per committer: 4.5
  • Development Distribution Score (DDS): 0.111
Top Committers
Name Email Commits
Roy Mendelssohn r****n@n****v 98
Roy Mendelssohn 8
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 31
  • Total pull requests: 3
  • Average time to close issues: 10 months
  • Average time to close pull requests: about 2 hours
  • Total issue authors: 19
  • Total pull request authors: 2
  • Average comments per issue: 5.19
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: 3 days
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 4.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sckott (5)
  • makratofil (3)
  • SimonDedman (3)
  • rmendels (3)
  • abfleishman (2)
  • camrinbraun (2)
  • sloredo214 (1)
  • dfifield (1)
  • elizeng (1)
  • mebowers5 (1)
  • ingomiller (1)
  • khammami (1)
  • MarieAugerMethe (1)
  • StonerKA (1)
  • kdougg (1)
Pull Request Authors
  • rmendels (2)
  • dfifield (1)
Top Labels
Issue Labels
enhancement (2) bug (1)
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • cran 456 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 81
  • Total maintainers: 1
proxy.golang.org: github.com/rmendels/rerddapXtracto
  • Versions: 28
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.5%
Dependent repos count: 5.7%
Last synced: 11 months ago
proxy.golang.org: github.com/rmendels/rerddapxtracto
  • Versions: 28
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.5%
Dependent repos count: 5.7%
Last synced: 11 months ago
cran.r-project.org: rerddapXtracto

Extracts Environmental Data from 'ERDDAP™' Web Services

  • Versions: 25
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 456 Last month
Rankings
Forks count: 12.8%
Stargazers count: 14.6%
Average: 23.5%
Downloads: 24.6%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 4.0.0 depends
  • abind * imports
  • dplyr * imports
  • ggplot2 * imports
  • httr * imports
  • maps * imports
  • methods * imports
  • ncdf4 * imports
  • parsedate * imports
  • plotdap >= 0.0.5 imports
  • readr * imports
  • rerddap >= 0.6.0 imports
  • sf * imports
  • sp * imports
  • stats * imports
  • utils * imports
  • cmocean * suggests
  • gganimate * suggests
  • knitr * suggests
  • mapdata * suggests
  • maptools * suggests
  • rgdal * suggests
  • rmarkdown * suggests