Skip to content

New Async API client#45

Draft
jbusecke wants to merge 23 commits intomainfrom
new-request-scheme
Draft

New Async API client#45
jbusecke wants to merge 23 commits intomainfrom
new-request-scheme

Conversation

@jbusecke
Copy link
Copy Markdown
Owner

@jbusecke jbusecke commented May 6, 2024

I have taken what I have learned from #42 and written a completely new logic to get info from the ESGF API.
This one is a bunch simpler, not async, and seems to actually get a lot more URL information (tested with the cases in #42).

I think the design here can also accomodate leap-stc/cmip6-leap-feedstock#147 in general. It might also be relevant to leap-stc/cmip6-leap-feedstock#133 (if we want to inject dataset level tracking ids).

Ill test drive this over at the CMIP6 feedstock and will then finish up over here.

This seems to work really well so far. I had a few hangs, but after actually raising timeouts, and catching them, things seem to work fine.
Will have to finish up the things below, but am already starting to use this on the CMIP recipe.

@jbusecke jbusecke changed the title New API client New Async API client May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant