safe_info {rerddapXtracto}R Documentation

Wrap rerddap::info() so that it will fail gracefully safe_info uses tryCatch() to deal with unavailable response

Description

Wrap rerddap::info() so that it will fail gracefully safe_info uses tryCatch() to deal with unavailable response

Usage

safe_info(dataset_id, url = "https://upwell.pfeg.noaa.gov/erddap/")

Arguments

dataset_id

ERDDAP dataset_id

url

base ERDDAP URL

Value

If success, dataset information, otherwise message and end

Examples

dataInfo <- safe_info('etopo360')


[Package rerddapXtracto version 1.2.3 Index]