StatsAnalyzer#
- class StatsAnalyzer[source]#
Bases:
Analyzer
Compute imagery statistics of scenes.
- __init__(stats_uri: str | None = None, sample_prob: float = 0.1, chip_sz: int = 300, nodata_value: float | None = 0)[source]#
Methods
__init__
([stats_uri, sample_prob, chip_sz, ...])compute_stats
(scenes)process
(scenes, tmp_dir)Process scenes and save result.
- __init__(stats_uri: str | None = None, sample_prob: float = 0.1, chip_sz: int = 300, nodata_value: float | None = 0)[source]#
- compute_stats(scenes: Iterable[Scene]) RasterStats [source]#
- Parameters:
- Return type: