cdsapi icon indicating copy to clipboard operation
cdsapi copied to clipboard

Get update on request

Open e5k opened this issue 5 months ago • 5 comments

What maintenance does this project need?

I used to be able to programatically check the update of a request using this:

  reply = dict(request_id=df.iloc[i]['r']) # Get ID
  new_client = cdsapi.Client(wait_until_complete=False, delete=False)
  result = cdsapi.api.Result(new_client, reply)
  result.update()
  reply = result.reply

After updating to the new cdsapi, result.update() returns:

HTTPError: 404 Client Error: Not Found for url: https://cds.climate.copernicus.eu/api/tasks/2fbb3fcc-e2d9-47c7-aef0-0c9a6a143402

Am I doing something wrong or is the cdsapi still requires updating?

Organisation

UNIGE

e5k avatar Sep 26 '24 13:09 e5k