argoFloats {argoFloats} | R Documentation |
A Package for Processing Argo Float Profiles
Description
The argoFloats
package provides tools for downloading and processing Argo profile data.
It allows users to focus on core, biogeochemical ("BGC"), or deep Argo profiles, and
also to sift these profiles based on ID, time, geography, variable, institution, and ocean, etc.
Once downloaded, such datasets can be analyzed within argoFloats
or using other R tools
and packages.
Details
The development website is https://github.com/ArgoCanada/argoFloats, and https://argocanada.github.io/argoFloats/index.html provides a simpler view that may be more helpful to most users. For more on the argoFloats package, see Kelley et al. (2021).
The sketch given below illustrates the typical workflow with the package, with descriptions of the steps on the left, and names of the relevant functions on the right.
As illustrated, the central functions are named
getIndex()
, subset(),
getProfiles()
, and readProfiles()
, and so a good way to
get familiar with the package is to read their documentation entries
and try the examples provided therein. Some built-in datasets are provided
for concreteness of illustration and for testing, but actual work always
starts with a call to getIndex()
to download a full index of float data.
In addition to these functions, argoFloats
also provides
specialized versions of R "generic" functions, as follows.
-
[[
provides a way to extract items fromargoFloats
objects, without getting lost in the details of storage. See[[,argoFloats-method
for details. (Note that[[<-
is not specialized, since the user is highly discouraged from altering values withinargoFloats
objects.) -
plot()
provides simple ways to plot aspects ofargoFloats
objects. Seeplot,argoFloats-method()
for details. -
summary()
displays key features ofargoFloats
objects. Seesummary,argoFloats-method()
for details. -
show()
provides a one-line sketch ofargoFloats
objects. Seeshow,argoFloats-method()
for details. -
merge()
combines multiple index objects into a new index object.
It should be noted that the profile elements within argoFloats
objects are stored as
in the form of argo
objects as defined by the oce
package.
This means that argoFloats
users can rely on
a wide variety of oce
functions to analyze their data.
The full suite of R tools is also available, and the vastness of
that suite explains why argoFloats
is written in R.
Kelley, D. E., Harbin, J., & Richards, C. (2021). argoFloats: An R package for analyzing Argo data. Frontiers in Marine Science, (8), 636922. doi:10.3389/fmars.2021.635922
Author(s)
Maintainer: Dan Kelley dan.kelley@dal.ca (ORCID) [copyright holder]
Authors:
Jaimie Harbin jm810136@dal.ca (ORCID)
Other contributors:
Dewey Dunnington dewey.dunnington@dfo-mpo.gc.ca (ORCID) [contributor]
Clark Richards clark.richards@dfo-mpo.gc.ca (ORCID) [contributor]
See Also
Useful links:
Report bugs at https://github.com/ArgoCanada/argoFloats/issues