sen2cor

sen2cor#

Module for sen2cor processings.

sen2chain.sen2cor.process_sen2cor(l1c_product_path: str | PosixPath, l2a_product_path: str | PosixPath, s2c_path: str | PosixPath | None = None, pb: str = '99.99', resolution: int = 10) None#

Process a L1C SAFE folder using sen2cor thanks to a subprocess call. The sen2cor bashrc file must be specified in the sen2chain configuration.

Parameters:
  • l1c_product_path – path to the L1C SAFE folder.

  • resolution – resolution to process.