iris-esmf-regrid icon indicating copy to clipboard operation
iris-esmf-regrid copied to clipboard

Investigate Proof of Concept Partitions for Behaviour with Dask

Open stephenworsley opened this issue 1 year ago • 4 comments

📰 Custom Issue

Subtask of #427.

Before designing the rest of the Partition class, it's worth determining what obstacles there may be to the core idea of loading and applying regridders lazily.

The proof of concept should:

  • Reference a collection of saved regridders and indexing information (probably with some overlaps).
  • Use those regridders to map a dask array to another dask array.
  • Only load the regridders when the result dask array is being realised/computed.

The investigation should check:

  • How flexible is a partition with repsect to different source chunking? Is it necessary to have a specific partition for a specific source chunking?
  • How should the source chunking affect the target chunking?
  • How can vertical chunks be handled efficiently? Is it possible to not have to reload the same regridder multiple times?
  • Are there any blockers to loading during a chunkwise opperation?

stephenworsley avatar Dec 03 '24 10:12 stephenworsley

So excited to see this in action (hopefully I can be some use in helping)!

trexfeathers avatar Dec 03 '24 11:12 trexfeathers

See this gist for an initial proof of concept for this idea: https://gist.github.com/stephenworsley/2235d21cdee8a84a83e889362a83b994

stephenworsley avatar Jan 07 '25 16:01 stephenworsley

@SciTools/esmf-regrid-devs This issue is stale due to a lack of activity in the last 180 days. Remove stale label or comment, otherwise this issue will close automatically in 14 days time.

github-actions[bot] avatar Jul 07 '25 06:07 github-actions[bot]

@SciTools/esmf-regrid-devs This stale issue has been automatically closed due to no community activity

github-actions[bot] avatar Jul 21 '25 06:07 github-actions[bot]