Skip to content

Commit

Permalink
Restore IF condition for drydep diagnostics in drydep_mod.F90
Browse files Browse the repository at this point in the history
GeosCore/drydep_mod.F90
- Restore the IF condition for drydep diagnostics to what it was
  before.  We had removed testing if State_Diag%ArchiveDryDepVel
  and State_Diag%SatDiagnDryDepVel were true.  This bug will cause
  the DryDepVel and SatDiagnDryDepVel History diagnostics not to
  be populated.  Now fixed.

Signed-off-by: Bob Yantosca <[email protected]>
  • Loading branch information
yantosca committed Dec 3, 2024
1 parent d9ee2e2 commit c7cfcfa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GeosCore/drydep_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,9 @@ SUBROUTINE UPDATE_DRYDEPFREQ( Input_Opt, State_Chm, State_Diag, State_Grid, &
!$OMP END PARALLEL DO

! Set diagnostics - consider moving?
IF ( State_Diag%Archive_DryDepVelForALT1 ) THEN
IF ( State_Diag%Archive_DryDepVel .or. &
State_Diag%Archive_DryDepVelForALT1 .or. &
State_Diag%Archive_SatDiagnDryDepVel ) THEN

!$OMP PARALLEL DO &
!$OMP DEFAULT( SHARED )&
Expand Down

0 comments on commit c7cfcfa

Please sign in to comment.