forked from linz/topo-imagery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: download files using multithreading TDE-822 (linz#580)
* WIP * DEBUG changes * WIP * fix: formatting * fix: revert tmp dir * feat: add error if missing files * Chore tidy code * fix: tidy log comments * fix: move download command to fs_s3 * fix: remove fs_local reference * fix: currently specific to tiffs * fix: move exception to download function * fix: make download function more generic and separate out sidecar file listing * fix: rename variables/logs/comments to match generalisation * Update scripts/files/fs.py Co-authored-by: paulfouquet <86932794+paulfouquet@users.noreply.github.com> * fix: return destination in write and remove unnecessary function * fix: use os to manipulate paths and make find_sidecars multithreading as otherwise is slow * fix: appease formatting gods * fix: reduce concurrency for memory limit concerns --------- Co-authored-by: paulfouquet <86932794+paulfouquet@users.noreply.github.com>
- Loading branch information
1 parent
110f4ec
commit 8ab269d
Showing
2 changed files
with
72 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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