HOW CAN I CHANGE MY CDSAPI KEY?

Hi, I have installed the Climate Data Store toolbox and when I did a test a window appeared where I had to type <UID>:<APIKEY> but I made a mistake and now I get errors when I want to use any function of the toolbox.
Where can I fix <UID>:<APIKEY> ?
Error using api>__init__
Python Error: AssertionError: The cdsapi key provided is not the correct format, please ensure it conforms to:
<UID>:<APIKEY>
Error in cdsapi_Factory.getCdsapi (line 28)
cdsapiClient = cdsapi_Client(options);
Error in climateDataStoreDownloadFuture (line 88)
obj.CdsapiClient = cdsapi_Factory.getCdsapi(options);
Error in climateDataStoreDownloadAsync (line 61)
F = climateDataStoreDownloadFuture(datasetName,datasetOptions, options);

2 comentarios

Angelo Yeo
Angelo Yeo el 9 de Nov. de 2023
You can reach out to Copernicus Support for CDS Toolbox.
https://cds.climate.copernicus.eu/cdsapp#!/usersupport
Ernesto Gonzalez Pinilla
Ernesto Gonzalez Pinilla el 9 de Nov. de 2023
Thanks, I found the .cdapirc file and fixed key, now the functions work fine.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Climate Science and Analysis en Centro de ayuda y File Exchange.

Productos

Versión

R2022b

Preguntada:

el 8 de Nov. de 2023

Comentada:

el 9 de Nov. de 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by