Skip to content

Add offline route handle generation scripts #91

@minghangli-uni

Description

@minghangli-uni

Background

For the global ACCESS-OM3 configs, the init phase can take O(hours) when the mediator core count goes up, mainly due to computing interpolation weights. This is seen in both:

But this doesnt happen for the regional Pan-Antarctic configs such as 4km regional scaling study.

Goal

To avoid repeatedly recomputing these weights, the new workflow should use offline interpolation weight generation.

Why this happens

ESMF provides a RouteHandle object store precomputed mappings (weights, indices, MPI exchange patterns, etc.). But creating them is expensive - especially patch method + high res grids. ESMF docs also say it's better to write them to file and reuse them rather than regenerate each run.

So the plan is:

  • generate RouteHandles offline and save them to files
  • update mediator logic to load these files instead of recomputing
  • test across the major configs (global + regional)

I'll open a companion PR for the first step.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions