Skip to content

Commit

Permalink
add comment to initialize_constituents.F90 to elaborate on water spec…
Browse files Browse the repository at this point in the history
…ies logic
  • Loading branch information
peverwhee committed Dec 26, 2024
1 parent e3a7550 commit 039b657
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_schemes/initialize_constituents.F90
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ subroutine initialize_constituents_register(constituents, errmsg, errcode)
errcode = errcode, &
errmsg = errmsg)
else if (any(water_species_std_names == trim(constituent_names(var_index)))) then
! Do not set water_species = .true. for water species mixing ratios
! Avoiding mismatch in properties vs. metadata-specified constituents
! Water species properties are set in air_composition.F90 in CAM-SIMA
call constituents(var_index)%instantiate( &
std_name = constituent_names(var_index), &
long_name = constituent_names(var_index), &
Expand Down

0 comments on commit 039b657

Please sign in to comment.