CopernicusRequest

data class CopernicusRequest(val endpoint: String, val dataset: String, val inputs: Map<String, Any>) : CachedDirectoryKey

A request of data to a Copernicus data store.

Throws

if endpoint is not https://<store>.copernicus.eu/api or 127.0.0.1, or has a query, a fragment, or user information; or if dataset is not made of letters, digits, ., _, and -, starting with a letter or a digit; or if inputs hold keys that are not strings, or values with no JSON equivalent (anything but null, booleans, numbers, strings, maps, iterables, and arrays).

Constructors

Link copied to clipboard
constructor(endpoint: String, dataset: String, inputs: Map<String, Any>)

Properties

Link copied to clipboard

the dataset (e.g., cems-glofas-historical).

Link copied to clipboard
open override val directoryName: String

The dataset, followed by a hash of the whole request.

Link copied to clipboard

the URL of the API of the data store (e.g., https://ewds.climate.copernicus.eu/api).

Link copied to clipboard

what to download (variables, dates, area, format...), passed to the data store as it is.