Copernicus Data
constructor(endpoint: String, dataset: String, inputs: Any, variable: String? = null, cacheDirectory: String = DEFAULT_CACHE_DIRECTORY.toString(), cdsApiRcFile: String = DEFAULT_CDSAPIRC_LOCATION.toString(), providerTimeout: String = CopernicusDataStoreProvider.DEFAULT_TIMEOUT.toIsoString())
Parameters
endpoint
the URL of the API of the data store (e.g., https://ewds.climate.copernicus.eu/api).
dataset
the dataset (e.g., cems-glofas-historical).
inputs
what to download (variables, dates, area...), as a JSON object: either a mapping, a JSON file (among the classpath resources or, if not there, on the file system), or a JSON string. Requests with a type field need a file or a string, as the Alchemist loader reserves type in mappings.
variable
the name of the variable inside the downloaded files, auto-detected when null.
cache Directory
the directory of the cache.
cds Api Rc File
the .cdsapirc file with the API token, read only when downloading.
provider Timeout
how long the data store can take to prepare the data, as an ISO-8601 duration.