dlr-eoc / prosEO

prosEO – A Processing System for Earth Observation Data
GNU General Public License v3.0
14 stars 1 forks source link

BaseWrapper: Cleanup products downloaded from or created in file cache #121

Closed tangobravo62 closed 2 years ago

tangobravo62 commented 3 years ago

Currently the BaseWrapper triggers product downloads from the Storage Manager to the file cache, and it creates output products in the file cache. After completion of the BaseWrapper run these files are not needed any more and shall be cleaned up (principle: whoever creates a resource is responsible for cleanup, as soon as the resource is not needed any more).

emelchinger commented 3 years ago

Remove all directories created by base wrapper after ingest of products.

emelchinger commented 3 years ago

The directories created by base wrapper were deleted recursive after success or error.

tangobravo62 commented 2 years ago

Verified and OK.