oggm icon indicating copy to clipboard operation
oggm copied to clipboard

keep the tmpdir clean(er)

Open matthiasdusch opened this issue 4 years ago • 1 comments

DEMs get often downloaded as tar files and extracted to the tmpdir. If I understand the LRU file handler correctly it only takes into account .tif file which are directly in the tmpdir. So files in subfolders and files with other endings which are unpacked together with the actual DEM files are just accumulating and rotting...

Mine is at 35GB at the moment. Not a big deal nowadays but still...

  • [ ] only extract directly to the tmpdir
  • [ ] delete unnecessary files after extracting
  • [ ] even better: Only extract necessary files, but this needs some changes in the tar_functions as well

matthiasdusch avatar Feb 26 '20 12:02 matthiasdusch

Still a WIP! Just upping this as marginally important.

Also there is a new file_extractor tool which might be helpful

fmaussion avatar Aug 04 '20 11:08 fmaussion