Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auxdata: file locking and VRT source checks #292

Merged
merged 10 commits into from
Apr 15, 2024

Conversation

johntruckenbrodt
Copy link
Owner

@johntruckenbrodt johntruckenbrodt commented Mar 18, 2024

This adds file locking to the auxdata download mechanisms and the dem_create function. This way, situations can be avoided where two parallel processes depend on the same file but one tries to use it while the other one has not finished creating it. Locks are applied to downloaded DEM tiles as well as created mosaics.
Furthermore, the source files of a VRT are now checked in dem_create to avoid incomplete mosaics (fixes #196).

@johntruckenbrodt johntruckenbrodt changed the title auxdata: file locking and completeness checks auxdata: file locking and VRT source checks Mar 18, 2024
@johntruckenbrodt johntruckenbrodt merged commit 23a7f4b into main Apr 15, 2024
2 checks passed
@johntruckenbrodt johntruckenbrodt deleted the feature/auxdata_file_locking branch April 15, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

snap.auxdata.dem_create Check if files listed in VRT exist
1 participant