You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @mdbartos — I've been maintaining a downstream copy of pipedream (anuga-community/pipedream) for coupling with ANUGA, and wanted to share a few things that overlap with this PR.
pandas 3 / NumPy 2: the Python 3.11 job here fails with No matching definition for argument type(s) ... readonly array(bool, 1d, C). That's the pandas 3 Copy-on-Write issue in #74; #75 fixes it (copies the DataFrame-derived arrays that reach the eager numba kernels). #73 replaces the removed np.bool8 alias for NumPy 2. Both are small and independent of this PR.
Tests on master:test/test_pipedream.py on master fails at collection, so CI there can't pass. Layer by layer:
_setup_step passes _dt to superlink_{upstream,downstream}_head_coefficients, which the pure-Python SuperLink versions don't accept — their formulation predates nSuperLink's. I see this PR drops the SuperLink tests; is SuperLink still meant to be supported, or should it be deprecated in favour of nSuperLink?
The water quality test: QualityBuilder takes dx_uk/dx_dk from the hydraulic model (default 0) and divides by them in numba_node_coeffs → ZeroDivisionError. The dx_uk/dx_dk columns in hillslope_superlink_wq_params.csv are no longer read. That may be why it's commented out here.
Pump tests still use a_q/a_h rather than the EPANET a_p/b_p/c_p from 49e9d3b.
On our branch I've xfailed the SuperLink tests and repaired the rest, and CI passes on 3.9–3.11, in case any of it is useful: anuga-community@3045ef5
Separately, test_superlink_convergence here fails on 3.9/3.10 with a broadcast error in diagnostics.py:195 (shapes (5,) vs (25,)).
Happy to rebase #73/#75 onto this branch if that's easier for you. Thanks for pipedream!
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.