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

cam6_4_053: Update CARMA external base #1201

Merged
merged 7 commits into from
Jan 7, 2025

Conversation

fvitt
Copy link

@fvitt fvitt commented Dec 5, 2024

Update CARMA base code to the latest tag (carma4_09) and updates existing CARMA models accordingly.

Closes #1181

fvitt added 3 commits December 4, 2024 10:53
	modified:   bld/build-namelist
	modified:   bld/namelist_files/namelist_definition.xml
	modified:   cime_config/testdefs/testlist_cam.xml
	modified:   cime_config/config_pes.xml
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.

This review was limited - I did not go into each CARMA model and look at the differences.

Comment on lines 4482 to 4483
ZhaoTurco
Zhao and Turco, JAS, V.26, No.5, 1995.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a DOI for this paper, or is it just too old?

Copy link
Author

Choose a reason for hiding this comment

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

@tilmes and @cbardeen
Is this the Zhao and Turco paper referenced here?
https://doi.org/10.1016/0021-8502(95)00010-A

Copy link
Collaborator

Choose a reason for hiding this comment

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

Zhao, J. and Turco, R.: Nucleation simulations in the wake of a jet aircraft in stratospheric flight, J. Aerosol Sci., 26, 779–795, https://doi.org/10.1016/0021-8502(95)00010-A, 1995.

Copy link
Author

Choose a reason for hiding this comment

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

I have updated the reference here

Comment on lines 161 to 163
call mpi_bcast (carma_flag, 1 ,mpi_logical, masterprocid, mpicom, ierr)
call mpi_bcast (carma_do_aerosol, 1 ,mpi_logical, masterprocid, mpicom, ierr)
call mpi_bcast (carma_do_coremasscheck,1 ,mpi_logical, masterprocid, mpicom, ierr)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Now that you have error codes, perhaps they should be checked?

Copy link
Author

Choose a reason for hiding this comment

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

checks added

Comment on lines 11 to 17

use carma_precision_mod
use carma_enums_mod
use carma_constants_mod
use carma_constants_mod, only : GRAV, REARTH, WTMOL_AIR, WTMOL_H2O, R_AIR, CP, RKAPPA
use carma_types_mod
use carma_flags_mod
use carma_model_mod
Copy link
Collaborator

Choose a reason for hiding this comment

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

The rest of these should probably have the "only" added to them as well

Copy link
Author

Choose a reason for hiding this comment

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

done

	modified:   bld/namelist_files/namelist_definition.xml
	modified:   src/physics/cam/carma_flags_mod.F90
	modified:   src/physics/carma/cam/carma_intr.F90
@fvitt fvitt requested a review from cacraigucar January 3, 2025 14:55
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.

Thanks for making the nitpicky changes

@cacraigucar cacraigucar changed the title Update CARMA external base cam6_4_053: Update CARMA external base Jan 6, 2025
@fvitt fvitt merged commit adaccfd into ESCOMP:cam_development Jan 7, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Tag
Development

Successfully merging this pull request may close these issues.

3 participants