You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pipeline/preprocessing/census_geographies.py - currently write_processed() writes a single {year}{level_label}.gpkg. Change it to group by STATEFP and write {year}{level_label}_{statefp}.gpkg per state. The rest of the script are ok as is
pipeline/preprocessing/overlaps.py currently reads the entire national .gpkg as its first positional arg. It needs to (1) accept a directory (or a pattern) instead of a single file path (2) determine which states the study area geometry intersects (can be derived from the study area boundary) (3) load only the matching {year}{type}{statefp}.gpkg files and take a union if multiple files.
study_areas.py?
scripts/run_overlap.sh and scripts/build_study_areas.sh?
Scripts to modify: