forked from NCAR/ccpp-physics
-
Notifications
You must be signed in to change notification settings - Fork 33
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
On ufs-community/ccpp-physics Issue #172 #173
Merged
grantfirl
merged 2 commits into
ufs-community:ufs/dev
from
ShanSunNOAA:bugfix_tisfc_20240213
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Could you confirm if the intent of tisfc for sea ice will also be applied to lake ice?
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.
Mike Barlage confirmed that it should be the lake ice model to determine the ice temperature, not here in the atmospheric model.
Shan
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.
As the PoC of the CLM lake model, @tanyasmirnova Could you confirm that?
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.
@mzhangw The CLM model sends ice temperature into tisfc(i) variable. However, the line you point to should not be used with the CLM model. The testing of the CLM model has been done with frac_grid = .false., therefore the specific for the CLM lake model code is in the part of the code when frac_land=.false.:
186 else ! Not ocean and not land
187 is_clm = lkm>0 .and. iopt_lake==iopt_lake_clm .and. use_lake_model(i)>0
188 if (cice(i) >= min_lakeice) then
189 icy(i) = .true.
190 if(.not.is_clm) then
191 tisfc(i) = max(timin, min(tisfc(i), tgice))
192 endif
193 islmsk(i) = 2
194 else
195 cice(i) = zero
196 hice(i) = zero
197 islmsk(i) = 0
198 icy(i) = .false.
199 endif
200 islmsk_cice(i) = islmsk(i)
201 flag_cice(i) = .false.
202 if(is_clm) then
203 wet(i) = .true.
204 if (icy(i)) then
205 tsfco(i) = max(tisfc(i), tgice)
206 endif
207 else if(cice(i) < one) then
208 wet(i) = .true. ! some open lake
209 if (icy(i)) then
210 tsfco(i) = max(tisfc(i), tgice)
211 endif
212 endif
213 endif
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.
@mzhangw @tanyasmirnova Following up on this discussion, so the changes in this PR are OK and don't need to be modified for CLM, correct?