WikiWatershed / mmw-geoprocessing

A Spark Job Server job for Model My Watershed geoprocessing.
Apache License 2.0
6 stars 6 forks source link

Add MapShed and Subbasin Tests #109

Closed rajadain closed 2 months ago

rajadain commented 3 months ago

Overview

We repurpose the benchmark scripts to save their outputs, and then add an optional --verify parameter that will compare the live results against these saved outputs.

Also add a test script that runs the benchmark-mapshed and benchmark-subbasin scripts with the --verify parmeter to run the tests.

Also add a ruff script to format the Python scripts, and runs it to modernize them.

I did not add any tests to benchmark-sync because between MapShed and Subbasin we're covering all relevant use cases.

Closes #108

Testing Instructions

rajadain commented 2 months ago

Tested before and after #110. Going to merge this now.