Skip to content

[Experimental] Add pickle backed load cache to fetch_fcst#1905

Draft
James Frost (jfrost-mo) wants to merge 1 commit intomainfrom
loading_cache
Draft

[Experimental] Add pickle backed load cache to fetch_fcst#1905
James Frost (jfrost-mo) wants to merge 1 commit intomainfrom
loading_cache

Conversation

@jfrost-mo
Copy link
Copy Markdown
Member

@jfrost-mo James Frost (jfrost-mo) commented Feb 10, 2026

This does the loading of the data into cubes (with all associated callbacks) once in the fetch_fcst step, vastly speeding up the loading during recipe baking.

The read operator is updated to use this cache when it is provided a directory, and that directory contains a loadcache.pickle file. Otherwise loading will continue as normal.

TODO

Contribution checklist

Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

  • Documentation has been updated to reflect change.
  • New code has tests, and affected old tests have been updated.
  • All tests and CI checks pass.
  • Ensured the pull request title is descriptive.
  • Conda lock files have been updated if dependencies have changed.
  • Attributed any Generative AI, such as GitHub Copilot, used in this PR.
  • Marked the PR as ready to review.

This does the loading of the data into cubes (with all associated
callbacks) once in the fetch_fcst step, vastly speeding up the loading
during recipe baking.

The read operator is updated to use this cache when it is provided a
directory, and that directory contains a `loadcache.pickle` file.
Otherwise loading will continue as normal.
@jfrost-mo James Frost (jfrost-mo) changed the title Add pickle backed load cache to fetch_fcst [Experimental] Add pickle backed load cache to fetch_fcst Apr 13, 2026
@jfrost-mo James Frost (jfrost-mo) added the experimental An experimental change that is not yet intended to be merged. label Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request experimental An experimental change that is not yet intended to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant