Copernicus Data
The data of a GriddedGeoLayer, downloaded at construction from a Copernicus data store, unless already in the local cache. See GridsFromDirectory for data already available locally.
Parameters
the URL of the API of the data store (e.g., https://ewds.climate.copernicus.eu/api).
the dataset (e.g., cems-glofas-historical).
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.
the name of the variable inside the downloaded files, auto-detected when null.
the directory of the cache.
the .cdsapirc file with the API token, read only when downloading.
how long the data store can take to prepare the data, as an ISO-8601 duration.
Throws
if a parameter is not valid, including inputs not holding a JSON object.
if the token cannot be read, or the download fails.