Initial Climate Mood Analysis project
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Download completed NSRDB county polygon GHI archive ZIP files.
|
||||
|
||||
This is a GHI-specific wrapper around download_nsrdb_county_polygon_archives.py.
|
||||
It reuses the shared download state machine with GHI-specific response and
|
||||
archive directories.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
|
||||
import download_nsrdb_county_polygon_archives as polygon_download
|
||||
|
||||
|
||||
DEFAULT_ARGS = [
|
||||
"--response-dir",
|
||||
"data/nrel/polygon_request_responses",
|
||||
"--output-dir",
|
||||
"data/nrel/polygon_archives",
|
||||
]
|
||||
|
||||
|
||||
def main() -> None:
|
||||
"""Run the shared polygon archive downloader with GHI-specific defaults."""
|
||||
polygon_download.main(
|
||||
[*DEFAULT_ARGS, *sys.argv[1:]],
|
||||
description=__doc__,
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user