Every Earth-observation product, read as a
geoarray.GeoArray. One reader per mission or provider, each a lazygeoarray.RasterSource; what comes out is what every geotoolz operator and geopatcher field takes — imported asgeoproducts.
Where it comes from¶
Every mission ships its own format, band names and calibration tables. Provider APIs add their own authentication and catalogue quirks. When that churn leaks into analysis code, each notebook carries its own copy of the decoder, and a format change breaks all of them.
geoproducts keeps the churn in one place: one namespace per product,
each with a reader that hides its format. Every reader is a
ProductReader — a geoarray.RasterSource with a lazy windowed read,
named bands and calibrated values, whose reads return a GeoArray. The
package never depends on the operator library: readers release on their
own schedule, and their output drops straight into the operators and the
patcher. georeader is only the engine inside (map-coordinate windows,
reprojection); no GeoTensor crosses the public API.

Install¶
pip install geotoolz-products # readers (geoarray; georeader as the engine)
pip install 'geotoolz-products[goes]' # GOES-R ABI reader + goes.aws
pip install 'geotoolz-products[himawari]' # Himawari L2 products + himawari.aws
pip install 'geotoolz-products[carbonmapper]' # Carbon Mapper plume catalogue + STAC
pip install 'geotoolz-products[operators]' # sensor presets (geotoolz operators)| Extra | Pulls in | Needed for |
|---|---|---|
| (base) | geotoolz-array, georeader, numpy, rasterio | ProductReader, stack, toy_sensor, himawari.Reader (HSD), the recipes tables |
[goes] | geotoolz-cloud with h5py | goes.Reader, goes.L2Reader (local or s3://, ranged reads) and the goes.aws bucket helpers |
[himawari] | geotoolz-cloud with h5py | himawari.L2Reader and the himawari.aws bucket helpers |
[carbonmapper] | requests, pydantic, shapely, geopandas, pandas | geoproducts.carbonmapper |
[operators] | geotoolz | every sensor’s presets (RGB recipes, NDVI, cloud masks, parallax) |
Quickstart¶
toy_sensor is the in-memory reference reader. It exercises the whole
ProductReader contract and runs offline.
import numpy as np
from geoarray import GeoArray, PixelWindow
from geoproducts import ProductReader, toy_sensor
data: np.ndarray = np.random.default_rng(0).random((4, 256, 256), dtype=np.float32) # (4, 256, 256) float32
reader: ProductReader = toy_sensor.Reader("scene", data=data) # lazy · EPSG:4326
window = PixelWindow(col_off=0, row_off=0, width=64, height=64)
chip: GeoArray = reader.read_window(window) # (4, 64, 64) float32
names: tuple[str, ...] = chip.attrs["band_names"] # ('blue', 'green', 'red', 'nir')
scene: GeoArray = reader.load() # (4, 256, 256) float32Because chip names its bands, geotoolz operators resolve them by name:
gz.NDVI(nir="nir", red="red")(chip) gives (64, 64) float32. Because
reader is a geoarray.RasterSource, geopatcher tiles it window by
window without loading the scene.
Sensors¶
| Sensor | Products | Extra | Data source |
|---|---|---|---|
| GOES-R ABI (GOES-16 … 19) | L1b radiances, every L2 product, RGB recipes | [goes] | NOAA noaa-goes16 … noaa-goes19 (public S3) |
| Himawari AHI (Himawari-8 / 9) | L1b HSD segments, NOAA L2 cloud products, RGB recipes | none (HSD) · [himawari] (L2, buckets) | NOAA noaa-himawari8 / noaa-himawari9 (public S3) |
| Carbon Mapper | plume and source catalogue, L3A plume and L2B scene rasters | [carbonmapper] | Carbon Mapper REST + STAC API (account) |
toy_sensor | in-memory reference reader | none | — |
What’s inside¶
| Namespace | Use it to… | Guide |
|---|---|---|
geoproducts.ProductReader | build a reader: a geoarray.RasterSource | Concepts |
geoproducts.stack | put several readers’ bands on one grid | Concepts |
geoproducts.goes | read GOES-R ABI L1b and L2, find files on NOAA’s buckets | GOES-R ABI |
geoproducts.himawari | read Himawari AHI HSD segments and L2 cloud products | Himawari AHI |
geoproducts.carbonmapper | query Carbon Mapper plumes and sources, read their rasters | Carbon Mapper |
geoproducts.toy_sensor | see the contract in the smallest reader | Add a product reader |
Next steps¶
Concepts — the
ProductReadercontract,stack, recipes and presets.Sensors: GOES-R ABI · Himawari AHI · Carbon Mapper.
Add a product reader — the subpackage layout and the shared toolkit.
Tutorials: GOES-19 mesoscale · Himawari over Japan.
The whole stack: How the packages interlock.