eoforeststac.writers.jrc_tmf.JRCTMFWriter#
- class eoforeststac.writers.jrc_tmf.JRCTMFWriter(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 Tropical Moist Forest (TMF) products (v1-2024).
- Native input:
Static TMF layers as VRTs
AnnualChange as per-year VRTs (1990–2024)
- Output Zarr:
Static layers: (latitude, longitude)
AnnualChange: (time, latitude, longitude)
- __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_annual_change_year(annual_dir, year)load_static_dataset(vrt_dir)make_store(zarr_path)Create an s3fs-backed Zarr store.
process_static_dataset(ds, *, crs, ...)set_crs(ds[, crs])set_global_metadata(ds, metadata)write(vrt_dir, output_zarr, *[, annual_dir, ...])write_to_zarr(ds, zarr_path[, encoding, ...])Attributes
ANNUAL_CHANGESTATIC_VARIABLES