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

Need to pass precipitation from YOG scheme to coupler #24

Open
paogorman opened this issue Aug 5, 2024 · 0 comments · May be fixed by #35
Open

Need to pass precipitation from YOG scheme to coupler #24

paogorman opened this issue Aug 5, 2024 · 0 comments · May be fixed by #35
Assignees

Comments

@paogorman
Copy link

Currently yog_prec is diagnosed and output but I don't think it is added to the surface water fluxes used by the coupler (e.g. would be needed by land or ocean parts of model).

CAM puts precipitation into either large-scale (precl) or convective (precc). In principle, yog could contribute to both. But for now we are considering yog to be a convection scheme, so one option would be to add yog_prec to precc in cam_diagnostics.f90 here:

https://github.com/m2lines/CAM-ML/blob/facd0cee74a7c4017501d49e9d51221fc875df8b/src/physics/cam/cam_diagnostics.F90#L1577C7-L1586C13

Then my reading of CAM is that precc gets passed to the coupler here:

a2x(index_a2x_Faxa_rainc,ig) = (cam_out(c)%precc(i)-cam_out(c)%precsc(i))*1000._r8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants