bluegreen-labs / ecmwfr

Interface to the public ECMWF API Web Services
https://bluegreen-labs.github.io/ecmwfr/
Other
106 stars 30 forks source link

wf_request error #72

Closed princess97 closed 4 years ago

princess97 commented 4 years ago

wf_get_key (user = "5168x") Error in b_wincred_i_get (target): Windows credential store error in 'get': Element not found. using it it gives this error.

But when using wf_set_key, there is no problem.

wf_set_key (user = "5168x",

  • key = "23a2dddd-cc98-431c-8a3e-d06713eaxxxx",
  • service = "cds") User 5168x for cds service added successfully in keychain

When I try to run wf_request I get the following error. file <- wf_request (user = "5168x",

Error: Data identifier reanalysis-era5-single-level is not found in Web API, CDS or ADS datasets. Or your login credentials do not match your request.

Why do you think this is happening? I do everything according to what is written in the document.

khufkens commented 4 years ago

You have to specify the service.

wf_get_key (user = "5168x", service = "cds")
princess97 commented 4 years ago

I registered when I used wf_set_key. But I don't understand why it gives an error when I create a request? Also, shouldn't the display in the setup section change? you can retrieve the key using wf_get_key (user = "1234")

Alternatively you can input your login info with an interactive request wf_set_key (service = "cds")

khufkens commented 4 years ago

Can or can you not retrieve the data?

wf_set_key(user = "test", key = "foo", service = "cds")
wf_get_key(user = "test", service = "cds")

If no key is returned correctly you can not create a request. You should then check if your keyring is correctly installed on Windows.

princess97 commented 4 years ago

I tried these and registration is successful.But it still gives the following error in the request. Error: Data identifier reanalysis-era5-single-level is not found in Web API, CDS or ADS datasets.Or your login credentials do not match your request. Should I check with the function wf_check_request if it is properly installed on Windows? If so, I tried it and again I got the error "Error: Data identifier reanalysis-era5-single-level is not found in Web API, CDS or ADS datasets. Or your login credentials do not match your request".

khufkens commented 4 years ago

Then your request is faulty. Check the formatting and never hand code it.

princess97 commented 4 years ago

Thank you. I think i got it.

uchiavetta commented 3 years ago

Hi there,

I fixed the issue with the following procedure:

I hope this may be helpful!

khufkens commented 3 years ago

Thanks for the pointers. It's weird as my unit checks, which download data function well on Windows. Might be something really configuration specific.