Rust API index
Every stable name Rust exports, and its extension seams.
Package: earthsciio 0.2.0
Documentation extracted with rustdoc JSON (rustdoc 1.101.0-nightly (21b707e3f 2026-09-30)), format_version 61.
Extension-tier names are on the Rust extension page .
Stable names
| Rust | Canonical | Kind | Summary |
|---|---|---|---|
Cache | cache | type | The cache fetcher. |
cache_key | cache_key | function | Compute the cache key for a resolved URL: sha256(utf8(url)), lowercase hex. |
CachedBlob | cache_entry | type | A resolved cache entry: the blob path plus its manifest. |
CommitReceipt | commit_receipt | type | What a successful commit did. |
CommitToken | commit_token | type | The value a writer hands the owner after flush (spec/writer.md §5.2). |
data_dir | data_dir | function | Resolve the cache root $EARTHSCIDATADIR. |
DataSource | data_source | type | The minimal parsed DataSource the Provider needs: where the bytes are, how to decode them, which variables to read, and the temporal cadence (absent ⇒ CONST). |
DimWindow | dim_window | type | A named-dimension window, built one dimension at a time — the Rust spelling of spec/prefetch.md §2.2’s DimWindow (the run window (start, end) already owns the name Window). |
EpochSample | epoch_sample | type | What PrefetchGroup::take returns: one Sample per member key. |
Error | error | error | Errors raised by the cache, transports, and stores. |
Ff10Reader | ff10_reader | type | The active ff10 reader. |
file_source_is_current | file_source_is_current | function | Rung 0 as a yes/no: is the source provably the file that was ingested? |
file_source_state | file_source_state | function | Rung 0 without a memo: is the file:// source behind a cached entry still the file that was ingested into it? |
GeoTiffReader | geotiff_reader | type | The active geotiff reader: pure-Rust raster decode + tiepoint georef. |
is_offline | is_offline | function | Resolve the effective offline flag: the explicit argument wins; otherwise fall back to EARTHSCI_OFFLINE. |
Manifest | manifest | type | Validation + provenance record stored alongside every cached blob. |
NativeDataset | native_dataset | type | A decoded native dataset: data variables keyed by on-disk name, plus the native coordinates of the loader’s grid. |
NativeField | native_field | type | One native-grid array, keyed by its on-disk file_variable name and validated against spec/schemas/native-field.schema.json. |
NetcdfReader | netcdf_reader | type | The active netcdf reader: pure-Rust NetCDF-3 + NetCDF-4/HDF5 decode. |
Order | prefetch_order | type | The order in which epochs will be taken (spec/prefetch.md §3.3). |
ParquetReader | parquet_reader | type | The active parquet reader: an Apache Parquet file as a flat table on index. |
PrefetchGroup | prefetch_group | type | Background decode of upcoming epochs across several providers, bitwise identical to synchronous Provider::refresh. |
Provider | provider | type | A loader-bound provider of native-grid arrays, refreshed at the loader’s cadence. |
read_blob | read_blob | function | Read a committed blob. |
read_output_manifest | read_output_manifest | function | Read and parse output_manifest.json (v1 or v2). |
read_record | read_record | function | Read the region of committed record index of variable var (shape: the variable’s dims minus time, region-sized). |
read_static | read_static | function | Read the region of committed static name. |
Region | region | type | A block of the non-time dims, dim → start..stop (0-based, half-open). |
Role | writer_role | type | A writer’s role in a store (spec/writer.md §5). |
Sample | prefetch_sample | type | One member’s part of an epoch (spec/prefetch.md §3.4). |
schema_fingerprint | schema_fingerprint | function | The schema fingerprint (spec/writer.md §3.1): "sha256:" + hex over the canonical JSON of the schema’s structural fields. |
sha256_file | sha256_file | function | Stream a file through sha256 without loading it fully into memory. |
ShapefileReader | shapefile_reader | type | The shapefile format reader. |
SourceTemporal | source_temporal | type | The temporal nature of a loader that refreshes at a cadence (plan §4.2). |
StreamSchema | stream_schema | type | The stream schema: the v1 OutputSchema without data, plus a time mode, statics and per-variable dtypes. |
Temporal | temporal | type | A loader’s temporal nature, supplying the TTL rung of the ladder. |
TimeMode | indexed_time | type | How the record axis is addressed (spec/writer.md §6). |
Window | window | type | A run window (start, end) — half-open [start, end). |
ZarrReader | zarr_reader | type | The store-backed zarr reader (Zarr v3 + v2 chunked arrays, via zarrs). |
ZarrStreamWriter | stream_writer | type | The streaming writer handle (spec/writer.md). |