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.