Skip to content

Commit

Permalink
Squash unnecessary warning from FVdycore
Browse files Browse the repository at this point in the history
When the user does NOT want to exclude advection tracers, there is currently
no way to safely ensure this without causing a warning to be pushed to stdout
on every time step. This can now be prevented by setting
`EXCLUDE_ADVECTION_TRACERS: NO` in the relevant resource file.
  • Loading branch information
sdeastham authored Jan 11, 2022
1 parent 01f8e86 commit 7b84309
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AdvCore_GridCompMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,9 @@ subroutine Run(GC, IMPORT, EXPORT, CLOCK, RC)
adjustTracers = .true.
end if
end if
else if (adjustTracerMode == 'NO') then
! Proceed without warning
adjustTracers = .false.
else
call WRITE_PARALLEL('Invalid option, ignored')
adjustTracers = .false.
Expand Down

0 comments on commit 7b84309

Please sign in to comment.