eoforeststac.writers.radd_europe.RADDEuropeWriter#

class eoforeststac.writers.radd_europe.RADDEuropeWriter(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]#

Streaming writer for RADD Europe alert dates (YYddd) + forest mask (0/1),

Output (Zarr)#

disturbance_occurrence(time, y, x) int16
  • 1 only in the month of the alert for forest pixels

  • 0 otherwise within valid domain

  • _FillValue outside valid domain

forest_mask(y, x) int16
  • 0/1 within valid domain

  • _FillValue outside valid domain

CRS: EPSG:3035

__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, ...])

add_metadata(ds, *, crs, version)

apply_fillvalue(ds[, fill_value])

build_static_layers(ds, *, fill_value)

load_dataset(alert_vrt, mask_vrt, *[, ...])

load_variable(vrt, name, *[, chunks])

Load VRT lazily.

make_store(zarr_path)

Create an s3fs-backed Zarr store.

set_crs(ds[, crs])

set_global_metadata(ds, metadata)

write(alert_vrt, mask_vrt, output_zarr, *[, ...])

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