get_cds_credentials: Get CDS API credentials from different sources

View source: R/utils.R

get_cds_credentialsR Documentation

Get CDS API credentials from different sources

Description

Checks the CDS_API_KEY environment variable, then the 'ecmwfr' keyring, then ⁠~/.cdsapirc⁠. A key found in the environment variable or in ⁠~/.cdsapirc⁠ is registered with 'ecmwfr' via ecmwfr::wf_set_key().

Usage

get_cds_credentials(silent = FALSE)

Arguments

silent

If TRUE, do not show information messages

Value

TRUE if credentials are available, FALSE otherwise.

Examples


get_cds_credentials()


varunayan documentation built on Oct. 30, 2026, 1:07 a.m.