-
Notifications
You must be signed in to change notification settings - Fork 99
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
Changes to support sharrow on 2-zone model #867
Merged
Merged
Changes from 29 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
915e8d7
test external regional model examples
jpn-- 3038256
cache buster
jpn-- 3bdc1a4
optional variable doc
jpn-- b876e9c
fix conda cache dirs
jpn-- f578e72
Merge branch 'main' into external-regions
jpn-- 9c282f0
Merge branch 'main' into external-regions
jpn-- e41054f
Merge branch 'main' into external-regions
jpn-- 6438f59
trip_destination alts preprocessor
dhensle 33097eb
non_hh_veh cat, drop unused cols for alts
dhensle a61b2d5
blacken
dhensle 4c4a9d9
adding missed alts columns used in xborder model
dhensle 6cb139b
remove unneeded addition to categorical
dhensle 0fa0269
clearer time logging
jpn-- 35a57d4
bump required numba to 0.57 for np.nan_to_num
jpn-- 5ea7362
sharrow docs
jpn-- ac2468f
use compute_setting in sharrow debugging
jpn-- 97ff87b
fix comment
jpn-- 26aef51
debug helper values
jpn-- 16fc8e2
dtype compute fixes
jpn-- 75d1a1d
land_use_columns_orig
jpn-- 11a01a7
fix and test orig_land_use with explicit chunking
jpn-- 5eb076a
repair
jpn-- 0c7221a
add missing test result file
jpn-- b7b7244
omx_ignore_patterns
jpn-- 17826ed
revert change to drop size terms
dhensle 96483c0
Merge branch 'main' into trip_dest_alts_preprocess
jpn-- 077b8a1
creating separate sample and simulate preprocessors
dhensle bd03050
Merge branch 'trip_dest_alts_preprocess' of https://github.com/dhensl…
dhensle b911f1f
bugfix
jpn-- 3cabeda
skim_dataset loading without dask
jpn-- 0016ea5
require sharrow 2.9
jpn-- ee5b8cc
Merge branch 'trip_dest_alts_preprocess' into sharrow-fix-all
jpn-- e630edf
wait to close open files
jpn-- 2607029
require sharrow 2.9.1
jpn-- f1ee710
Merge commit '564c4762944d3288097eb4ef761bdbdb0f9d4d9f' into sharrow-…
jpn-- 96d4bb6
landuse index sort before sharrow recode check
dhensle 79a1a0a
decode time periods
jpn-- 0bfa915
use original tazs where possible
jpn-- 79cd6a2
Merge branch 'main' into external-regions
jpn-- d02a709
Merge commit '79cd6a2544c4162469057e99b6ec327f3f362306' into sharrow-…
jpn-- a551bfa
update numba in envs to 0.57
jpn-- 93ed2df
Merge branch 'main' into sharrow-fix-all
jpn-- d98f776
no fastmath in tour mode choice
jpn-- b465dd0
sharrow cache by version
jpn-- fe13e93
include sharrow setting in log by defualt
dhensle 2f260f2
Merge commit 'bd48d3db3624a20771095cf3252549eb10315375' into sharrow-…
jpn-- fcf7295
use dask if required
jpn-- c9d4205
store_skims_in_shm setting
jpn-- File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
26 changes: 26 additions & 0 deletions
26
activitysim/abm/test/test_agg_accessibility/simple_agg_accessibility_orig_land_use.csv
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
zone_id,orig_acreage,dest_acreage | ||
0,6.2314652154886145,7.3737508868303339 | ||
1,6.657368991274053,7.3737508868303339 | ||
2,5.909440711629391,7.3737508868303339 | ||
3,6.1810513148933497,7.3737508868303339 | ||
4,7.1842500057933423,7.3737508868303339 | ||
5,6.5875500148247959,7.3737508868303339 | ||
6,7.026426808699636,7.3737508868303339 | ||
7,7.1514854639047352,7.3737508868303339 | ||
8,7.9377317752601089,7.3737508868303339 | ||
9,7.5167053007413269,7.3737508868303339 | ||
10,7.6138186848086287,7.3737508868303339 | ||
11,7.1955623436220684,7.3737508868303339 | ||
12,6.4975288537722626,7.3737508868303339 | ||
13,6.6411821697405919,7.3737508868303339 | ||
14,6.5701824369168911,7.3737508868303339 | ||
15,8.034631032923107,7.3737508868303339 | ||
16,8.2449906898128429,7.3737508868303339 | ||
17,7.8948771916168834,7.3737508868303339 | ||
18,8.0507033814702993,7.3737508868303339 | ||
19,7.8073066868519945,7.3737508868303339 | ||
20,7.5875638951029023,7.3737508868303339 | ||
21,7.6932537206062692,7.3737508868303339 | ||
22,7.7279755421055585,7.3737508868303339 | ||
23,6.8834625864130921,7.3737508868303339 | ||
24,6.2653012127377101,7.3737508868303339 |
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this required for sharrow? If so, I think we need to put an assert statement in the skim read for sharrow somewhere that will prevent this from happening and provide some info to the user about the error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, not for sharrow per se, but the
SkimDataset
converts all the by-time-of-day skim variables into three dimensional arrays (o,d,time). So without this, in the example the OMX files essentially have two different sets of data for the same named variable, one two-dimensionBIKE_TIME
, and one three-dimensionBIKE_TIME
, which coincidentally happens to have no variance across the temporal dimension. We can't have two variables in the same namespace with the same name, so one is overwritten.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened an issue #873 to address this.