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

Add argparser entrypoint & options for download module #5

Open
vshlemon opened this issue Aug 6, 2024 · 0 comments
Open

Add argparser entrypoint & options for download module #5

vshlemon opened this issue Aug 6, 2024 · 0 comments

Comments

@vshlemon
Copy link
Member

vshlemon commented Aug 6, 2024

To enable more flexible usage of the download module provide a command line interface using argparser with the following options:

  • Enable user to state which iso-codes to download for (1, many, or all)
  • Enable user to state they don't wish to overwrite already downloaded files (overwrite==no)
  • Enable user to select the download method they wish to try (httpx, ogr2ogr)
  • Enable user to state which path to use for the output to be written to

Provide sensible defaults for the above options, and think about making easily extentible for if we want to use new download source, or upload downloads to a cloud storage location etc.

If necessary update metadata module to make compatible (or perhaps trigger the relevant metadata module calls from the download module call automatically ...?)

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

No branches or pull requests

1 participant