Get data nodes which store CMIP6 output

get_data_node(speed_test = FALSE, timeout = 3)

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.

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

Examples

if (FALSE) {
get_data_node()
}