profile
viewpoint

Ask questionsSkim Dictionary Lookup Fails in Estimation Mode

When checking for bad indices, the following assertion fails when reading survey data that contains -1 values:

https://github.com/ActivitySim/activitysim/blob/master/activitysim/core/skim_dictionary.py#L244

I don't really understand the implications, but I bypassed the issue by allowing -1 as a valid value:

in_skim = (mapped_orig >= -1) & (mapped_orig < self.omx_shape[0]) & \
                  (mapped_dest >= -1) & (mapped_dest < self.omx_shape[1])
ActivitySim/activitysim

Answer questions bricegnichols

This issue occurred on the develop2 branch running PSRC's MAZ-based model.

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List