|
From: Karin L. <kle...@um...> - 2019-06-28 20:39:23
|
Hi all, My most recent anuga models seem to be having some rounding errors in the finalize() step in line 182. It goes through all the timesteps, merges the sww files, and then prints a lot of lines that say "NOTE: changing argument to acos from 1.00000000000222 to 1.0" after each calculation for stage, elevation, xmomentum, and ymomentum for each timestep before writing the gauge output csv file. The output files all seem fine, but it significantly increases (doubles) the model runtime. I'm attaching my hydrograph-generating script (txt2tms.py) and the model script (flood_simn065_LGC3_drum_full_parallel_cpts.py). I started encountering this error after using the hydrograph-generating script to set my parameters instead of having one constant discharge for the full run, so perhaps that has something to do with it? If anyone has any suggestions on how to fix this error it would be greatly appreciated! Thanks, Karin Lehnigk |