Handle empty parquet files when batching and no destinations are within distance of origins #225
Labels
analyse network
needs triage
technical debt
A better way is available. Fix later approach has been adopted.
Description of the Feature to be Added
When batching, if there are no destination centroids within distance of the origin then it writes empty parquet files.
(OPTIONAL) Suggested Implementations
After filtering to required origins and destinations in
od_matrix()
(and before_calculate_transport_network
is called), the following snippet could be used to skip this case:Additional context
The text was updated successfully, but these errors were encountered: