Skip to content

Remove ability to use different routing methods #102

@ekluzek

Description

@ekluzek

There's some code fragments that aren't exercised to run with different RoutingMethod options. It's hardcoded to only one (1), so we might as well remove the fragments that aren't testing for other options.

Looking for it in the code:

src/riverroute/MOSART_physics_mod.F90:      if(Tctl%RoutingMethod == 1) then
src/riverroute/MOSART_physics_mod.F90:      else if(Tctl%RoutingMethod == 2) then
src/riverroute/MOSART_physics_mod.F90:      else if(Tctl%RoutingMethod == 3) then
src/riverroute/MOSART_physics_mod.F90:      else if(Tctl%RoutingMethod == 4) then
src/riverroute/RtmMod.F90:      Tctl%RoutingMethod = 1
src/riverroute/RunoffMod.F90:     integer  :: RoutingMethod    ! Flag for routing methods. 1 --> variable storage method from SWAT model; 2 --> Muskingum method?

We could leave the variable in place just in case it's added back again by a hydrologist. But, as the other methods aren't tested it makes sense to remove the options and update the comments that talk about it.

@swensosc @slevis-lmwg

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions