Get data nodes which store CMIP6 output
get_data_node(speed_test = FALSE, timeout = 3)
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 for a ping response in seconds. Default: 3
.
A data.table::data.table()
of 2 or 3 (when speed_test
is TRUE
)
columns:
Column | Type | Description |
data_node | character | Web address of data node |
status | character | Status of data node. "UP" means OK and "DOWN" means currently not available |
ping | double | Data node response in milliseconds during speed test |
if (FALSE) {
get_data_node()
}