River networks are crucial in hydrologic and Earth system models. Accurately representing river networks in spatially-distributed hydrologic models requires considering the model's spatial discretization and computational mesh. However, current methods of generating river networks for hydrologic models do not typically support unstructured meshes. Unstructured meshes offer numerous advantages over traditional, structured meshes. To overcome this limitation, we developed PyFlowline, a Python package that generates mesh-independent river networks. With PyFlowline, hydrologic modelers can generate conceptual river networks and their topological relationships for both structured and unstructured meshes.
Published: November 15, 2023
Liao C., and M.G. Cooper. 2023.Pyflowline: a mesh independent river network generator for hydrologic models.Journal of Open Source Software 8, no. 91:Art. No. 5446.PNNL-SA-183741.doi:10.21105/joss.05446