I'm having trouble loading more than one network into memory at the same time using urbanaccess.load_network(). Earlier network variables end up pointing to the most recently loaded network:
Diagnosis
UrbanAccess maintains a record of the current network, since most of the time users are only working with one at a time. It looks like the problem might be with how load_network() updates it -- it's overwriting the nodes and edges rather than replacing the object. I'll see if i can fix this. network.py#L539-L542
I'm having trouble loading more than one network into memory at the same time using
urbanaccess.load_network()
. Earlier network variables end up pointing to the most recently loaded network:Diagnosis
UrbanAccess maintains a record of the current network, since most of the time users are only working with one at a time. It looks like the problem might be with how
load_network()
updates it -- it's overwriting the nodes and edges rather than replacing the object. I'll see if i can fix this. network.py#L539-L542Environment
actransit_with_headways.h5
actransit_bart_with_headways.h5
MacOS 10.14
Python 3.8
UrbanAccess 0.2.1 Pandas 1.1
Jupyter 1.0