mathworks / climatedatastore

Climate Data Store Toolbox for MATLAB
Other
37 stars 10 forks source link

Cannot create a credential file #13

Open FlorinZai opened 1 year ago

FlorinZai commented 1 year ago

I need to be located in C:\Users\USERNAME with the current folder in Matlab for the download function to work. Adding it to windows path as well as Matlab path doesn't fix it.

This is the error: Error using setupCDSAPIIfNeeded Cannot create a credential file (\Users\USERNAME.cdsapirc). No such file or directory

The credential file is there with the API key and runs ok with Python.

rpurser47 commented 1 year ago

Hi @FlorinZai, finally getting around to this. What platform were you on? linux?

rpurser47 commented 1 year ago
FlorinZai commented 1 year ago

Hi @FlorinZai, finally getting around to this. What platform were you on? linux?

Hello, I am on windows. I just used the workaround with being inside C:\Users\USERNAME for my needs.