SAR-ARD/s1ard

Reprocessing scenes with different DEM type requires manually deleting old DEM file

Closed this issue · 1 comments

Currently we store DEM files used for the GEOCODE process in the following way:
<TMP_dir>/<SLC_fullname>/<EPSG_code>/<SLC_basename>_DEM_<EPSG_code>.tif

Using the generic _DEM_ in the filename will result in a hidden issue if one would reprocess a scene using a different DEM type. In this case the DEM file would not be overwritten due to this line and the scene would be reprocessed with the previously used DEM type instead. I would suggest to use an abbreviation of the DEM type instead of _DEM_ in the filename.

Thanks @maawoo, important point.