Capability index: GeoStack
Layers: GeoStack · GeoNumerics · GeoML · GeoModels.
Every public name in the libraries geostack builds on, each listed
once under the shortest module path that exports it, with the first
sentence of its docstring. Search this page before writing a
loader, a model, a training step or a helper in a script or a
notebook: if what you need is here, use it; if it is almost here,
extend it where it lives. Regenerate with make capabilities after
changing a public API (tests/test_capabilities.py checks it is
current).
This page is the GeoStack layer. It may import GeoNumerics.
Listed at pipekit-ops 0.4.0, pipekit 0.3.1, pipekit-array 0.3.2, pipekit-cycle 0.3.1, pipekit-evaluate 0.4.1, pipekit-experiment 0.2.1, pipekit-jax 0.4.1, pipekit-train 0.3.2, georeader-spaceml 2.4.2, geotoolz-ops 0.20.1, geotoolz-array 0.6.1, geotoolz-catalog 0.9.0, geotoolz-cloud 0.7.1, geotoolz-patcher 0.16.1, geotoolz-products 0.7.1, xrtoolz-ops 0.8.0, xrtoolz-products 0.5.1.
Upstream: pipekit-ops¶
The core: Operator, Graph and the ready-made operators.
pipekit_ops¶
| Name | Kind | What it does |
|---|---|---|
AssertCallable | class | Pass-through; raise QCError if predicate(x) is falsy. |
AssertDType | class | Pass-through; raise QCError if getattr(x, 'dtype') mismatches. |
AssertHasAttribute | class | Pass-through; raise QCError if attribute missing (or value mismatches). |
AssertShape | class | Pass-through; raise QCError if getattr(x, 'shape') mismatches. |
AssertSignature | class | Pass-through; raise QCError unless the carrier’s dims fit pattern. |
AssertThat | class | Pass-through; raise QCError if pred(x) is falsy. |
Assoc | class | Add a key whose value is computed from the whole dict (toolz assoc). |
AsyncMap | class | Apply op to each item of an iterable inside an async event loop. |
BackendError | class | Inputs on more than one backend, or a backend the code does not run on. |
BackendWarning | class | Data moved between NumPy and JAX inside guard("warn"). |
BatchedMap | class | Split an iterable into batches and call op on each batch as a list. |
Branch | class | Binary conditional: run if_true or if_false based on a predicate. |
Cache | class | Memoise an inner operator by hashing its input and the inner pipeline. |
Carrier | class | Re-exported from typing. |
CarryState | class | Base class for state threaded through a stateful pipeline. |
Coalesce | class | Try each source in order; return the first output that satisfies is_ok. |
Concat | class | Flatten exactly one level (toolz concat). |
ConfigMixin | class | Auto-derive get_config() from __init__ parameter names. |
Const | class | Return a fixed value, ignoring any input. |
ConvertingAdapter | class | An adapter that moves a whole carrier between NumPy and JAX (optional). |
Count | class | The number of items (toolz count). |
CountBy | class | Count items per key, in first-seen order (toolz countby). |
DirectoryStore | class | One file per key under root, written atomically. |
Dissoc | class | Drop some keys; missing keys are ignored (toolz dissoc). |
Failed | class | The slot of an item that failed under on_error="collect". |
Fanout | class | Apply each named operator to the same input; return a dict of outputs. |
Filter | class | Keep the items a predicate accepts (builtin filter). |
FittableTransformer | class | Anything with sklearn-style fit + transform methods. |
Fold | class | Associative fold over chunks, reduced in parallel through Map. |
Get | class | Index into a mapping or sequence (toolz get). |
GetIn | class | Walk a key path through nested containers (toolz get_in). |
Graph | class | A symbolic operator graph with multiple inputs and outputs. |
GroupBy | class | Group items by a key, in first-seen order (toolz groupby). |
Histogram | class | Controller that captures simple histograms by key. |
Identity | class | Explicit no-op. |
Input | class | A named entry point into a Graph. |
JitReport | class | The steps of a pipeline, in the order they run; printed one per line. |
JitStep | class | One step of a pipeline, and whether it runs under jax.jit. |
LabelledAdapter | class | An adapter that can set the labels of named dims (optional). |
Lambda | class | Wrap an arbitrary callable as an Operator. |
Log | class | Pass the carrier through and write one logging record per call. |
Map | class | Apply op to every item, on any executor, with a bounded window. |
MapError | class | Every failure of a Map(on_error="collect") run, with the partial results. |
MemoryStore | class | A dict guarded by a lock: shared by the threads of one process. |
Merge | class | Union of several mappings; later inputs win (toolz merge). |
MissingAdapterError | class | A carrier from a known family arrived with no adapter registered. |
MissingValueAdapter | class | An adapter whose carriers mark missing elements in their data (optional). |
NamedArrayAdapter | class | What carrier-agnostic code needs from one carrier family. |
Node | class | A vertex in a Graph. |
Not | class | Negate a predicate; the operator form of complement. |
Operator | class | Base class for pipekit operators. |
PartitionAll | class | Split into tuples of n consecutive items (toolz partition_all). |
Pick | class | Keep only some keys, in the order given. |
Predictor | class | Anything with a sklearn-style predict method. |
Prefetch | class | Run op up to depth items ahead of the consumer, in input order. |
ProcessMap | class | Apply op to each item of an iterable using a process pool. |
Profile | class | Controller that records per-step wall-clock timings. |
QCError | class | Raised when a QC assertion fails. |
Quarantine | class | Non-raising QC: on failure log and return sentinel; on success pass through. |
RateLimit | class | At most calls starts of op in any window of period seconds. |
Reduce | class | Left fold (functools.reduce), with the operator called on one pair. |
Remove | class | Drop the items a predicate accepts (toolz remove). |
Rename | class | Rename keys; unlisted keys pass through and the order is kept. |
Retry | class | Retry an operator on transient failures with exponential backoff. |
Sequential | class | Apply a list of operators in order, threading the output of each into the next. |
ShapeTrace | class | Log shape / dtype of each carrier passing through. |
Signature | class | Immutable shape + dtype record. |
Sink | class | Apply a side-effecting write and pass the input through unchanged. |
Snapshot | class | Controller that captures intermediate carriers by name. |
SortBy | class | A stable sort by key (builtin sorted). |
StatefulOperator | class | Marker base for operators whose _apply threads carry-state. |
Store | class | What Cache needs from a store: membership, load and save by key. |
Switch | class | Multi-way dispatch on key(carrier). |
Take | class | The first n items (toolz take), for dry runs. |
Tap | class | Fire a callback on the carrier; return the carrier unchanged. |
ThreadMap | class | Apply op to each item of an iterable using a thread pool. |
Timeout | class | Raise TimeoutError if op has not returned after seconds. |
Try | class | Run primary; on caught exceptions run fallback. |
Unique | class | The first occurrence of each item, or of each key (toolz unique). |
Until | class | Apply op until pred holds, at most max_iter times. |
UpdateIn | class | Replace the value at a key path by op(value) (toolz update_in). |
ValMap | class | Apply an operator to every value, keeping the keys (toolz valmap). |
Zip | class | Align several iterables into tuples (builtin zip), strict by default. |
allowed | function | Return the registered class names ("module.Class" keys). |
backend_name | function | "jax", "dask" or "numpy" for raw data (tracers count as JAX). |
backend_of | function | The backend of a carrier or a raw array; None for any other value. |
check_pickleable | function | Return the list of forbid_in_yaml-flagged operators inside op. |
complement | function | Return a predicate that negates predicate. |
compose | function | Right-to-left composition (mathematical order). |
compose_left | function | Left-to-right composition (pipeline order). |
compute_output_signature | function | Free-function dispatch to op.compute_output_signature. |
dumps | function | JSON-encode an operator’s state record. |
executor_scope | function | Bind the executor that Map(executor="scope") borrows inside the block. |
from_state_sandboxed | function | Build an operator tree from a state record, allowlisted classes only. |
get_adapter | function | The adapter for x’s type, or None for an unnamed value. |
guard | function | Report each move between NumPy and JAX inside the with block. |
guard_level | function | The level of the innermost guard; "off" outside any. |
import_optional | function | Import a module of an optional extra, or say what to install. |
is_concrete | function | Return whether no leaf of any value is traced, so that they can be compared. |
is_traced | function | Return whether x is, or is a pytree containing, a JAX tracer. |
jit_report | function | Try each step of op under a JAX trace, and say which ones work. |
juxt | function | Return a callable that applies each operator to its input and tuples the results. |
loads | function | Decode an operator from its JSON state record. |
loads_sandboxed | function | Like loads, but reject any class, at any depth, not in the allowlist. |
on_import | function | Call callback(module) once name is imported, without importing it. |
pipe | function | Apply operators left-to-right to value. |
pipeline_hash | function | Content hash of a pipeline’s whole configuration, and optional weights. |
register | function | Register cls as loadable via loads_sandboxed. |
register_adapter | function | Register adapter for carrier_type and its subclasses. |
register_lazy_adapter | function | Register loader for carrier types defined under module_prefix. |
report_move | function | Tell the guard that what moved data; called by the code that does. |
signature_of | function | x’s Signature if it is a registered carrier; x itself otherwise. |
store_scope | function | Bind store names to stores inside the block. |
to_backend | function | x with its NumPy and JAX arrays on one of the two backends. |
unregister | function | Remove cls from the sandboxed loader’s allowlist. |
unregister_adapter | function | Remove the adapter registered for exactly carrier_type, if any. |
upgrade_state | function | state with the module names of older releases renamed. |
Upstream: pipekit¶
The pipekit workspace in one install; an umbrella that holds no code.
Upstream: pipekit-array¶
Array API operators (NumPy, JAX, CuPy, PyTorch).
pipekit_array¶
| Name | Kind | What it does |
|---|---|---|
ApplyAlong | class | inner on each item along dim; the results stacked along dim, first. |
ArgReduce | class | The index of a reduction along one dim ("argmax", "argmin"). |
BatchAlong | class | inner on chunks of size along dim of one carrier, joined back. |
BroadcastLike | class | Add other’s missing dims to x, in front: op(x, other). |
Coarsen | class | Reduce non-overlapping blocks along named dims by a named reduction. |
Combine | class | An element-wise function of carriers with the same dims: op(a, b, …). |
ConcatenateAlong | class | Concatenate a list-of-arrays along an existing axis via xp.concat. |
CumReduce | class | A cumulative function along dim, by its array-namespace name. |
Diff | class | The n-th forward difference along dim: N entries become N - n. |
DimArray | class | A raw array with one name per axis and static labels on some dims. |
DimArrayAdapter | class | The reference pipekit_ops.NamedArrayAdapter, for DimArray. |
Dot | class | The sum of the product of carriers over named dims: op(*xs). |
Estimator | class | A scikit-learn-style estimator fitted and applied on a named carrier. |
ExpandDims | class | Insert length-1 dims at position axis of the result. |
ISel | class | Select by position along one dim; an integer drops the dim. |
KernelOp | class | An L1 kernel wrapped once, run on raw arrays and on every named carrier. |
KernelSpec | class | A generalized-ufunc signature over abstract core-dim letters. |
MapOver | class | fn on each item along dim; the results stacked along dim, first. |
MeanScalar | class | Reduce an array to a scalar (or per-axis means) via xp.mean. |
MergeDims | class | Merge the listed dims into one, placed last, in C order. |
Pad | class | Widen named dims at either end; a padded dim loses its labels. |
Padded | class | A batch: the items as one carrier and a mask of the real ones. |
Quantile | class | Quantiles over named dims; a sequence q adds a leading quantile dim. |
Reduce | class | Reduce over named dims with an array-namespace reduction. |
Rename | class | New dim names; data, order and labels unchanged. |
Roll | class | Shift data cyclically along named dims; labels stay. |
RowLayout | class | How to_rows flattened a carrier, so from_rows can rebuild one. |
Sel | class | Select by exact label along one dim; one label drops the dim. |
Shift | class | Shift data along named dims, filling the vacated entries; labels stay. |
SplitDims | class | Split one dim into several, in place, in C order. |
Squeeze | class | Drop named length-1 dims. |
StackAlong | class | Stack a list-of-arrays along a new axis via xp.stack. |
TakeAlong | class | Gather one entry of dim per position: op(x, index). |
Transpose | class | Reorder dims by name. |
Where | class | Keep x where cond is True, other elsewhere: op(x, cond). |
Window | class | Sliding windows along one dim, as a new last dim; full windows only. |
argreduce | function | The index of a reduction along one dim ("argmax", "argmin"). |
array_namespace | function | Return the Array API namespace shared by all input arrays. |
batch | function | Group named carriers into Padded batches of size along dim. |
broadcast_like | function | Add other’s missing dims to x, in front, in other’s order. |
coarsen | function | Reduce non-overlapping blocks of k entries along each named dim. |
combine | function | fn of the data of carriers with the same dims; never aligns. |
concat | function | Join carriers along an existing dim; the other dims must agree. |
cumreduce | function | A cumulative function along dim; labels and length unchanged. |
diff | function | The n-th forward difference along dim (xarray’s diff). |
dot | function | The sum of the product of carriers over named dims (xr.dot). |
expand_dims | function | Insert length-1 dims, consecutively, at position axis of the result. |
from_rows | function | A carrier like layout.template from a table of rows. |
isel | function | Select by position on named dims; an integer drops its dim. |
map_over | function | fn on each item along dim; the results stacked along dim, first. |
merge_dims | function | Merge the listed dims into one, placed last, in C order (xarray’s stack). |
pad | function | Widen named dims at either end (xarray’s pad, four modes). |
quantile | function | Quantiles over named dims (xarray’s quantile). |
reduce | function | Reduce over one or more named dims. |
rename | function | New dim names; data, order and labels unchanged. |
roll | function | Shift data cyclically along named dims; labels stay (xarray’s roll). |
sel | function | Select by exact label on named dims: no ranges, no nearest. |
shift | function | Shift data along named dims, filling the vacated entries (xarray’s shift). |
split_dims | function | Split one dim into several, in place, in C order (xarray’s unstack). |
squeeze | function | Drop named length-1 dims. |
stack | function | A new leading dim dim from carriers with the same dims; never aligns. |
stack_items | function | Items along a new leading dim dim, each keeping its own geometry. |
take_along | function | Gather one entry of dim per position, with an index carrier. |
to_rows | function | x as a (n_samples, n_features) table, and how to undo it. |
transpose | function | Reorder dims by name; order names every dim once. |
where | function | Keep x where cond is True, other elsewhere (xarray’s where). |
window | function | Sliding windows along one dim; the window becomes a new last dim. |
Upstream: pipekit-cycle¶
Time-stepping, data assimilation and observation operators.
pipekit_cycle¶
| Name | Kind | What it does |
|---|---|---|
AdjointSpec | constant | pipekit_cycle.cycles._adjoints.DirectAdjoint | pipekit_cy... |
AnalysisStep | class | Combine forecast state with observations to produce analysis state. |
BFNCycle | class | Back-and-Forth Nudging over an assimilation window. |
BacksolveAdjoint | class | Continuous adjoint: solve the adjoint ODE backwards (O(1) memory). |
CallableForward | class | Wrap a plain callable as a forward model. |
CallableObs | class | Arbitrary callable observation operator. |
CompositeForward | class | Compose multiple forward models — F_k ∘ … ∘ F_1. |
CompositeObs | class | Compose multiple observation operators: H_k ∘ … ∘ H_1. |
CovarianceLocalizer | class | Taper spurious long-range covariances in ensemble methods. |
Cycle | class | Apply step_op for n_steps, threading state through each step. |
DACycle | class | Classic forecast-analysis cycle. |
DAState | class | State threaded through a DA cycle. |
DirectAdjoint | class | Exact gradients by storing every step of the rollout. |
EnsembleCycle | class | Run Cycle over a list of ensemble-member carriers. |
EnsembleDACycle | class | Ensemble-based DA — EnKF, ETKF, LETKF, particle filters, … |
EnsembleInflator | class | Inflate an analysis ensemble to counter variance underestimation. |
ErrorSubspace | class | A propagating low-rank error-covariance factor L (B ≈ L Lᵀ). |
ForwardModel | class | Advance a model state forward in time by dt. |
IdentityObs | class | Direct measurement: H(x) = x. |
ImplicitAdjoint | class | Differentiate a converged fixed point via the implicit function theorem. |
IterationState | class | State threaded through a Recurrence. |
IterativeProcess | class | An iterative ensemble inversion / sampling process (EKI, EKS, UKI). |
LatentMap | class | An encode/decode pair between full state space and a latent space. |
LinearObs | class | Linear observation map: H(x) = H @ x. |
NeuralForward | class | Wrap a neural-emulator operator (e.g. ModelOp) as a ForwardModel. |
ObservationNoise | class | An observation-error model that exposes covariance and sampling. |
ObservationOperator | class | Map model state → predicted observations. |
Recurrence | class | Apply step_op repeatedly until condition_op returns truthy. |
RecursiveCheckpointAdjoint | class | Exact gradients with treeverse checkpointing (the recommended default). |
ReducedBasis | class | Map a reduced control vector to a state increment (with a prior). |
ReducedOrderModel | class | A Galerkin / POD reduced-order model: encode/decode + latent dynamics. |
SmootherCycle | class | 4D-Var-shaped windowed smoother. |
StepScheduler | class | Step-size policy for an IterativeProcess. |
SupportsAdjoint | class | A differentiable component that exposes its adjoint strategy. |
TangentLinearModel | class | Tangent-linear and adjoint of a ForwardModel’s dynamics. |
TruncatedAdjoint | class | Biased gradients: flow stops more than k steps back. |
WindowState | class | State threaded through a windowed / smoother cycle. |
WindowedCycle | class | Sliding-window time-stepping over a stream of initial carriers. |
Upstream: pipekit-evaluate¶
Multidimensional evaluation (Unit x Lens x Stage).
pipekit_evaluate¶
| Name | Kind | What it does |
|---|---|---|
Axis | class | Which benchmark axis a reference is resolved along. |
Benchmark | class | Run the level x rung x complexity cube and score each cell. |
BenchmarkReport | class | The collected results of a benchmark run. |
Cell | class | One cell of the benchmark cube. |
CellResult | class | The scored outcome for one cube cell. |
CovarianceEstimate | class | An :class:Estimate that also reports its posterior covariance. |
DEFAULT_STAGES | constant | frozenset({<Stage.FINAL: 'final'>, <Stage.VALIDATION: 'va... |
Estimate | class | A point and/or a posterior produced by an estimator. |
Estimator | class | Any rung that maps observations → an :class:Estimate. |
EvaluationReport | class | The tagged scores of one evaluation run. |
Lens | class | What kind of failure a score can see. |
MetricScorer | class | A metric operator as a tagged :class:Scorer. |
Oracle | class | The designated reference :class:Estimator for a task (usually rung 2). |
Prior | class | A minimal prior over task parameters θ. |
ReferenceRule | class | Resolve the reference source for a rung along a given axis. |
ReferenceSource | class | Where a rung/step’s ground truth comes from. |
ReportEntry | class | One named value from one scorer. |
Scorer | class | Score one prediction against one reference. |
ScorerTags | class | A scorer’s position in the taxonomy. |
Stage | class | Where in a model’s life a score may run. |
Task | class | One benchmark scenario: prior + simulator + obs operator + data. |
Unit | class | What a score is computed on. |
evaluate | function | Score one prediction against one reference with every scorer. |
tags_of | function | Read a scorer’s taxonomy tags, defaulting the ones it does not set. |
Upstream: pipekit-experiment¶
Experiment tracking adapters and a model registry.
pipekit_experiment¶
| Name | Kind | What it does |
|---|---|---|
ExperimentTracker | class | Log metrics, parameters, and artifacts from a training run. |
HashMismatchError | class | Stored content does not match the hash it is stored under. |
InferenceArtifact | class | Reproducibility snapshot for an inference pipeline. |
LocalModelRegistry | class | Local-filesystem model registry. |
ModelRegistry | class | Store and retrieve trained models by content hash. |
Run | class | A single execution of a pipeline (training or inference). |
RunArtifacts | class | Named artifacts (files, models, plots) attached to a Run. |
RunMetrics | class | Per-step metric series. |
S3ModelRegistry | class | fsspec-backed model registry. |
TrainingArtifact | class | Reproducibility snapshot for a training run. |
Upstream: pipekit-jax¶
JAX / Equinox carrier integration for pipekit.
pipekit_jax¶
| Name | Kind | What it does |
|---|---|---|
EnsembleScanCycle | class | Run a ScanCycle on every ensemble member at once, with jax.vmap. |
JaxKernelOp | class | A KernelOp whose array parameters are pytree leaves. |
JaxModelOp | class | Wrap an eqx.Module as a pipekit_ops.Operator with weight round-trip. |
JaxOperator | class | Base class for pipekit operators whose fields are Equinox fields. |
Rollout | class | Carrier-only rollout: c₀ -> [c₀, c_k, c_2k, …, c_n]. |
ScanCycle | class | Apply step_op for n_steps inside one jax.lax.scan. |
to_jax | function | A JaxKernelOp with op’s kernel, spec, core and geometry. |
Upstream: pipekit-train¶
Training pipelines for emulators and amortized inference.
pipekit_train¶
| Name | Kind | What it does |
|---|---|---|
CachedDataset | class | Disk- or cloud-backed cache around any TrainingDataset. |
Callback | class | Per-step / per-epoch / per-eval hooks. |
Checkpoint | class | Save (model_op, optimizer_state) every N steps; final to a registry. |
Composite | class | Weighted sum of Loss components. |
EarlyStopping | class | Signal stop when a monitored metric hasn’t improved for N evals. |
HyperSweep | class | Orchestrate N independent TrainingLoop runs. |
IterableDataset | class | Generic escape hatch — wrap any iterable as a TrainingDataset. |
JSONLWriter | class | Append-only JSON Lines metric writer. |
KL | class | Kullback-Leibler divergence between two distributions. |
LogToExperiment | class | Forward metrics / params / artifacts to a pipekit-experiment tracker. |
Loss | class | Loss function — per-batch scalar called by the adapter. |
MSE | class | Mean squared error loss. |
MetricWriter | class | Where per-step metrics go when no tracker is attached. |
NLL | class | Negative log-likelihood for distribution-shaped predictions. |
ParameterGrid | class | Cartesian product over named parameter axes. |
SimulationDataset | class | Yields (parameters, simulator_output) pairs. |
SweepCarryState | class | Carry-state for HyperSweep. |
SweepResult | class | One trial’s result inside a sweep. |
TrainerCarryState | class | Carry-state for TrainingLoop. |
TrainingDataset | class | Abstract base — yields (input, target) pairs. |
TrainingLoop | class | Train a model_op on a dataset, producing a trained model_op. |
ValidationStep | class | Compute validation metrics on a held-out dataset. |
Upstream: georeader-spaceml¶
Raster reading and the GeoTensor carrier.
georeader.geotensor¶
| Name | Kind | What it does |
|---|---|---|
GeoTensor | class | A numpy ndarray subclass with geospatial metadata. |
get_rio_options_path | function |
georeader.read¶
| Name | Kind | What it does |
|---|---|---|
apply_anti_aliasing | function | Apply anti-aliasing to data_in assuming it will be downsampled to resolution_dst. |
calculate_transform_window | function | Calculate the default transform to reproject data to dst_crs with resolution_dst_crs |
read_from_bounds | function | Extract raster data within a geographic bounding box, with optional CRS transformation. |
read_from_center_coords | function | Extract a rectangular chip from raster data centered on geographic coordinates. |
read_from_polygon | function | Extract raster data within a polygon boundary, supporting complex shapes and masking. |
read_from_tile | function | Read raster data corresponding to a Web Mercator (XYZ) tile for web mapping applications. |
read_from_window | function | Read raster data from a specified window, with optional padding for out-of-bounds areas. |
read_reproject | function | Reproject raster data to a different CRS, resolution, and/or extent. |
read_reproject_like | function | Reads from data_in and reprojects to have the same extent and resolution than data_like. |
read_rpcs | function | This function georreferences an array using the RPCs. |
read_to_crs | function | Change the crs of data_in to dst_crs. |
resize | function | Resample raster data to a different spatial resolution with optional anti-aliasing. |
window_from_bounds | function | Calculate the raster window corresponding to geographic bounds. |
window_from_center_coords | function | Calculate a raster window of specified size centered on geographic coordinates. |
window_from_polygon | function | Calculate the raster window that contains a polygon in pixel coordinates. |
window_from_tile | function | Calculate the raster window corresponding to a Web Mercator (XYZ) tile. |
georeader.save¶
| Name | Kind | What it does |
|---|---|---|
save_cog | function | Save a GeoData object as a Cloud Optimized GeoTIFF (COG). |
save_tiled_geotiff | function | Save a GeoData object as a tiled GeoTIFF file. |
georeader.rasterio_reader¶
| Name | Kind | What it does |
|---|---|---|
RasterioReader | class | Lazy file-backed raster reader with geospatial metadata. |
get_out_shape | function | Calculate aspect-preserving output shape. |
mask_sas_token | function | Mask the signature of an Azure SAS token embedded in a file path. |
needs_boundless | function | Check if a read window requires boundless mode. |
read_out_shape | function | Read raster with resampling to target shape. |
georeader.mosaic¶
| Name | Kind | What it does |
|---|---|---|
spatial_mosaic | function | Create a spatial mosaic by filling gaps with data from overlapping rasters. |
Upstream: geotoolz-ops¶
Composable remote-sensing operators on GeoTensor.
geoops¶
| Name | Kind | What it does |
|---|---|---|
ARVI | class | Atmospherically Resistant Vegetation Index — Kaufman & Tanre 1992. |
AdaptiveWindowBackground | class | Per-pixel local mean and diagonal variance over a square window. |
AltitudeMask | class | Build a boolean mask from DEM elevation bounds. |
AnnotatePoints | class | Draw circular point markers into a display GeoArray. |
AnnotatePolygons | class | Rasterize polygon outlines into a display GeoArray. |
AntimeridianSplit | class | Split a geographic swath at a longitude wrap. |
AppendIndex | class | Run an index operator and concatenate its output back as a new band. |
ApplyAdaptiveMF | class | Apply a matched filter against per-pixel local window statistics. |
ApplyClusterMF | class | Apply a matched filter dispatched by per-pixel cluster label. |
ApplyColormap | class | Map a single-band raster to a four-band RGBA GeoArray. |
ApplyDiscreteColormap | class | Map integer categories to a four-band RGBA GeoArray. |
ApplyMask | class | Apply a boolean mask to the carrier, filling True pixels. |
ApplySRF | class | Convolve hyperspectral bands to target Gaussian-SRF multispectral bands. |
AsinhScale | class | Inverse-hyperbolic-sine scaling. |
AtmosphericHaze | class | Add a sampled haze term following an inverse fourth-power spectrum. |
BAIS2 | class | Burned Area Index for Sentinel-2 — Filipponi 2018. |
BAPComposite | class | Best Available Pixel compositing from quality-score metadata. |
BBoxMask | class | Rasterize an axis-aligned bounding box into a boolean mask. |
BSI | class | Bare Soil Index — Rikimaru et al. 2002. |
BTFromRadiance | class | Convert thermal at-sensor radiance to brightness temperature (Kelvin). |
BandDropout | class | Fill each band independently with probability p. |
BandJitter | class | Permute bands within explicitly configured groups. |
BandMath | class | Evaluate a restricted arithmetic expression over named bands. |
BandRatio | class | Simple two-band ratio numerator / (denominator + eps). |
BilateralDenoise | class | Edge-aware denoise using a range-weighted Gaussian. |
BlendMatched | class | Weighted mean across N aligned tensors. |
BlobDOG | class | Blob detection via Difference of Gaussian. |
BlobDoH | class | Blob detection via Determinant of Hessian. |
BlobLoG | class | Blob detection via Laplacian of Gaussian. |
BowtieCorrection | class | Remove whiskbroom bowtie overlap by resampling each scan along track. |
BrightnessJitter | class | Scale reflectance values by a sampled scalar or per-band factor. |
BufferMask | class | Radially expand True pixels in a mask by a Euclidean buffer. |
CHWtoHWC | class | Reorder a (..., C, H, W) cube to channels-last (..., H, W, C). |
CIRI | class | Cirrus Reflectance Index — Sentinel-2 B10 passthrough. |
CLAHE | class | Contrast-Limited Adaptive Histogram Equalization. |
Canny | class | Canny edge detection returning a boolean edge map. |
ChanVese | class | Active-contour segmentation via :func:skimage.segmentation.chan_vese. |
ClayMinerals | class | Clay Minerals ratio — Sabins 1999 / Crowley et al. 1989. |
CleanMask | class | Remove small objects, fill small holes, then close the mask. |
CloseMask | class | Close (dilate then erode) a boolean mask. |
CloudFreeComposite | class | Per-pixel mean over frames where the cloud mask is false. |
CloudSEN12 | class | Placeholder for the optional ML-based CloudSEN12 detector. |
ColumnEnhancement | class | Convenience trace-gas column-enhancement matched-filter composite. |
ColumnToMass | class | Convert column enhancement units (ppm m / mol m^-2 / kg m^-2). |
CombineMasks | class | Combine boolean masks on one pixel grid with or, and or xor. |
Composite | class | Build a multi-band composite by arbitrary band reference. |
ComputeSZA | class | Compute the solar zenith angle (degrees) for a location and UTC datetime. |
ContinuumRemoval | class | Hull-quotient continuum removal along the band axis. |
ContrastJitter | class | Scale deviations from the per-band spatial mean. |
CornerHarris | class | Harris corner response plus peak selection as point features. |
CountryMask | class | Rasterize Natural Earth country polygons selected by ISO A3 code. |
CropTo | class | Crop a GeoArray to a target spatial shape. |
CropToBounds | class | Crop a GeoArray to a geographic bounding box. |
CrossSectionalFlux | class | Estimate cross-sectional flux at downwind transects. |
Curl2D | class | Curl (relative vorticity) of a gridded 2-D vector field in map axes. |
Curl3D | class | Curl (vorticity vector) of a gridded 3-D vector field on vertical levels. |
CutMix | class | Paste a random rectangle from a pool donor on the input’s pixel grid. |
DNToRadiance | class | Convert DN to at-sensor radiance. |
DNToReflectance | class | Convert DN to TOA / surface reflectance via a linear affine decode. |
DOS1 | class | Apply a Chavez (1988) Dark-Object Subtraction (DOS1) approximation. |
DecodeBitmask | class | Unpack a QA bitmask into named boolean mask layers. |
DenoisePCA | class | Reconstruct a multi-band raster from its top PCA components. |
DespeckleFrost | class | Frost (1982) adaptive exponential-kernel speckle filter. |
DespeckleLee | class | Lee (1980) local-statistics speckle filter. |
DespeckleRefinedLee | class | Refined-Lee speckle filter approximation. |
DestripeColumn | class | Subtract per-column (or per-row) offsets from striped imagery. |
DetectionThreshold | class | Gaussian false-alarm score threshold. |
DilateMask | class | Dilate a boolean mask over its trailing spatial axes. |
DistanceMask | class | Mask pixels by their distance from a geometry (True = drop). |
Divergence1D | class | Divergence of a flux along one dim, :math:\partial u / \partial s. |
Divergence2D | class | Divergence of a gridded 2-D vector field in map axes, NaN- and mask-aware. |
Divergence3D | class | Divergence of a gridded 3-D vector field on vertical levels. |
EMITBandMask | class | Saturation mask from EMIT’s packed band mask; True = mask out. |
EMITL2AMask | class | Named flags of the EMIT L2A mask product, OR-combined; True = mask out. |
EVI | class | Enhanced Vegetation Index — Huete et al. 2002. |
EVI2 | class | Two-band Enhanced Vegetation Index — Jiang et al. 2008. |
EarthSunDistanceCorrection | class | Compute the Earth–Sun distance d (in AU) for an acquisition date. |
Einx | class | Apply any einx operation to the carrier, geo-aware. |
ErodeMask | class | Erode a boolean mask over its trailing spatial axes. |
EstimateCovEmpirical | class | Estimate an empirical covariance operator. |
EstimateCovLowRank | class | Estimate a low-rank-plus-Tikhonov covariance operator. |
EstimateCovShrunk | class | Estimate a diagonal-target shrinkage covariance operator. |
EstimateMean | class | Estimate a spectral background mean vector from a cube. |
ExpandLabels | class | Grow label regions by a fixed pixel distance without overlap. |
FalseColor | class | Build a NIR-red-green false-colour composite. |
Felzenszwalb | class | Graph-based segmentation via :func:skimage.segmentation.felzenszwalb. |
FindContours | class | Extract iso-value contours as LineString geometries. |
GCI | class | Green Chlorophyll Index — Gitelson et al. 2003. |
GMMClusterBackground | class | Estimate clustered background statistics with a NumPy GMM backend. |
Gamma | class | Power-law gamma correction. |
GammaCorrect | class | Apply display gamma correction. |
GapFillIDW | class | Fill NaNs with inverse-distance weighted finite neighbours. |
GapFillInpaintBiharmonic | class | Smoothly inpaint NaN gaps with a biharmonic fill (Δ²u = 0). |
GapFillLaplacian | class | Fill NaNs by solving a discrete Laplace equation. |
GapFillNearest | class | Fill NaNs from the nearest finite neighbour. |
GaussianDenoise | class | Gaussian smoother over the trailing two spatial axes. |
GaussianNoise | class | Add zero-mean Gaussian sensor noise. |
GeoArrayEstimator | class | Marshall a scikit-learn estimator to and from GeoArray-shaped data. |
Georeference | class | Georeference swath data using a GLT (geolocation lookup table) GeoArray. |
GeostationaryParallaxCorrect | class | Shift pixels from apparent geostationary view position to nadir. |
Gradient1D | class | Derivative of a gridded field along one dim, NaN- and mask-aware. |
Gradient2D | class | Diagnostic gradient of a gridded field in map axes, NaN- and mask-aware (OP-O7). |
Gradient3D | class | Gradient of a gridded field on vertical levels, NaN- and mask-aware. |
HOG | class | Histogram of Oriented Gradients descriptor. |
HWCtoCHW | class | Reorder a channels-last (..., H, W, C) array to (..., C, H, W). |
Hillshade | class | Compute a single-band uint8 hillshade from a DEM. |
HistogramMatch | class | Match a GeoArray histogram to a reference GeoArray. |
HistogramStretch | class | Per-band percentile stretch into out_range for visualisation. |
HoughCircles | class | Detect circles with the circular Hough transform. |
HoughLines | class | Detect prominent straight lines with the Hough transform. |
IMEEstimate | class | Integrated Mass Enhancement (IME) flux estimator. |
IntegratedIrradiance | class | Compute band-integrated TOA solar irradiance from an SRF table. |
InterpAt | class | H(x): a grid read at the positions of points, as an operator. |
InvertMask | class | Invert a boolean mask element-wise. |
IronOxide | class | Iron Oxide ratio — Segal 1982 / Sabins 1999. |
LabelConnectedComponents | class | Convert a binary mask into an int32 connected-component label map. |
LandMask | class | Rasterize Natural Earth land polygons into a boolean mask. |
LandsatQA_PIXEL | class | Landsat Collection-2 QA_PIXEL mask preset. |
Laplacian1D | class | Second derivative of a gridded field along one dim, NaN- and mask-aware. |
Laplacian2D | class | Laplacian of a gridded field in 2-D map axes, NaN- and mask-aware. |
Laplacian3D | class | Laplacian of a gridded field on vertical levels, NaN- and mask-aware. |
LinearTargetFromObs | class | Finite-difference tangent-linear target from an observation model. |
LoadFromEE | class | Load an Earth Engine image into a GeoArray. |
LoadFromSTAC | class | Load a raster asset from a STAC item by asset key. |
LogScale | class | Logarithmic scaling with an epsilon offset for zeros. |
MNDWI | class | Modified Normalized Difference Water Index — Xu 2006. |
MNF | class | Minimum Noise Fraction transform (Green et al. 1988), with its inverse. |
MODISStateQA | class | MODIS state_1km (or state_500m) QA mask preset. |
MarkBoundaries | class | Overlay segmentation boundaries on an image for visual inspection. |
MaskCirrus | class | Return True where a QA band marks cirrus pixels. |
MaskCloudShadow | class | Return True where a QA band marks cloud-shadow pixels. |
MaskClouds | class | Return True where a QA band marks cloud-contaminated pixels. |
MaskInvalid | class | Mark invalid (nodata) pixels: True = invalid, drop it. |
MaskNMS | class | Mask-IoU non-maximum suppression over a stack of instance masks. |
MaskNoData | class | Return True where pixels are no-data by QA value or carrier fill value. |
MaskSaturated | class | Return True where pixels are at or above a saturation value. |
MaskSnow | class | Return True where a QA band marks snow or ice pixels. |
MaskWater | class | Return True where a QA band marks water pixels. |
MatchedFilter | class | Per-pixel matched-filter score map. |
MatchedFilterPixel | class | Single-pixel matched-filter score. |
MatchedFilterSNR | class | Theoretical detection SNR amplitude * sqrt(t^T Sigma^-1 t). |
MaxNDVIComposite | class | Pick the frame with maximum NDVI per pixel and return its band values. |
MedianComposite | class | Per-pixel median across a stack of co-registered GeoArrays. |
MedianDenoise | class | Median filter over the trailing two spatial axes. |
MergeNearbyInstances | class | Merge instance labels whose bboxes are close and partially overlap. |
MinCloudComposite | class | Pick each pixel from the scene with the lowest global cloud coverage. |
MinMaxScaler | class | Per-band min-max scaling into an arbitrary output range. |
MinMaxStretch | class | Linear contrast stretch into [0, 1]. |
ModelOp | class | Wrap any callable as an Operator. |
MomentMatching | class | Destripe by matching every column’s mean and std to a reference. |
Mosaic | class | Mosaic multiple GeoArrays onto a single grid. |
MultiscaleBasicFeatures | class | General-purpose multiscale feature stack. |
NBR | class | Normalized Burn Ratio — Key & Benson 2006. |
NBR2 | class | Normalized Burn Ratio 2 — USGS Landsat product. |
NDBI | class | Normalized Difference Built-up Index — Zha et al. 2003. |
NDMI | class | Normalized Difference Moisture Index — Gao 1996. |
NDSI | class | Normalized Difference Snow Index — Hall et al. 1995. |
NDVI | class | Normalized Difference Vegetation Index — Rouse et al. 1974. |
NDWI | class | Normalized Difference Water Index — McFeeters 1996. |
NLMeans | class | Lightweight non-local-means-style denoiser. |
NonlinearTargetFromObs | class | Finite-amplitude target from a callable observation model. |
Normalize | class | Fixed-stats per-band z-score normaliser. |
NormalizedDifference | class | Generic normalized-difference index (a - b) / (a + b + eps). |
OceanMask | class | Rasterize Natural Earth ocean polygons into a boolean mask. |
OmniCloudMask | class | Placeholder for the optional ML-based OmniCloudMask detector. |
OpenMask | class | Open (erode then dilate) a boolean mask. |
OpticalFlowILK | class | Dense per-pixel displacement via iterative Lucas-Kanade optical flow. |
OpticalFlowTVL1 | class | Dense per-pixel displacement via TV-L1 optical flow. |
OutlierMask | class | Flag global outliers with a MAD or z-score threshold. |
Overlay | class | Blend background and foreground GeoArrays on the same grid. |
PadTo | class | Pad a GeoArray up to a target spatial shape. |
PeakLocalMax | class | Find local maxima and return point features with pixel scores. |
PerBandReduce | class | Reduce each band over its spatial extent to one scalar, ignoring nodata. |
PerBandStats | class | Compute NaN-aware per-band statistics and cache them. |
PercentileClip | class | Per-band robust contrast stretch using percentile thresholds. |
PhaseAlign | class | Sub-pixel image registration via phase cross-correlation. |
PixelwiseGMM | class | Gaussian mixture convenience operator. |
PixelwiseIPCA | class | Streaming IncrementalPCA convenience operator. |
PixelwiseIsolationForest | class | Pixel-wise IsolationForest anomaly-score convenience operator. |
PixelwiseIterativeImputer | class | Pixel-wise IterativeImputer convenience operator. |
PixelwiseKMeans | class | Pixel-wise KMeans label convenience operator. |
PixelwiseKNNImputer | class | Pixel-wise KNNImputer convenience operator. |
PixelwiseLocalOutlierFactor | class | Pixel-wise LocalOutlierFactor convenience operator. |
PixelwiseMiniBatchKMeans | class | Streaming MiniBatchKMeans convenience operator. |
PixelwiseNMF | class | Pixel-wise NMF convenience operator. |
PixelwiseOneClassSVM | class | Pixel-wise OneClassSVM anomaly-score convenience operator. |
PixelwisePCA | class | Pixel-wise PCA convenience operator. |
PlumeColumnStats | class | Per-instance in-mask vs background statistics of a column field. |
PlumeContours | class | Connected-component labelling of a plume mask. |
PlumeFootprint | class | Vectorize a plume mask into polygons with per-plume metadata. |
PlumeMask | class | Binary plume mask from a single-band score or enhancement map. |
PlumeQNDFeatures | class | Per-instance Quantile-Normality-Deviation features for plume QA. |
PlumeShapeFilter | class | Drop instance labels that fail a fiber-shape morphology gate. |
PointCloudToRaster | class | Rasterize a point cloud onto a target grid. |
PointsToRaster | class | Bin a vector cube of point measurements onto a target raster grid. |
PolygonMask | class | Rasterize a shapely geometry or GeoDataFrame into a boolean mask. |
PowerScale | class | Non-negative power scaling. |
ProfileLine | class | Sample values along a line between two pixel coordinates. |
Quickshift | class | Mode-seeking superpixels via :func:skimage.segmentation.quickshift. |
RANSAC | class | Robust model fitting via :func:skimage.measure.ransac. |
RGBRecipe | class | Build a display RGB from three band expressions with fixed stretches. |
RadianceToDN | class | Convert at-sensor radiance back to raw DN — inverse of DNToRadiance. |
RadianceToReflectance | class | Convert at-sensor radiance to TOA reflectance with solar geometry. |
RandomCrop | class | Randomly crop a spatial window and update the transform. |
RandomFlip | class | Randomly flip a GeoArray horizontally and/or vertically. |
RandomRotate90 | class | Randomly rotate by 90, 180, or 270 degrees. |
RandomShift | class | Randomly shift a fixed-size spatial window in pixel units. |
RandomWalker | class | Seeded segmentation via :func:skimage.segmentation.random_walker. |
RasterToPointCloud | class | Sample raster values onto each node of a point cloud. |
RasterToPoints | class | Extract raster values at a vector cube of points. |
RasterToRasterLike | class | Align one raster onto another’s CRS + grid in a single op. |
Rasterize | class | Rasterize geometries onto the input GeoArray’s grid. |
RasterizeLike | class | Rasterize geometries onto a stored reference grid. |
ReadBounds | class | Read all pixels intersecting a geographic bounding box. |
ReadCenterCoords | class | Read a fixed-shape window centred on map coordinates. |
ReadHDF | class | Read a dataset from an HDF4/HDF-EOS or HDF5 file, local or remote. |
ReadNetCDF | class | Read a variable from a NetCDF-3 / NetCDF-4 file, local or remote. |
ReadPolygon | class | Read all pixels intersecting a polygon. |
ReadReprojectLike | class | Read a source and reproject it onto another raster’s grid. |
ReadTile | class | Read a single web-map tile and reproject it to a target CRS. |
ReadToCRS | class | Read a source and reproject it to a target CRS. |
ReadWindow | class | Read a pixel-space rectangular window from a raster source. |
ReflectanceToRadiance | class | Convert TOA reflectance back to at-sensor radiance — inverse of RadianceToReflectance. |
RegionProps | class | Extract a GeoDataFrame of per-region statistics from a label map. |
RemoveSmallHoles | class | Fill enclosed False components up to max_hole_area_px pixels. |
RemoveSmallObjects | class | Remove connected True components smaller than min_area_px pixels. |
ReorderBands | class | Reorder bands by integer index or band name. |
ReplaceOutliers | class | Replace outliers with median, NaN, or nearest-neighbour interpolation. |
Reproject | class | Reproject a GeoArray to a destination CRS or onto a target grid. |
ReprojectLike | class | Reproject a GeoArray onto another GeoArray’s CRS + grid. |
Resample | class | Resample a GeoArray to a target spatial resolution. |
ResampleLike | class | Resample a GeoArray onto another GeoArray’s spatial grid. |
Resize | class | Resize a GeoArray to a target spatial shape. |
RobustScaler | class | Per-band median / IQR scaling (robust to outliers). |
S2Cloudless | class | Placeholder for the optional ML-based s2cloudless mask. |
S2QA60 | class | Sentinel-2 L1C QA60 cloud + cirrus mask preset. |
S2SCL | class | Sentinel-2 L2A SCL preset that masks the requested targets classes. |
SAVI | class | Soil-Adjusted Vegetation Index — Huete 1988. |
SBMP | class | Single-band multi-pass Sentinel-2 SWIR ratio retrieval. |
SCL | class | Sentinel-2 L2A Scene Classification Layer class IDs. |
SCL_CLOUDS | constant | frozenset({<SCL.CLOUD_HIGH_PROBABILITY: 9>, <SCL.CLOUD_ME... |
SCL_CLOUDS_AND_INVALID | constant | frozenset({<SCL.CLOUD_HIGH_PROBABILITY: 9>, <SCL.CLOUD_ME... |
SCL_INVALID | constant | frozenset({<SCL.CLOUD_SHADOWS: 3>, <SCL.NO_DATA: 0>, <SCL... |
SCL_LAND | constant | frozenset({<SCL.NOT_VEGETATED: 5>, <SCL.VEGETATION: 4>}) |
SCL_WATER | constant | frozenset({<SCL.WATER: 6>}) |
SENSOR_QA_REGISTRY | constant | {'s2_qa60': {'cloud': {'bits': (10,)}, 'cirrus': {'bits':... |
SLIC | class | SLIC superpixels via :func:skimage.segmentation.slic. |
SWIRComposite | class | Build a SWIR2-NIR-red composite. |
SegmentStitch | class | Assemble indexed sensor segments into one contiguous GeoArray. |
SelectBands | class | Select bands by integer index or band name along the band axis. |
ShadedRelief | class | Apply an elevation colormap and modulate RGB with hillshade. |
ShannonEntropy | class | Compute Shannon entropy of the input image. |
SimpleAtmosphericCorrection | class | Dispatch simple BOA approximations; currently supports method='dos1'. |
SimulatedClouds | class | Overlay a smooth synthetic cloud field onto reflectance imagery. |
SkeletonLength | class | Longest path through the skeleton of a binary mask. |
SklearnOp | class | Universal adapter for scikit-learn-compatible estimators on GeoArrays. |
SlidingWindow | class | Split a GeoArray into overlapping sliding-window tiles. |
SlopeMask | class | Build a boolean mask from DEM slope bounds in degrees. |
SpatialPool | class | Downsample the spatial grid by integer factors, updating the transform. |
SpeckleNoise | class | Apply multiplicative Gaussian speckle noise, useful for SAR. |
SpectralBinning | class | Aggregate source bands into wavelength-centered bins. |
SpectralSmoothing | class | Smooth spectra along the band axis. |
SplitBands | class | Split a multiband GeoArray into one single-band GeoArray per band. |
StackBands | class | Concatenate carriers along the band axis. |
StackMatched | class | Concatenate aligned tensors along the band axis. |
StandardScaler | class | Per-band z-score normalisation. |
Stitch | class | Stitch georeferenced tiles back into one GeoArray. |
StreamingBackground | class | Aggregate mean/covariance across an iterable of cubes. |
StretchToUint8 | class | Percentile-stretch display data to uint8. |
StructureTensor | class | Local structure-tensor eigenvalue stack. |
SunAngleJitter | class | Rescale TOA reflectance for a simulated solar-zenith change. |
SwathToGrid | class | Grid a swath onto a target grid by inverse-distance weighting. |
Threshold | class | Binary mask of the pixels strictly above a global threshold. |
Tile | class | Split a GeoArray into spatial tiles. |
ToFloat32 | class | Cast the carrier’s values to float32. |
TrueColor | class | Build an RGB composite from explicit red, green, and blue band refs. |
ValidateMFInputs | class | Fail-fast pass-through validator for matched-filter inputs. |
VectorToRasterAgg | class | Rasterize a vector layer with an aggregation policy for overlaps. |
Vectorize | class | Vectorize non-zero regions of a mask GeoArray into polygons. |
Watershed | class | Watershed segmentation via :func:skimage.segmentation.watershed. |
WindAdvectionCone | class | Mask likely downwind plume extent from a source and wind vector. |
WriteCOG | class | Write a GeoArray as a validated Cloud-Optimized GeoTIFF. |
WriteGeoTIFF | class | Write a GeoArray as a tiled GeoTIFF (no overviews). |
WriteZarr | class | Write a GeoArray to a Zarr store with spatial metadata. |
ZeroOne | class | Scale the current scene extent into [0, 1]. |
dNBR | class | Differenced Normalized Burn Ratio — Key & Benson 2006. |
kNDVI | class | Kernel NDVI — Camps-Valls et al. 2021. |
Upstream: geotoolz-array¶
The GeoArray carrier: an array with its grid (transform, CRS).
geoarray¶
| Name | Kind | What it does |
|---|---|---|
AsyncRasterSource | class | RasterSource with coroutine reads, for sources behind a network. |
DIMS | constant | ('time', 'band', 'y', 'x') |
FrozenAttrs | class | An immutable, hashable mapping of string keys to frozen values. |
GeoArray | class | A georeferenced array whose data is a NumPy or a JAX array. |
GeoArrayAdapter | class | The pipekit_ops.NamedArrayAdapter for GeoArray. |
GeoArrayError | class | Base class of every error geoarray raises on its own account. |
GeoArrayTraceError | class | An operation needs concrete values but got JAX tracers. |
GeoPoints | class | Scattered samples on the obs dim: positions, optional z, time, valid. |
GeoPointsAdapter | class | The pipekit_ops.NamedArrayAdapter for GeoPoints: xy, z, time, valid match. |
GeoSwath | class | Data in sensor geometry: per-pixel lat/lon on the row col dims. |
GeoSwathAdapter | class | The pipekit_ops.NamedArrayAdapter for GeoSwath: lat/lon must match exactly. |
Grid | class | A pixel grid with no data: transform, CRS and spatial shape. |
GridMismatchError | class | Carriers that must share one pixel grid do not. |
LabelError | class | A selection by label that a carrier cannot do. |
PER_BAND_KEYS | constant | ('band_names', 'descriptions', 'bands', 'band_description... |
PixelWindow | class | A rectangle of pixels: col_off, row_off, width, height. |
RasterSource | class | A raster whose grid is known and whose pixels are read on demand. |
SPATIAL_DIMS | constant | ('y', 'x') |
X64Error | class | A JAX carrier needs jax_enable_x64: its transform is float64. |
as_crs | function | Coerce crs to a pyproj.CRS; None stays None. |
as_transform | function | Coerce a transform to a tuple of six Python floats (a, b, c, d, e, f). |
concatenate | function | Join carriers on one grid along an existing leading axis, by position. |
crop | function | The size pixels starting at offset, with the matching transform. |
footprint | function | The outline of the carrier’s grid as a shapely Polygon. |
pad | function | Add fill pixels around the spatial axes; the transform moves with them. |
pad_points | function | points padded to n samples, with valid=False on the pad. |
pixel_coords | function | Map coordinates of every pixel, (2, H, W): x then y. |
read_window | function | The pixels of window, padding with fill where it leaves the array. |
stack | function | Stack carriers on one grid along a new dim. |
to_dimarray | function | A carrier’s data, dims and labels as a pipekit_array.DimArray; no grid. |
to_geoswath | function | A cell-centred model field on a latitude-longitude grid as a GeoSwath. |
to_pixel | function | Re-exported from functax. |
write_window | function | A copy of g with values written into window. |
Upstream: geotoolz-catalog¶
Spatiotemporal catalog over geospatial files.
geocatalog¶
| Name | Kind | What it does |
|---|---|---|
GeoCatalog | class | A queryable spatiotemporal index over geospatial files. |
GeoSlice | class | A bounded request for data — produced by samplers, consumed by loaders. |
intersect | function | Cross-catalog AND — rows from left paired with overlapping rows in right. |
open_catalog | function | Open a GeoParquet artifact as a GeoCatalog. |
query | function | Filter catalog by space + time and return the matching rows. |
union | function | Cross-catalog OR — concatenate left and right into one catalog. |
Upstream: geotoolz-cloud¶
Cloud object storage and batched async COG reads.
Upstream: geotoolz-patcher¶
Four-axis patcher: split, run per patch, stitch.
geopatcher¶
| Name | Kind | What it does |
|---|---|---|
AsyncField | class | Async mirror of Field — concurrent select over remote tiles. |
AsyncSpatialPatcher | class | Async mirror of SpatialPatcher over an AsyncField. |
Domain | class | Metadata view of a field — bounds, CRS, no I/O. |
Field | class | A substrate the Patcher reads patches out of. |
Patch | class | A single patch produced by a SpatialPatcher. |
RasterField | class | A geoarray.RasterSource (a GeoArray, a lazy reader, …) as a Field. |
SpatialPatcher | class | The four-axis spatial Patcher. |
SpatioTemporalPatch | class | A patch carrying both a spatial and a temporal anchor. |
SpatioTemporalPatcher | class | Composition of a spatial and a temporal Patcher. |
TemporalPatch | class | A single patch produced by a TemporalPatcher. |
TemporalPatcher | class | Four-axis temporal Patcher. |
Upstream: geotoolz-products¶
Readers for Earth-observation data products.
geoproducts¶
| Name | Kind | What it does |
|---|---|---|
ProductReader | class | ABC for product readers: each one a lazy geoarray.RasterSource. |
stack | function | Stack readers’ bands on the grid of readers[like]. |
Upstream: xrtoolz-ops¶
Composable operators for Earth System Data Cubes (xrops).
xrops¶
| Name | Kind | What it does |
|---|---|---|
ApplyToEach | class | Re-instantiate a prototype operator per value and merge results. |
Augment | class | Run an inner Operator and merge its output back into the input. |
Difference | class | The derivative-th partial derivative along one dim. |
Gradient | class | The first partial derivatives along dims, stacked on a component dim. |
Lift | class | op applied to each item of a cube along dim; built by lift. |
Operator | class | pipekit_ops.Operator plus xarray DataTree dispatch. |
lift | function | Apply a geoops geometry operator per item over an xarray cube. |
Upstream: xrtoolz-products¶
Archive readers (CMEMS, CDS, AEMET) and the CF registry.
xrproducts¶
| Name | Kind | What it does |
|---|---|---|
AEMETCredentials | class | API key for AEMET OpenData. |
AemetArchive | class | Append-only local mirror of AEMET station observations. |
AemetAuthError | class | Missing or rejected API key. |
AemetError | class | Any AEMET-level failure (auth, rate limit, bad envelope, 5xx). |
AemetRateLimitError | class | Quota exhausted even after backoff. |
AemetSource | class | Adapter for AEMET OpenData observation endpoints. |
ArchiveCoverage | class | Per-station span of what the archive already holds for a preset. |
BBox | class | Axis-aligned lon/lat bounding box. |
CATALOG | constant | {'glorys12.daily': CatalogEntry(source='cmems', dataset_i... |
CDSCredentials | class | URL / key pair for the Climate Data Store. |
CDSFormProfile | class | Shape of a CDS retrieve() form for a dataset family. |
CDSInsituArchive | class | Append-only local mirror of a CDS in-situ preset. |
CDSSource | class | Adapter around the cdsapi Python client. |
CMEMSCredentials | class | Username / password pair for Copernicus Marine. |
CMEMSSource | class | Adapter around the copernicusmarine Python client. |
CatalogEntry | class | Short-name-to-source mapping with optional request defaults. |
DataSource | class | Abstract interface implemented by every adapter. |
DatasetInfo | class | Static description of a remote dataset. |
DatasetKind | class | Discriminator for how a dataset is laid out once materialized. |
DepthRange | class | Continuous depth window (positive-down, metres). |
INSITU | constant | CDSFormProfile(family='insitu-land', format_key='data_for... |
Issue | class | Single validation finding. |
LocalL2Source | class | Open satellite L2 product files from the local filesystem. |
MissingPropertyError | class | A plume-complex feature lacks a property the opener needs. |
PressureLevels | class | Discrete pressure levels in hPa (CDS-style). |
ProductGridError | class | A companion raster is not on the grid of the scene it belongs to. |
REANALYSIS | constant | CDSFormProfile(family='reanalysis', format_key='format', ... |
REGISTRY | constant | {'sst': Variable(name='sst', standard_name='sea_surface_t... |
Request | class | Canonical request payload consumed by data adapters. |
Severity | class | Two-level severity for validation issues. |
Station | class | One fixed observation station. |
StationCollection | class | Immutable collection of :class:Station with set-like filters. |
TimeRange | class | Inclusive time window, optionally with a target sampling frequency. |
ValidationReport | class | Aggregate validation result with convenience accessors. |
Variable | class | CF-aware variable descriptor used across adapters and validators. |
all_entries | function | Return a shallow copy of the unified catalog. |
apply_cf_attrs | function | Stamp CF attributes from variable onto da. |
describe | function | Look up a :class:DatasetInfo by short name. |
load_aemet | function | Load AEMET credentials, or None if none could be found. |
load_cds | function | Load CDS credentials, or None if none could be found. |
load_cmems | function | Load CMEMS credentials, or None if none could be found. |
open_av3_ch4_l2b | function | Open an AVIRIS-3 L2B CH4 enhancement scene as a flat CF Dataset. |
open_ch4_inventory | function | Open a gridded CH₄ emission inventory as a flux in kg m⁻² s⁻¹. |
open_ch4_plume_complexes | function | The plume-complex GeoJSON as a Dataset on plume, with ragged outlines. |
open_emit_ch4_l2b | function | Open an EMIT L2B CH4 enhancement scene as a flat CF Dataset. |
open_ghgsat_ch4_l2 | function | Open a GHGSat per-plume NetCDF as a flat CF Dataset. |
open_tropomi_ch4_l2 | function | Flatten a TROPOMI CH4 L2 granule into one CF Dataset. |
plume_outline | function | Exterior ring of one plume as (lon, lat) rows, shape (V_p, 2). |
register | function | Add variable to :data:REGISTRY (keyed on :attr:Variable.name). |
resolve | function | Return a :class:Variable given an instance or its canonical name. |
subset_bbox | function | Keep points whose (lon, lat) fall inside a bounding box. |
subset_time | function | Restrict a dataset to the time range [time_min, time_max]. |
subset_where | function | Keep points where variable is in [min_val, max_val]. |
validate_dataset | function | Validate multiple variables in a dataset. |
validate_variable | function | Validate a single :class:xarray.DataArray against a :class:Variable. |