Fix multi-tile staging gaps and add Slurm output collection#113
Open
mak8427 wants to merge 9 commits into
Open
Fix multi-tile staging gaps and add Slurm output collection#113mak8427 wants to merge 9 commits into
mak8427 wants to merge 9 commits into
Conversation
…w it ccreates a union with the selected region tiles
…tests accordingly
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.
Description
This PR improves the SRGAN HPC deployment workflow for large Sentinel-2 runs.
It fixes staging gaps near Sentinel-2 tile boundaries by keeping all candidate STAC items returned for a patch and passing them to Cubo. The existing
mosaic_validlogiccan then build a valid-pixel union across neighboring tiles instead of using only the first STAC item. so that multiple tiles will be merged together to reach full coverage instead of having holes overe big areas
It also adds an automatic Slurm follow-up collection job for grid/AOI array submissions. After the array completes successfully, a dependent collect job organizes patch
outputs into the run’s
collected/folder. Collection now moves GeoTIFF outputs instead of copying them, so results are stored only in the organized output location.Type of change
How Has This Been Tested?
pytest tests/test_deployment -q
Result:
30 passed
python -m deployment.srgan_hpc.cli validate-config --config configs/runtime.srgan_base.yaml
candidates=2 tiles=32UPB,32UPC
full=1.000 center=1.000
Checklist: