-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cam6_4_066: Negative wet dep messages #1228
Conversation
modified: src/chemistry/aerosol/wetdep.F90
modified: src/chemistry/aerosol/wetdep.F90
found = .false. | ||
do i = 1,ncol | ||
if ( dblchek(i) < 0._r8 ) then | ||
if (dblchek(i) < -1.e-10_r8) then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps a comment on why -1.3-10_r8
is being used instead of a normal check of <0
would be appropriate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added comments
@@ -645,22 +645,20 @@ subroutine wetdepa_v2( & | |||
|
|||
end do ! End of i = 1, ncol | |||
|
|||
#ifdef DEBUG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this checking only being done for #DEBUG?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The check are catching a lot of insignificant small negative values which have been to cesm log an mostly ignored.
With the addition of the endrun
call, we are only doing the checks in debug mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps a comment about this would be appropriate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Merge pull request ESCOMP#1228 from fvitt/negwetdep cam6_4_066: Negative wet dep messages ESCOMP commit: 1ba445b
This limits the negative aerosol wet deposition messages written to cesm.log
Addresses #1132