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.
There is one module from which the gotos should be removed (https://github.com/NOAA-OWP/snow17/search?q=goto):
Alternative solutions include do loops, if statements, cycle, exit, and case.
This issue also needs fixing in Sac-SMA and Noah-OWP-Modular.
Work on the current NWM identified Fortran
gotostatements as a potential issue. Modern Fortran has moved away fromgotostatements for myriad reasons, some of which are discussed here.There is one module from which the
gotos should be removed (https://github.com/NOAA-OWP/snow17/search?q=goto):Alternative solutions include
doloops,ifstatements,cycle,exit, andcase.This issue also needs fixing in Sac-SMA and Noah-OWP-Modular.