In Noah-MP, set zero for canopy liquid and canopy ice over glacier#278
Conversation
|
Added the modification for snow glacier in "module_sf_noahmp_glacier.F90" from Mike Barlage. |
|
@barlage Re: "@wzzheng90 Thinking beyond this immediate issue, are there any other glacier outputs that make it to the final product files that also should be changed?" |
|
Further updated the glacier variables related to the canopy and set all the undefined over the glacier to some values suggested by Mike Barlage. |
|
Performed some regression tests ( with Gaussian_grid and cubed_sphere_grid, separately ) for two sensitivity runs: a) setting all the "undefined" over glacier to some values, and b) modification of the snow glacier ( "module_sf_noahmp_glacier.F90" ) plus a) changes. |
grantfirl
left a comment
There was a problem hiding this comment.
@wzzheng90 Code changes look OK. Please reinstate the pull request templates for your ufs-weather-model and fv3atm pull requests. In addition, please add your test_changes.list and regression testing log to the ufs-weather-model pull request.
|
@grantfirl Thanks! Yes, I am working on reinstating the pull request templates for my ufs-weather-model and fv3atm pull requests, as well as regression results. |
|
Weizhong and RhaeSun have run some RT tests, all but the rrfs_v1beta_debug_intel failed. Since RRFSv1 is not using NOAH-MP, does anyone know if this RT is needed ? We need to move this PR forward asap. We do not have the resources to debug why this particular test is failing. My recommendation is to turn off rrfs_v1beta_debug_intel anf rrfs_v1beta_intel |
@wzzheng90 @rhaesung @yangfanglin I think that rrfs_v1_beta_debug tests are expected to fail. If I look in tests/tests/rrfs_v1beta_debug, I see |
|
@grantfirl The test crashed, not du to change of results 46: 49 0x0000000000c94b81 esmf_gridcompmod_mp_esmf_gridcomprun_() /contrib/spack-stack/spack-stack-1.6.0/cache/build_stage/role.epic/spack-stage-esmf-8.6.0-lj3j3za5cnw5mxrzai3gv3lc6whbvnyw/spack-src/src/Superstructure/Component/src/ESMF_GridComp.F90:1903 @wzzheng90 @rhaesung please provide more details |
Thanks Fanglin and Grant's comments. In terms of failed RRFS's runs, I found that "dzsnso(0)" can become zero and result in floating point exception: if(sneqv > mwd) then ! 100 mm -> maximum water depth BTW, There are many revisions above this line. Here just list some variables related to this issue dzsnso: snow/soil layer thickness [m] When snow water equivalent > 100 mm, quite surprised to see that dzsnso(0) is zero? ? |
| !to obtain equilibrium state of snow in glacier region | ||
|
|
||
| if(sneqv > mwd .and. isnow /= 0) then ! 100 mm -> maximum water depth | ||
| if(sneqv > mwd) then ! 100 mm -> maximum water depth |
There was a problem hiding this comment.
@wzzheng90 Why remove the isnow /= 0 test? This is preventing division by zero in line 2664, which is causing the RT failure.
|
@grantfirl I checked Mike's modifications, and it did not work even if I kept isnow /= 0, for there are lots of changes above this line. |
|
OK, please add an issue in ufs-weather-model to fix these tests later if you want to disable them to get this PR in. Reference this PR/discussion so that whomever works on it in the future has this context. |
@grantfirl Thanks for your suggestions. I added it in ufs-weather-model. |
|
@grantfirl @rhaesung could you help @wzzheng90 with syncing up the branch? Thank you. |
|
Testing on #2723 has completed, please continue with the merge process for this PR, thank you. |
This PR addresses the issue #272 (#272)
It updated the old PRs #275 (#275).