MAAP-Project / get-dem

A wrapper around `https://github.com/scottstanie/sardem` for use with the MAAP project.
Apache License 2.0
0 stars 1 forks source link

Algorithm produces different data outputs between NASA and ESA #9

Closed chuckwondo closed 4 months ago

chuckwondo commented 5 months ago

Due to #7, it was discovered that, given the same inputs, there are discrepancies between the results produced by running the algorithm in the NASA and ESA environments.

In addition to using this algorithm to gather profiling metrics from the 2 environments, we also want to make sure we can produce the same results.

See attached slides detailing @nemo794's initial investigation into the output discrepancies: NASA-ESA get-dem discrepancy.pptx

chuckwondo commented 5 months ago

@nemo794 and @arthurduf, I did some investigation into this issue, and as I suspected, the difference in outputs between NASA and ESA (including the reason for the exception described in #7) is due to differences in Python package dependencies.

Here's what I did to confirm this:

Therefore, I suggest that in order to be confident that running an algorithm in both systems with the same inputs will produce the same outputs, we must use the same dependencies and install them with the same dependency manager in both environments.

@arthurduf, is there any reason you chose not to use conda in the Dockerfile? Is there anything in the ESA environment that would prevent you from doing so?