-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello, @AliNadi-dev ,
I started the integration of the shipment module to the platform therefore I tried a few local runs to check how everything works and what modifications are needed.
I added the input for SKIMTIME, SKIMDISTANCE based on the skimTijd_new_REF.mtx, skimAfstand_new_REF.mtx files that I had from the Parcel_* modelsas well as a nodes_v5.shp file that has been shared to me by @RodrigoJTapia. Using the above and the input as provided by the repository I encountered the error that is presented below along with some debug output that I placed for your convenience.
Could you please take a look and get back to me about it ?
DEBUG: orig: 6483
DEBUG: whereZero: [ 0 1 2 ... 6665 6666 6667]
DEBUG: whereNonZero: []
DEBUG: skimTravTime: [2.27010351e-43 9.62692045e-43 7.41286888e-43 ... 1.10674553e-41
3.85525234e-41 0.00000000e+00]
DEBUG: [orig * nZones + whereZero]: [43228644 43228645 43228646 ... 43235309 43235310 43235311]
DEBUG: [orig * nZones + whereNonZero]: []
<class 'ValueError'>
Traceback (most recent call last):
File "/usr/local/bin/shipment-synthesis", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/shipmentsynth/__main__.py", line 193, in main
run_model(config)
File "/usr/local/lib/python3.8/site-packages/shipmentsynth/proc.py", line 283, in run_model
0.5 * np.min(skimTravTime[orig * nZones + whereNonZero]))
File "<__array_function__ internals>", line 5, in amin
File "/usr/local/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 2830, in amin
return _wrapreduction(a, np.minimum, 'min', axis, None, out,
File "/usr/local/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 87, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity
Execution failed!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels