eoforeststac.writers.robinson_cr.RobinsonCRWriter#
- class eoforeststac.writers.robinson_cr.RobinsonCRWriter(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 Robinson et al. global Chapman–Richards (CR) curve parameters and derived carbon accumulation metrics.
- Native input:
Multiple single-band GeoTIFFs on identical global grids (~1 km)
- Output:
One chunked, compressed Zarr store with multiple variables
- __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_dir)Load all CR parameter GeoTIFFs from a directory into a single Dataset.
make_store(zarr_path)Create an s3fs-backed Zarr store.
process_dataset(ds[, fill_value, crs, ...])Harmonise CRS, dimensions, chunking and metadata.
set_crs(ds[, crs])set_global_metadata(ds, metadata)write(input_dir, output_zarr[, version, ...])End-to-end:
write_to_zarr(ds, zarr_path[, encoding, ...])Attributes
VARIABLES