eoforeststac.writers.saatchi_biomass.SaatchiBiomassWriter#
- class eoforeststac.writers.saatchi_biomass.SaatchiBiomassWriter(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 Saatchi et al. (2020) global aboveground biomass (AGB).
Native input: single-band GeoTIFF (100 m). Output: chunked, compressed Zarr on Ceph/S3.
- __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(tif_path)Load GeoTIFF lazily and return a Dataset with variable name agb.
make_store(zarr_path)Create an s3fs-backed Zarr store.
process_dataset(ds[, fill_value, crs, ...])Apply fill values, CRS, dimension harmonization, chunking, and metadata harmonization.
set_crs(ds[, crs])set_global_metadata(ds, metadata)write(tif_path, output_zarr[, version, ...])End-to-end transform:
write_to_zarr(ds, zarr_path[, encoding, ...])