Version: dev

var_plan

Stable type · Runtime I/O

Tier: stable · Kind: type · Topic: Runtime I/O

JuliaTypeScriptPythonRustGo
VarPlanoutside profilenot exportedVarPlanoutside profile

Julia

struct VarPlan
VarPlan(name::String, dims::Vector{String}, attrs::Dict{String, Any}, dtype::String, gridding::VarGridding)
VarPlan(name, dims, attrs, dtype, gridding)
VarPlan(name, dims, attrs, dtype, gridding)

One output variable as a writer sees it: the on-disk name, its ordered on-disk dims (record axis first, then spatial axes — a scalar’s dims are exactly [time_dim]), the CF attrs retained from the document, the element dtype, and the VarGridding that scatters a flat state into it.

Source

TypeScript

Not available in TypeScript. TypeScript is outside the runtime I/O capability profile (Julia, Python, Rust): data-source providers, refresh cadence, output sinks, checkpoints.

Python

Python does not export this type.

Rust

pub struct VarPlan {
    pub name: String,
    pub dims: Vec<String>,
    pub attrs: Map<String, Value>,
    pub dtype: &'static str,
    pub gridding: VarGridding,
}

impl VarPlan { pub fn values_per_record(&self) -> usize }

One output variable: what a writer declares, plus the inversion that fills it. Field-for-field the shape of earthsciio::format::WriteVar once Self::gridding has scattered the trajectory into data.

Source · Rust docs

Go

Not available in Go. Go is outside the runtime I/O capability profile (Julia, Python, Rust): data-source providers, refresh cadence, output sinks, checkpoints.