plan_problem
Stable function · Other
Tier: stable · Kind: function · Topic: Other
| Julia | Rust |
|---|---|
plan_problem | not exported |
Julia
plan_problem(dir::AbstractString; cache, model, cache_root, url_overrides)
plan_problem(dir; cache = nothing) -> PlanProblem
Build every operator the resolved schedule of the plan in dir names, from
its entry operators.<name> and its documents derived/<name>.rhs.esm and
derived/<name>.jacobian.esm (spec/operator-interface.md §8). A derived
document whose bytes do not hash to the plan’s derived entry is refused:
the plan is stale. cache, a dictionary, keeps built documents by their hash
across plans, so a document many plans share is built once.
A plan with forcing reads data (§8.4): its model, at model (default: its
inputs.model.path relative to dir) and checked against the plan’s hash,
gives the providers, through EarthSciAST’s providers_from_document with
EarthSciIO’s cache under cache_root (default dir/data-cache) and the
source-name-to-URL-template map url_overrides. These three are run-time
options, in neither the run config nor the plan.
Rust
Rust does not export this function.