Pyromb assumes that the id field for reaches, confluences and centroids are globally unique. The dictionary that holds the ids to map these to an integer id required by RORB is shared across the three entities, therefore when these ids are not globally unique the order of connection is disrupted and RORB fails to build the catg file.
Solution is to use separate dictionaries, one for the reaches, confluences and centroids and only require unique ids within each dataset.
Pyromb assumes that the id field for reaches, confluences and centroids are globally unique. The dictionary that holds the ids to map these to an integer id required by RORB is shared across the three entities, therefore when these ids are not globally unique the order of connection is disrupted and RORB fails to build the catg file.
Solution is to use separate dictionaries, one for the reaches, confluences and centroids and only require unique ids within each dataset.