powered by
safe_info
Wrap rerddap::info() so that it will fail gracefully safe_info uses tryCatch() to deal with unavailable response
safe_info(dataset_id, url = "https://upwell.pfeg.noaa.gov/erddap/")
If success, dataset information, otherwise message and end
ERDDAP dataset_id
base ERDDAP URL
dataInfo <- safe_info('etopo360')
Run the code above in your browser using DataLab