API Reference
Plugins are written against three public import surfaces:
firecube.ingestor.api— templates, hooks, context, and result typesfirecube.core.api— storage, URI, time, and dataset-preparation utilitiesfirecube.ingestor.extensions— optional regridding and DuckDB helpers
Import only from these modules. Deep imports into other Firecube modules are not part of the public contract and are rejected by the plugin contract test.
-
Templates
The template classes plugin authors subclass, and the hooks each template requires.
-
Hooks & Lifecycle
The full
BaseIngestorhook surface: batch shaping, lifecycle, validation, and metrics hooks. -
Context & Results
PluginContext, storage sessions, batch inputs, and the result and metrics types hooks receive and return. -
Exceptions
The error types Firecube raises and plugins may raise or catch.
-
Slot-Range Parallelism
Types and methods for parallel
DirectZarrIngestorwrites across disjoint slot ranges. -
Extensions
Optional HEALPix and lat/lon regridding helpers and DuckDB batch support.
-
Core Utilities
URI parsing, filesystem access, time conversion, and netCDF/HDF5 preparation helpers from
firecube.core.api. -
Configuration
Config dataclasses: storage, engine, template, and plugin option schemas.
-
CLI
The complete
firecubecommand tree, generated from the live CLI. -
Observability
Metrics, environment variables, and telemetry surfaces.
-
Storage Drivers
Driver capabilities and selection rules.
-
Control-Plane Spec
What ChunkManager writes into
.firecube/to make resume, recovery, and parallel writes safe.