forked from UDST/bayarea_urbansim
-
Notifications
You must be signed in to change notification settings - Fork 11
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
BASIS data updates #321
Open
theocharides
wants to merge
53
commits into
main
Choose a base branch
from
basis_data_update
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
BASIS data updates #321
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
includes creating units and assigning deed restricted units pre-simulation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Code changes to update BAUS input data to 2020
Structural input data updates
preprocessing.py
, since inputs are now stable post-BASIS data processingconfigs/paths.yaml
which only held the path to find the h5 for use in the code, and store the path indatasources.py
as is done with the other datasetsmapping.py
naics_to_empsix
are no longer needed since we're using empsix throughout the inputs and codeDataset specific related updates
geom_id_to_parcel_id
andparcel_id_to_geom_id
functions and use of themzoning_existing
parcel level information, removingzoning_lookup
andzoning_parcels
zoning_strategy
parcels_geography
table togrowth_geographies
table, removing BAUS edits and columns that are held in the inputs, such asjuris_tra
(concatenated juris + tra column)reprocess_dev_projects
function since that shifts duplicate projects to "add" to the parcel, do this on the inputs side (this also create a fourth dev projects function making it harder to track what happens to these projects)inputs/plan_strategies
manual_nodev
andparcels_rejections
(which it reads in), since these should be fed in through BASIS if carried forwardnodev
column now only reads from the BASIS nodev table, then adds "static parcels" (including Institutions) to the list.parcel_filter
for parcel development consideration from a collection of sources (nodev, pipeline projects, rules on which parcel/building types can be developed), to columns that can be pulled from the BASIS nodev table.