Skip to content

Bug for soil initialization in MPAS/NoahMP #1310

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

Closed
cenlinhe opened this issue May 11, 2025 · 3 comments
Closed

Bug for soil initialization in MPAS/NoahMP #1310

cenlinhe opened this issue May 11, 2025 · 3 comments

Comments

@cenlinhe
Copy link

The following code in the current MPAS/NoahMP initialization part is wrong:
mpas_noahmp%sh2o(i,ns) = sh2o(ns,i)
mpas_noahmp%smois(i,ns) = smois(ns,i)
mpas_noahmp%tslb(i,ns) = tslb(ns,i)

The code is here:

mpas_noahmp%sh2o(i,ns) = sh2o(ns,i)
mpas_noahmp%smois(i,ns) = smois(ns,i)
mpas_noahmp%tslb(i,ns) = tslb(ns,i)

The current code leads to a wrongly initialized soil temperature and moisture field.

The correct code should be as follows:
sh2o(ns,i) = mpas_noahmp%sh2o(i,ns)
smois(ns,i) = mpas_noahmp%smois(i,ns)
tslb(ns,i) = mpas_noahmp%tslb(i,ns)

This bug needs to be fixed as soon as possible.

@cenlinhe
Copy link
Author

@CharlesZheZhang @barlage
@CharlesZheZhang Could you please submit a PR for this? thanks!

@CharlesZheZhang
Copy link

Hi Cenlin,

This PR (#1244) already fixed this issue and has been merged to hotfix-v8.2.3.

I created this new PR (#1311) to remove the redundant lines from (L398-433)
https://github.com/ldfowler58/MPAS-Model/blob/4ba48ba7f0bc7653da811a6ab54e5ce3cd1402b4/src/core_atmosphere/physics/mpas_atmphys_lsm_noahmpinit.F#L398

@cenlinhe
Copy link
Author

OK, thanks for the clarification. I am going to close this issue.

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

No branches or pull requests

2 participants