aws-solutions-library-samples / osml-model-runner

MIT No Attribution
7 stars 1 forks source link

refactor: tiling strategy refactor #88

Closed edparris closed 2 months ago

edparris commented 2 months ago

This code encapsulates the ModelRunner tiling logic inside a new TilingStrategy abstraction. The baseline implementation has been packaged inside VariableTileTilingStrategy and integrated into the ModelRunner class defined in app.py. There should be no functional differences introduced with this PR and the current suite of integration tests have been run successfully without update. This change sets the stage for future updates to the tiling strategy to deliver fixed tile sizes to the model endpoints.

Checklist

Before you submit a pull request, please make sure you have the following:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.