Dear Mr. Joel Oskarsson, in the 'Graph Construction' section of your paper, you aggregate neighbor nodes in eight directions. A student would like to ask for your advice on how to selectively aggregate neighbor nodes. Could you also explain how to generate a flow direction map, for example, as shown below: Based on neighbors in the D8 or D4 directions, generate a flow direction map from the DEM image, and then aggregate the neighbor features of upstream river nodes. Article source: https://eartharxiv.org/repository/view/3018/, but this article does not share its code, which is very challenging for beginners.
Dear Mr. Joel Oskarsson, in the 'Graph Construction' section of your paper, you aggregate neighbor nodes in eight directions. A student would like to ask for your advice on how to selectively aggregate neighbor nodes. Could you also explain how to generate a flow direction map, for example, as shown below: Based on neighbors in the D8 or D4 directions, generate a flow direction map from the DEM image, and then aggregate the neighbor features of upstream river nodes. Article source: https://eartharxiv.org/repository/view/3018/, but this article does not share its code, which is very challenging for beginners.