argo_mirror: Argo Data default mirror

Description Usage Arguments Value Examples

View source: R/argo-mirror.R

Description

Fetch the default Argo mirror using argo_mirror() or set it using by argo_set_mirror(). The default mirror is set to https://data-argo.ifremer.fr. You can also set the default mirror using options("argodata.mirror = "path/to/mirror"). Use with_argo_mirror() to temporarily change the default mirror.

Usage

1
2
3
4
5

Arguments

mirror

The URL to an Argo mirror or a path to a directory where Argo data has been cached or synced. According to the Argo data access page, The following public mirrors are available:

Use NULL to reset to the default mirror.

expr

An expression to be evaluated with the specified default mirror.

Value

Examples

1
2
argo_mirror()
with_argo_mirror("ftp://usgodae.org/pub/outgoing/argo/", argo_mirror())

ArgoCanada/argodata documentation built on Dec. 13, 2021, 10:13 a.m.