Add deployment helpers and core functionalities for SRGAN HPC#111
Merged
simon-donike merged 3 commits intoESAOpenSR:mainfrom Apr 28, 2026
Merged
Add deployment helpers and core functionalities for SRGAN HPC#111simon-donike merged 3 commits intoESAOpenSR:mainfrom
simon-donike merged 3 commits intoESAOpenSR:mainfrom
Conversation
Closed
simon-donike
approved these changes
Apr 28, 2026
Member
simon-donike
left a comment
There was a problem hiding this comment.
All tests pass (113 existing + 13 new deployment tests). Code reviewed — clean structure, good error handling, dry-run support, no regressions. Approved.
Member
|
While it was working locally, it threw some errors due to imports on the GH Actions test run. Fixed that, your changes are now live! Thanks again for your enhancements! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a Slurm-based HPC deployment launcher for running SRGAN inference over Sentinel-2 cutouts.
Solves #110
The new srgan-hpc CLI supports:
It supports three SRGAN runtime modes:
Main Changes
HPC Launcher and CLI
AOI and Patch Management
SRGAN Runtime Configuration
Inference and Output Handling
B04, B03, B02, B08, B05, B06, B07, B8A, B11, B12.
Packaging
How Has This Been Tested?
python -m pytest tests/test_deployment_config.py -q
python -m pytest tests/test_deployment_submit.py -q
python -m pytest tests/test_deployment_aoi.py -q
python -m pytest tests/test_deployment_raster.py -q
python -m pytest
tests/test_deployment_config.py
tests/test_deployment_submit.py
tests/test_deployment_raster.py
tests/test_deployment_aoi.py
-q
Result:
8 passed
python -m deployment.srgan_hpc.cli validate-config
--config deployment/configs/runtime.default.yaml
Checklist