34 lines
773 B
Python
34 lines
773 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Download completed NSRDB county polygon cloud archive ZIP files.
|
|
|
|
This is a cloud-specific wrapper around download_nsrdb_county_polygon_archives.py
|
|
that reads cloud request responses and writes archives into a separate folder.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
|
|
import download_nsrdb_county_polygon_archives as polygon_download
|
|
|
|
|
|
DEFAULT_ARGS = [
|
|
"--response-dir",
|
|
"data/nrel/polygon_cloud_request_responses",
|
|
"--output-dir",
|
|
"data/nrel/polygon_cloud_archives",
|
|
]
|
|
|
|
|
|
def main() -> None:
|
|
"""Run the existing polygon archive downloader with cloud-specific defaults."""
|
|
polygon_download.main(
|
|
[*DEFAULT_ARGS, *sys.argv[1:]],
|
|
description=__doc__,
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|