eoforeststac.writers.gami.GAMIWriter#

class eoforeststac.writers.gami.GAMIWriter(endpoint_url: str, bucket: str, key: str | None = None, secret: str | None = None, profile: str | None = None, region: str = 'eu-central-1', anon: bool = False)[source]#

Writer for the Global Age Mapping Integration (GAMI) product.

Assumes the native input is already a Zarr store produced by the age upscaling workflow.

__init__(endpoint_url: str, bucket: str, key: str | None = None, secret: str | None = None, profile: str | None = None, region: str = 'eu-central-1', anon: bool = False)[source]#

Methods

__init__(endpoint_url, bucket[, key, ...])

apply_fillvalue(ds[, fill_value])

load_dataset(input_zarr)

Load GAMI dataset from an existing Zarr store.

make_store(zarr_path)

Create an s3fs-backed Zarr store.

process_dataset(ds[, fill_value, crs, ...])

Apply harmonized processing: fill values, CRS, chunking, and metadata.

set_crs(ds[, crs])

set_global_metadata(ds, metadata)

write(input_zarr, output_zarr[, version, ...])

End-to-end writing of GAMI to Ceph in Zarr format.

write_to_zarr(ds, zarr_path[, encoding, ...])