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
I'm creating a value of land access for each node where I want to sum de land area a node can access within 1000m with exponential distance decay. The data is summed from a grid cell so I first attach each grid centroid to the closest node and then sum from then. The network I'm using is obtain through the osm loader and the aggregation works just fine when I use linear decay but when I use exponential decay I get the following panda error.
ValueError: Length of passed values is 0, index implies 326262
i meant to raise an issue earlier (especially because now I cant remember how I discovered the fix) but there's an error in the docs. To use exponential decay, I believe you have to use decay='exp'notexponential
Description of the bug
I'm creating a value of land access for each node where I want to sum de land area a node can access within 1000m with exponential distance decay. The data is summed from a grid cell so I first attach each grid centroid to the closest node and then sum from then. The network I'm using is obtain through the osm loader and the aggregation works just fine when I use linear decay but when I use exponential decay I get the following panda error.
ValueError: Length of passed values is 0, index implies 326262
Environment
Paste the code that reproduces the issue here:
Whole error message
The text was updated successfully, but these errors were encountered: