eurocropsml.acquisition.collector.acquire_sentinel_tilesΒΆ
- acquire_sentinel_tiles(config: CollectorConfig, output_dir: Path, shape_dir: Path, shape_dir_clean: Path, eodata_dir: str | None, workers: int, batch_size: int = 10000) NoneΒΆ
Function to acquire Sentinel tiles.
- Parameters:
config β Country-specific configuration for acquiring EuroCrops reflectance data.
output_dir β Directory path where intermediate results will be stored.
shape_dir β File path of EuroCrops shapefile.
shape_dir_clean β Directory where the cleaned shapefile will be stored.
eodata_dir β Directory where Sentinel-1 or Sentinel-2 data is stored. If None, eodata is used since this will be returned by the API call.
workers β Maximum number of workers used for multiprocessing.
batch_size β Batch size used for multiprocessed merging of .SAFE files and parcels.