Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple added nodes in series #305

Open
jmccreight opened this issue Sep 3, 2024 · 0 comments
Open

multiple added nodes in series #305

jmccreight opened this issue Sep 3, 2024 · 0 comments

Comments

@jmccreight
Copy link
Member

this error should not be necessary, but maybe a warning?

File E:\wrdapp\pywatershed\pywatershed\pywatershed\hydrology\prms_channel_flow_graph.py:885, in _build_flow_graph_inputs(prms_channel_dis, prms_channel_params, new_nodes_maker_dict, new_nodes_maker_names, new_nodes_maker_indices, new_nodes_flow_to_nhm_seg)    882 assert len(new_nodes_maker_names) == len(new_nodes_flow_to_nhm_seg), "NONO"    883 # I think this is the only condition to check with    884 # new_nodes_flow_to_nhm_seg--> 885 assert len(new_nodes_flow_to_nhm_seg) == len(    886     np.unique(new_nodes_flow_to_nhm_seg)    887 ), "OHNO"    889 nseg = prms_channel_params.dims["nsegment"]    890 nnodes = nseg + len(new_nodes_maker_names)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant