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
Work on the current NWM identified Fortran goto statements as a potential issue. Modern Fortran has moved away from goto statements for myriad reasons, some of which are discussed here.
These are original codes from NWS OHD and to preserve continuity they are retained in original form, as long as the fortran compilers still allow it. i.e., not pretty but it works. The backup version #duamel.f# has been removed from the repo. This is true of Snow-17 and Noah-OWP-Modular as well, although some statement functions on the latter were compiler-obsolete and had to be removed.
Work on the current NWM identified Fortran
goto
statements as a potential issue. Modern Fortran has moved away fromgoto
statements for myriad reasons, some of which are discussed here.There are two modules from which the
goto
s should be removed (https://github.com/NOAA-OWP/sac-sma/search?q=goto):Alternative solutions include
do
loops,if
statements,cycle
,exit
, andcase
.This issue also needs fixing in Noah-OWP-Modular and Snow-17.
The text was updated successfully, but these errors were encountered: