Learn R Programming

epwshiftr (version 0.1.4)

get_data_node: Get data nodes which store CMIP6 output

Description

Get data nodes which store CMIP6 output

Usage

get_data_node(speed_test = FALSE, timeout = 3)

Value

A data.table::data.table() of 2 or 3 (when speed_test is TRUE) columns:

ColumnTypeDescription
data_nodecharacterWeb address of data node
statuscharacterStatus of data node. "UP" means OK and "DOWN" means currently not available
pingdoubleData node response in milliseconds during speed test

Arguments

speed_test

If TRUE, use pingr::ping() to perform connection speed test on each data node. A ping column is appended in returned data.table which stores each data node response in milliseconds. This feature needs pingr package already installed. Default: FALSE.

timeout

Timeout for a ping response in seconds. Default: 3.

Examples

Run this code
if (FALSE) {
get_data_node()
}

Run the code above in your browser using DataLab