plan_in_memory
Stable function · Other
Tier: stable · Kind: function · Topic: Other
| Julia | Rust |
|---|---|
| not exported | earthsci_integrator_planner::plan_in_memory |
Julia
Julia does not export this function.
Rust
pub fn plan_in_memory(run_config_name: &str, run_config: &[u8], model: &[u8], options: &Options, bands: &dyn BandSource) -> Result<Planned>
plan of a run config and its model held in memory: needs no
filesystem, so it serves wasm32. The run config is read as if it were
the file run_config_name (say decay.run.json) in the directory /,
so its model is placed beside it, the plan’s inputs name it, and a
model’s solver.external naming it matches. A model that refers to
other files cannot be planned this way. Write the result with
Planned::files.