useAdjusted returns a copy of an
within which the individual
oce::argo objects may have been modified so that future calls to
will focus with
adjusted versions of the data. (Note that this modification cannot
be done for fields that lack adjusted values, so in such cases future
work with the unadjusted fields.)
The procedure is done profile by profile and parameter by parameter.
fallback argument offers a way to ”fall back” to unadjusted
values, depending on the data-mode (real-time, adjusted or delayed)
for individual items; see “Details”.
a logical value indicating whether to 'fall back' from
adjusted data to raw data for profiles that are in real-time mode. By
an integer that controls whether debugging information is printed
during processing. If
There are two cases. First, if
FALSE (which the default)
then the focus switches entirely
to the adjusted data. This improves the overall reliability of the results,
but at the cost of eliminating real-time data. This is because the
adjusted fields for real-time data are set to
NA as a matter of policy (see
section 2.2.5 of reference 1).
Wider data coverage is obtained if
TRUE. In this
case, the focus is shifted to adjusted data only if the data-mode for
the individual profiles is
D, indicating either Adjusted or
Delayed mode. Any profiles that are of the
R (Realtime) data-mode are
left unaltered. This blending of adjusted and unadjusted data offers
improved spatial and temporal coverage, while reducing the overall
data quality, and so this approach should be used with caution. For more
on this function see section 3.4 of Kelley et. al (2021).
useAdjusted returns an
argoFloats object that is similar to
its first argument, but which is set up so that future calls to
will focus on the "adjusted" data stream.
Dan Kelley, Jaimie Harbin and Clark Richards
Argo Data Management Team. "Argo User's Manual V3.4,"
January 20, 2021.
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
1 2 3 4 5 6 7 8
library(argoFloats) file <- "SD5903586_001.nc" raw <- readProfiles(system.file("extdata", file, package="argoFloats")) adj <- useAdjusted(raw) # Autoscale with adjusted values so frame shows both raw and adjusted. plot(adj, which="profile", profileControl=list(parameter="oxygen"), pch=2) points(raw[][["oxygen"]], raw[][["pressure"]], pch=1) legend("bottomright", pch=c(2,1), legend=c("Raw", "Adjusted"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.