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

part of cam6_3_108: Cloud to ground lightning flash frequency passed to land model #747

Merged
merged 20 commits into from
Apr 27, 2023

Conversation

fvitt
Copy link

@fvitt fvitt commented Feb 3, 2023

Closes #567

fvitt added 8 commits February 1, 2023 11:42
        modified:   Externals.cfg
        modified:   bld/build-namelist
        modified:   bld/namelist_files/namelist_definition.xml
        modified:   src/chemistry/mozart/mo_lightning.F90
        modified:   src/chemistry/pp_none/chemistry.F90
        modified:   src/control/camsrfexch.F90
        modified:   src/cpl/nuopc/atm_import_export.F90
        modified:   src/physics/cam/physpkg.F90
…ash_freq" to "atm_provides_lightning"; minor cleanup

        modified:   bld/build-namelist
        modified:   bld/namelist_files/namelist_definition.xml
        modified:   src/chemistry/mozart/mo_lightning.F90
        modified:   src/chemistry/pp_none/chemistry.F90
        modified:   src/control/camsrfexch.F90
        modified:   src/cpl/nuopc/atm_import_export.F90
        modified:   src/chemistry/mozart/chemistry.F90
        modified:   src/chemistry/mozart/mo_chemini.F90
        modified:   src/chemistry/mozart/mo_lightning.F90
        modified:   src/chemistry/pp_none/chemistry.F90
        modified:   src/control/camsrfexch.F90
        modified:   src/physics/cam/physpkg.F90
        modified:   bld/build-namelist
        modified:   src/cpl/nuopc/atm_import_export.F90
        modified:   bld/build-namelist
        modified:   src/chemistry/mozart/mo_lightning.F90
        modified:   bld/build-namelist
        modified:   bld/namelist_files/namelist_definition.xml
        modified:   src/chemistry/mozart/chemistry.F90
        modified:   src/chemistry/mozart/mo_chemini.F90
        modified:   src/chemistry/mozart/mo_lightning.F90
        modified:   src/control/runtime_opts.F90
        modified:   src/cpl/nuopc/atm_import_export.F90
        modified:   src/chemistry/mozart/chemistry.F90
        modified:   src/chemistry/mozart/mo_chemini.F90
        modified:   src/chemistry/mozart/mo_lightning.F90
        modified:   src/chemistry/pp_none/chemistry.F90
        modified:   src/control/camsrfexch.F90
        modified:   src/physics/cam/physpkg.F90
        modified:   src/chemistry/mozart/mo_lightning.F90
        modified:   src/control/camsrfexch.F90
        modified:   src/cpl/nuopc/atm_import_export.F90
        modified:   src/physics/cam_dev/physpkg.F90
@fvitt fvitt added the BFB bit for bit tag label Feb 3, 2023
@fvitt fvitt added this to the CESM3 milestone Feb 3, 2023
@fvitt fvitt requested a review from lkemmons February 3, 2023 15:45
@fvitt fvitt self-assigned this Feb 3, 2023

cld2grnd_flash_freq(i) = cam_in(c)%landfrac(i)*flash_freq_land *cgic(i,c) * factor ! cld-to-grnd flash frq (per min)
Copy link
Author

Choose a reason for hiding this comment

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

@lkemmons Does this formulation look correct for the cloud-to-ground lightning flash frequency? Is it correct to include factor here which is 0.1_r8*lght_no_prd_factor, the namelist lightning NOx production rate tuning parameter.

Copy link
Collaborator

Choose a reason for hiding this comment

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

No, 'factor' is just for getting the right amount of NO emissions per flash, and should not be applied to the flash frequency that is passed to the land.

	modified:   bld/build-namelist
	modified:   src/control/camsrfexch.F90
        modified:   src/chemistry/mozart/mo_lightning.F90

call addfld( 'LNO_COL_PROD', horiz_only, 'I', 'TG N/YR', 'lightning column NO source' )
call addfld( 'LNO_PROD', (/ 'lev' /), 'I', '/cm3/s', 'lightning insitu NO source' )
call addfld( 'FLASHENGY', horiz_only, 'I', 'J', 'lightning flash energy' ) ! flash energy
Copy link
Author

Choose a reason for hiding this comment

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

@lkemmons What should the units be on the flash energy?

Copy link
Collaborator

Choose a reason for hiding this comment

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

The flash energy is in joules (J).
Could we change LNO_PROD units to 'molecules/cm3/s' - I think that is consistent with other chemical rates?

        modified:   src/chemistry/mozart/mo_lightning.F90
@fvitt fvitt marked this pull request as ready for review February 15, 2023 16:07
@wwieder
Copy link

wwieder commented Feb 17, 2023

This PR caught the attention of the LMWG. Thanks for working on this, @fvitt!

We're wondering what the timeline for this PR may be, as there's quite a bit of work this could spark on the land side if we can get interactive lightning (and therefore fire ignitions) into CESM3?

Copy link
Collaborator

@cacraigucar cacraigucar left a comment

Choose a reason for hiding this comment

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

Preliminary review - may have additional comments, but wanted to get a couple of questions answered

        modified:   src/chemistry/mozart/mo_lightning.F90
fvitt added 4 commits March 23, 2023 13:27
        modified:   src/chemistry/mozart/mo_lightning.F90
        modified:   src/chemistry/mozart/mo_lightning.F90
        modified:   bld/build-namelist
@cacraigucar cacraigucar requested a review from jtruesdal March 27, 2023 23:27
Copy link
Collaborator

@brian-eaton brian-eaton 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. A couple of minor comments.

Copy link
Collaborator

@nusbaume nusbaume 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, just have one small change request and a question.

@brian-eaton brian-eaton self-requested a review March 30, 2023 18:14
Copy link
Collaborator

@jtruesdal jtruesdal left a comment

Choose a reason for hiding this comment

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

Looks Ok to me.

fvitt added 2 commits April 24, 2023 09:59
	modified:   Externals.cfg
	modified:   src/chemistry/mozart/mo_lightning.F90
	modified:   src/control/camsrfexch.F90
@fvitt fvitt requested review from nusbaume and cacraigucar April 24, 2023 16:30
@cacraigucar cacraigucar changed the title Cloud to ground lightning flash frequency passed to land model cam6_3_110?: Cloud to ground lightning flash frequency passed to land model Apr 24, 2023
@cacraigucar cacraigucar changed the title cam6_3_110?: Cloud to ground lightning flash frequency passed to land model part of cam6_3_109: Cloud to ground lightning flash frequency passed to land model Apr 25, 2023
@cacraigucar cacraigucar changed the title part of cam6_3_109: Cloud to ground lightning flash frequency passed to land model part of cam6_3_108: Cloud to ground lightning flash frequency passed to land model Apr 25, 2023
@fvitt fvitt merged commit 47baa33 into ESCOMP:cam_development Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB bit for bit tag CoupledEval3
Projects
Status: Tag
Development

Successfully merging this pull request may close these issues.

8 participants