Skip to content
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

land surface upgrades for HR2 #78

Merged
merged 78 commits into from
Jul 18, 2023

Conversation

HelinWei-NOAA
Copy link
Collaborator

land surface upgrades for HR2:

  • a new soil color dataset is introduced to Noah MP to reflect the right soil albedo to reduce the large warm bias found in the Sahel desert.
  • restructure the approach to read in the Noah MP parameter table
  • add an option for different diagnostic method to derive 2m t/q
  • add GFS stability inside noahmp
  • include wet leaf contribution factor
  • z0m lai dependence

Grant Firl and others added 30 commits October 17, 2022 13:37
sync with the new community repository
Add tests for ccpp_prebuild step
sync with the ufs/dev branch
update main with the develop
irtsoc=iret
if(iret.eq.1) then
write(6,*) 'FATAL ERROR: soil color analysis read error.'
call abort
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I notice a bunch of abort calls throughout. CCPP schemes are not supposed to be able to kill the model. They're supposed to set the errflg and errmsg variables and return so that the host can exit gracefully.

@@ -7394,6 +7546,7 @@ subroutine clima(lugb,iy,im,id,ih,fh,len,lsoil,slmskl,slmskw, &
endif
!
! soil type
print *,'in FIXREAD fnsotc =',fnsotc
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment about print lines

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grantfirl all your comments about sfcsub.F were not introduced by this PR. If we want to use this opportunity to make these changes, we should consult POC of the subroutine @GeorgeGayno-NOAA

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although some of the comments were referring to pre-existing aborts, most of the comments refer to new print statements added in this PR. People complain about command line output being "polluted". I understand the developer need to have print lines in the code, but they should not be active by default. @GeorgeGayno-NOAA what do you think?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you can get rid of the print line.

@grantfirl grantfirl requested a review from dustinswales June 16, 2023 14:24
@grantfirl
Copy link
Collaborator

Looks good. Thanks for making the requested changes.

@dustinswales Please re-review since you requested changes and blocked merging.

Copy link
Collaborator

@dustinswales dustinswales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@BrianCurtis-NOAA
Copy link

I know that there are approvals here, but since there have been code changes since the latest approval, can we get a re-approval from @dustinswales or @Qingfu-Liu of those changes?

@Qingfu-Liu
Copy link
Collaborator

@BrianCurtis-NOAA new changes look good, should rerun the regression tests

Copy link
Collaborator

@dustinswales dustinswales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@grantfirl
Copy link
Collaborator

@jkbk2004 It looks like this PR was not updated to the latest ufs/dev branch after the merge of #85. This shouldn't necessarily matter for testing because that PR only changed 2 files that are immaterial to the changes in this PR, but it is a mistake not to have updated this branch before final testing, IMO. I can still merge if we're all OK with it, I'm just pointing it out since I just got back from vacation.

@BrianCurtis-NOAA
Copy link

I would prefer that the code/hashes that go into the UFSWM repo be tested, so if there's a mistake in the upstream UFSWM testing branch it should be corrected and retested. Please do not merge.

@jkbk2004
Copy link

We can do a quick test to check the impact. BTW, we should hold this pr a bit.

@grantfirl
Copy link
Collaborator

@jkbk2004 @BrianCurtis-NOAA False alarm, I guess. I was looking through the commits and didn't see the merge commit for #85, but it looks like e9803fc did this. It should be OK to merge whenever you're ready.

@BrianCurtis-NOAA
Copy link

@jkbk2004 @BrianCurtis-NOAA False alarm, I guess. I was looking through the commits and didn't see the merge commit for #85, but it looks like e9803fc did this. It should be OK to merge whenever you're ready.

OK good. I was getting frustrated why I couldn't see the discrepancy you had mentioned and was about to ask if you were certain of it.

@FernandoAndrade-NOAA
Copy link

Ok, in that case it looks like this should be good to go. Testing for #1777 has finished successfully, please continue with the merge process.

@grantfirl grantfirl merged commit 5dc968e into ufs-community:ufs/dev Jul 18, 2023
spencerkclark added a commit to spencerkclark/SHiELD_physics that referenced this pull request Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.