Open utterances-bot opened 11 months ago
Excellent write up. The only thing you might add would be approximate times (month/year) to the various steps along the debugging saga. Good to remind ourselves how long this all took, despite diligent effort.
Don't forget to send a concise version of this bug report to the ROMS Forum.
Also, share this blog post with John Wilkin - he will be very interested.
It is so great to see this sorted out!!
Thank you both! I'm still so excited. I've just sent out the messages and updated the timeline with dates. See you this afternoon.
Goodbye Bug | Weekly Research Update
On July 19th, 2023, after 262 days of blow ups, vertical sources finally ran successfully in LiveOcean. Details below. Squashing the bug This week, Parker brilliantly searched for every line in which the variable “Dsrc” appears in the ROMS source code. The result is shown in Figure 1. Note that Dsrc indicates the direction of a source. Dscr = 0 for u-sources, 1 for v, and 2 for w. Fig 1. Result of grep search for "Dsrc" in ROMS source code. What we saw is that in most files (e.g. pre_step3d.F), we have a format of: IF Dsrc == 0 THEN ... ELSE IF Dsrc == 1 THEN ... However, in step3d_uv.F (highlighted in Fig 1), we have only: IF Dsrc == 0 THEN ... ELSE ... This simple IF-ELSE case is the key to our puzzle. In all other cases,
https://ajleeson.github.io/research_blog/2023/07/24/goodbye-bug.html