ASFHyP3 / hyp3-testing

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

RTC "golden" comparison #1

Closed jhkennedy closed 4 years ago

jhkennedy commented 4 years ago

This provides a system test to compare a set of RTC jobs submitted to both hyp3-test-api and hyp3-api, using hyp3-api as the "gold standard".

Note: gold terminology is used by gdalcompare and so we're following that terminology. In other science communities "baseline" would be used in place of "golden", or more appropriately (b/c mathematicians), "reference" would be used.

There are six jobs that exercise the different RTC customization options in combination with each other

Limitations This is one bit pytest test, so there is no way provided to do the test steps independently. The test steps are:

  1. submission to hyp3-api
  2. submission to hyp3-test-api
  3. wait for both submissions to finish
  4. download products from hyp3-api
  5. download products from hyp3-test-api
  6. compare each product

Providing a hyp3_testing package with the helper functions instead as a pytest.fixture would allow some of these steps to be performed independently, but would require packaging hyp3_testing