eoforeststac.writers.base.BaseZarrWriter#
- class eoforeststac.writers.base.BaseZarrWriter(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]#
Generic writer for converting EO data into Zarr and storing it in Ceph/S3.
This class does NOT know anything about product semantics – subclasses implement how to load and process their native data.
- __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])make_store(zarr_path)Create an s3fs-backed Zarr store.
set_crs(ds[, crs])set_global_metadata(ds, metadata)write_to_zarr(ds, zarr_path[, encoding, ...])