Skip to content

DRAFT FOR DOM: Feature/capgen_for_fuji#1192

Draft
dustinswales wants to merge 8 commits intoNCAR:mainfrom
dustinswales:feature/capgen_for_fuji
Draft

DRAFT FOR DOM: Feature/capgen_for_fuji#1192
dustinswales wants to merge 8 commits intoNCAR:mainfrom
dustinswales:feature/capgen_for_fuji

Conversation

@dustinswales
Copy link
Member

@climbfuji Physics changes for Capgen.
Mostly metadata/fortran inconsistencies.
One thing I had to change was the LSM integer identifier local_name (e.g., lsm_noah -> ilsm_noah). This was a problem in the Capgen Suite caps when the scheme name was the same as the local name, so I added the "i" suffix. Note, we shouldn't need this when the DDT approach within Capgen is implemented.

dimensions = (number_of_active_gases_used_by_RRTMGP)
type = character
kind = len=128
kind = len=*
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice to see that the Metadata-vs-Fortran validation works and fixes so many inconsistencies!

Comment on lines +11 to +13
!! \section arg_table_myjpbl_wrapper_init Argument Table
!! \htmlinclude myjpbl_wrapper_init.html
!!
Copy link
Collaborator

Choose a reason for hiding this comment

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

All these schemes with missing metadata tables simply didn't get called in prebuild, or?

Copy link
Member Author

Choose a reason for hiding this comment

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

This wouldn't be an "error" in Prebuild, but the scheme call wouldn't get added to the Cap.
None of the scheme files missing metadata hooks here are currently used in UFS applications, so this was just added to pass the meta/fortran comparison w/o removing anything. I could go the other route and remove the tables from the metadata files?

! MPI variables
integer :: mpiid
type(MPI_comm), intent(in) :: mpicomm
type(MPI_Comm), intent(in) :: mpicomm
Copy link
Collaborator

Choose a reason for hiding this comment

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

all this must be case-insensitive

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm. Let me double check this. It may be a relic.

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

Successfully merging this pull request may close these issues.

2 participants