ASFHyP3 / hyp3-testing

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Incorrect replacement of filenames when job hash is present multiple times in filename #52

Open forrestfwilliams opened 1 year ago

forrestfwilliams commented 1 year ago

When the random hash assigned to a HyP3 job is present multiple times in a filename (e.g. if the hash is 2021 and the source image date is 20210101) the current test code will replace all occurrences of the hash, which may cause the test_golden_tifs_names test to fail for either RTC or InSAR tests.

This bug has a low probability of occurring, so no immediate action has been taken, but we have decided to document it here to track the number of occurrences.

For future reference, the offending code can be found here.