gtfs2emis icon indicating copy to clipboard operation
gtfs2emis copied to clipboard

Check for 'NaN' condition in transport_model()

Open Joaobazzo opened this issue 9 months ago • 0 comments

When there are NaN speed values in the transport_model() ouput and no other valid value, it's not possible to perform a mean average to remove the NaN . In such cases, the function could add the mean 19 km/h (since 19 kph is the speed of driving conditions of transit buses in urban areas according to the EMEP/EEA).

Joaobazzo avatar Sep 07 '23 16:09 Joaobazzo