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

[Discussion] Run-time/compile-time switches #29

Open
jimmielin opened this issue Nov 7, 2023 · 0 comments
Open

[Discussion] Run-time/compile-time switches #29

jimmielin opened this issue Nov 7, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@jimmielin
Copy link

Right now there are some configurable options for the behavior of the GEOS-Chem within CESM2 model that are scattered about in code. I'll document them here as I find out more about them.

C-Preprocessor constants

  • MODAL_AERO and MODAL_AERO_4MODE. I think CESM-GC won't run without aerosols so I don't know why #ifdef for these are still included in chemistry.F90. Perhaps for compile of compsets without MAM4 and not with chemistry?

In chemistry.F90

  • debug - controls debug output, together with masterproc. Set to .true. now. I recommend possibly merging this with the option for debug output in the GEOS-Chem config yml.
  • ghg_chem - "use ghg chem package" ?? unknown use. Set by namelist.

In GEOS-Chem Input_Opt

  • Input_Opt%onlineAlbedo - true to use CLM albedo for photolysis, false to use monthly-mean albedo for HEMCO. Default/recommendation is .true.
  • Input_Opt%applyQtend - true to apply tendencies of water vapor (H2O) tracer to specific humidity. Default is .false. - recommendation is unknown.
  • Input_Opt%correctConvUTLS - true to apply photolytic correction for convective scavenging of soluble tracers. Default/recommendation is .true.. I implemented this and know that it is necessary to be in Input_Opt as it interfaces with GEOS-Chem source code.
@jimmielin jimmielin added the documentation Improvements or additions to documentation label Nov 7, 2023
lizziel pushed a commit that referenced this issue Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant