Providers
Binding a data source to the cache and a reader, and getting native-grid arrays out at the simulation's cadence.
| Operation | Kind | Bindings | Summary |
|---|---|---|---|
const_provider | function | Julia | Thin constructor for a time-invariant ([CONST]) provider. |
discrete_provider | function | Julia | Thin constructor for a time-varying ([DISCRETE]) provider over times. |
materialize | function | Julia | Return the native arrays for the source at time t. |
prefetch | function | Julia | Warm the cache for every URL the provider will need — the single URL for a [CONST] provider, the unique per-tick URLs for a [DISCRETE] one — WITHOUT decoding. |
refresh | function | Julia | Re-materialize at the cadence tick t. |
refresh_times | function | Julia | The discrete time points at which the data changes and the solver must [refresh]. |
data_source | type | Python, Rust | The I/O-relevant projection of an ESS DataSource the Provider needs. |
provider | type | Python, Julia, Rust | A loader-bound provider of native-grid arrays, refreshed at the loader’s cadence. |
source_temporal | type | Python, Rust | The temporal cadence of a DISCRETE loader (absent ⇒ CONST). |
window | type | Python, Rust | A run window (start, end) — half-open [start, end). |