-
Notifications
You must be signed in to change notification settings - Fork 159
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
Snow DA Updates, NoahMP #1350
Snow DA Updates, NoahMP #1350
Conversation
HI @jupflug Thanks for these fixes. There are a few changes to the Noah-MP-4.0.1 code that would also affect users running without SnowModel. We try to avoid making these types of changes unless absolutely necessary.
As these changes affect multiple Noah-MP-4.0.1 codes and users when not running SnowModel, we need to resolve these before this pull request is merged. |
Thanks @dmocko A majority of these changes you note above were made to the code prior to my changes for the snow updates and precipitation partitioning. I'm looping in @karsenau, who can help us determine what to keep/revert. Re. number 8 above, we commonly increase the maximum SWE since our simulations can often exceed 2m SWE, and capping it can result in unrealistic SWE evolution in these locations/years. This doesn't have to change for this pull request. |
Thanks for the excellent questions and review, @dmocko. I would like to offer some insights and a couple of suggestions on how we may proceed with some of the code commits in this PR and for some future PRs. Main Initial inputs: The original branch that this code was committed from is an older version and has had a few specific tweaks for specialized experiments. I would recommend to @jupflug to create a new separate branch from the latest "master" branch and make individual commits + PRs vs. one large set of them (as here), given the nature of the original branch itself and its purpose. @sujayvkumar would like the updates that have been made to the "da_snow/noahmp401_snow_update.F90" routine incorporated sooner than the others, so we may want to follow my first suggestion (with implementation into the latest master branch) and test + provide on a test case that includes a snow DA update short run for that PR.
2). In module_sf_noahmp_glacier_401.F90, on line 1211, the variable FV should be defined as "INOUT". This was a bug that was fixed a few months ago: 9b06a00
3). In module_sf_noahmplsm_401.F90, on line 4, why did you add LIS_coreMod to this routine? I don't think it's needed.
5). Same file, lines 745 to 752 are new lines that are not specific to SnowModel. Can they be wrapped in a IF(OPT_SNF == 5) THEN block?
6). Same file, lines 1127 to 1132 are another change that would affect folks not running SnowModel. These also need to be corrected.
7). Same file, line 1853 changed the threshold for SNOWH. I see why (to prevent dividing by a very small number on the next line). However, what are the implications of leaving FMELT and FSNO undefined if the code doesn't go into this IF block. Further, the FMELT "divide by a really small number check" was removed. Why?
8). Same file, lines 6841 and 6843, why was the maximum SWE changed from 2000mm to 10000mm?
Thank you and please let me know if you would like to discuss further offline next week. |
Thanks @karsenau! I agree that I tried to push too much. This can all be easily separated into multiple PRs that should be much easier to follow. I updated the name of this PR, and I'll revert to commit only those changes to @karsenau @dmocko and @sujayvkumar, please let me know if you have any issues with that plan. |
Thanks for the updated commits and for only including the Noah-MP-4.0.1 snow DA update fixes in this PR. Thanks also for your detailed responses to my questions. Yes, it's better to have PRs only change a single topic instead of combining many of them into a single PR. I would be glad to meet with you both next week to discuss the plan for the precipitation partitioning and other changes. I am taking you at your word that @sujayvkumar approves of these changes to the Noah-MP-4.0.1 snow DA updates.
|
I wasn't able to change the head of this PR, so I closed this and opened a new one at #1352 that merges with support/lisf-public-7.4. Sorry for missing the documentation on this workflow. |
Description
Fixes #1349
The first two bugs identified by #1349 were fixed within
noahmp401_snow_update.F90
:All other changes added the default precip partitioning method from SnowModel, as an precip partioning option in NoahMP. This method is based on a linear fit to Dai (2008), and used the same formulas and parameters from the SnowModel subLSM.
@sujayvkumar @karsenau