clcr / pyeo

Python Earth Observation processing chain
GNU General Public License v3.0
94 stars 29 forks source link

processed L2A image not moved out from the L1C folder (after upgrade sen2cor to v2.5 or v2.8) #66

Closed hidexxx closed 3 years ago

hidexxx commented 4 years ago

sen2cor 2.5 > have changed its naming format (again), so the processed L2A.safe is named with a timestamp, which indicates when L1C data was processed. It's unclear when this timestamp is generated inside of sen2cor so this lead to the failure of assessing and moving the L2A folder.

Potential ways of fixing it: add L2 dir as output dir in "atmospheric_correction/raster_manipulation) and point sen2cor to write to the L2_dir directly.

or try a using a id without the timestamp to identify the L2A image?