You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Internally process the request kwargs to optimize caching.
For example, sort lists (all but area/grid), squeeze single element lists (or do the opposite), change types when possible, ...
Describe alternatives you've considered
No response
Additional context
No response
Organisation
B-Open / CADS-EQC
The text was updated successfully, but these errors were encountered:
Internally process the request kwargs to optimize caching. For example, sort lists (all but area/grid), squeeze single element lists (or do the opposite), change types when possible, ...
Should not all these be implemented in the cdsapi itself?
I don't think cdsapi uses any local cache, does it?
I'd expect that earthkit uses the CDS request dictionary to construct the keys/hashes of its own cache items.
When keys/hashes are available in the cache database (i.e., a cds file is already available in the cache), I'd expect that earthkit doesn't use cdsapi at all.
But maybe I misunderstood how earthkit cache works.
I am sorry but I thought that "sort lists (all but area/grid), squeeze single element lists (or do the opposite), change types when possible, ..." are not about caching.
Is your feature request related to a problem? Please describe.
The following snippet triggers 2 requests from the CDS, although the only difference in the requests is the order of the variables requested.
Describe the solution you'd like
Internally process the request kwargs to optimize caching.
For example, sort lists (all but area/grid), squeeze single element lists (or do the opposite), change types when possible, ...
Describe alternatives you've considered
No response
Additional context
No response
Organisation
B-Open / CADS-EQC
The text was updated successfully, but these errors were encountered: