Closed wschwanghart closed 1 year ago
Dear Professor Schwanghart,
Thank you for using the toolbox! I figured out what is going wrong.
There is a trivial difference in the name of the “dataset_issue”: It should be “LAPrec1901” (with a lowercase ‘r’), and your request is "LAPRec1901" with an uppercase ‘R’.
The corrected code, that works (with the change highlighted)
datasetName = "insitu-gridded-observations-alpine-precipitation";
options.version = "1.1";
options.dataset_issue = "LAPrec1901"; % <-- note the capitalization difference
options.variable = "precipitation";
options.format = "zip";
[downloadedFilePaths,citation] = climateDataStoreDownload(datasetName,options);
The error message from the service is pretty hard to decode. I am working with the ECMWF folks to improve their interface to more clearly identify why a request failed.
That returns:
2023-05-29 16:57:21,877 INFO Welcome to the CDS
2023-05-29 16:57:21,877 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/insitu-gridded-observations-alpine-precipitation
2023-05-29 16:57:22,214 INFO Downloading https://download-0012-clone.copernicus-climate.eu/cache-compute-0012/cache/data1/dataset-insitu-gridded-observations-alpine-precipitation-c53d411d-c2f4-486a-aad7-24564025cbec.zip to dataset-insitu-gridded-observations-alpine-precipitation-c53d411d-c2f4-486a-aad7-24564025cbec.zip (49.6M)
2023-05-29 16:57:30,316 INFO Download rate 6.1M/s
and the LAPrec1901.v1.1.nc
netCDF file is downloaded that you can read with ncread
in MATLAB.
Hi, thanks for writing this really useful tool! Recently, however, I have encountered an error when trying to download the gridded alpine precipitation dataset. Here's the code that I wrote:
This gave me following message:
2023-05-15 13:33:29,428 INFO Welcome to the CDS 2023-05-15 13:33:29,428 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/insitu-gridded-observations-alpine-precipitation Error using download_alpine_precip the data you have requested could not be found
Thanks and best regards, Wolfgang