mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-28 14:01:16 -07:00
Combine + Tilefy (#806)
* init * score-post * added score csv s3 download; remore poetry cmds from readme * working census tile fetch * PR review * Github Actions Work
This commit is contained in:
parent
7b87e0ec99
commit
1b17af84c8
13 changed files with 560 additions and 371 deletions
|
@ -107,13 +107,13 @@ def check_census_data_source(
|
|||
# check if census data is found locally
|
||||
if not os.path.isfile(census_data_path / "geojson" / "us.json"):
|
||||
logger.info(
|
||||
"No local census data found. Please use '-cds aws` to fetch from AWS"
|
||||
"No local census data found. Please use '-d aws` to fetch from AWS"
|
||||
)
|
||||
sys.exit()
|
||||
|
||||
|
||||
def zip_census_data():
|
||||
logger.info("Compressing and uploading census files to AWS S3")
|
||||
logger.info("Compressing census files to data/tmp folder")
|
||||
|
||||
CENSUS_DATA_PATH = settings.APP_ROOT / "data" / "census"
|
||||
TMP_PATH = settings.APP_ROOT / "data" / "tmp"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue