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
When running test case test_given_delft3d_flowfm_case_runs it will fail at the update_lme method during the simulation run (so the initialise step seems to be working correctly) with the following error:
Exception has occurred: ValueError (note: full exception trace is shown but execution is paused at: test_given_delft3d_flowfm_case_runs)
operands could not be broadcast together with remapped shapes [original->remapped]: (365,900) and requested shape (365,2)
During handling of the above exception, another exception occurred:
File "D:\repos\NBSDynamics\src\core\output\output_model.py", line 452, in update_lme
_his_data["Iz"][ti, :] = coral.light[self.idx_stations, :].transpose()
File "D:\repos\NBSDynamics\src\core\output\output_model.py", line 535, in update
v_func()
File "D:\repos\NBSDynamics\src\core\simulation\base_simulation.py", line 368, in run
self.output.his_output.update(
File "D:\repos\NBSDynamics\test\test_acceptance.py", line 166, in test_given_delft3d_flowfm_case_runs (Current frame)
sim_run.run()
The test is done with the NBSDynamics provided kernel directory and using the model c01_test1_smalltidalbasin_vegblock that can be found in a directory within the same project.
Options to solve the problem:
Fix the simulation input. It could be that the current test case parameters do not adjust for a FlowFM test run for the c01_test1_smalltidalbasin_vegblock FM model.
Adapt the logic. It could also be that the current logic has been modified prior to the integration on this repo (reminder that there were several branches linked to the SVN Repo).
The text was updated successfully, but these errors were encountered:
When running test case test_given_delft3d_flowfm_case_runs it will fail at the
update_lme
method during the simulation run (so the initialise step seems to be working correctly) with the following error:The test is done with the NBSDynamics provided kernel directory and using the model
c01_test1_smalltidalbasin_vegblock
that can be found in a directory within the same project.Options to solve the problem:
c01_test1_smalltidalbasin_vegblock
FM model.The text was updated successfully, but these errors were encountered: