Skip to content

Commit

Permalink
fix bug when calling unallocated diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephMouallem committed Jun 18, 2024
1 parent fb99cae commit 0cd3018
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GFS_layer/GFS_radiation_driver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,9 @@ subroutine GFS_radiation_driver &
! air and moles of co2 per square meter following the method in
! radlw_main.f. These can be used later to compute a global mean carbon
! dioxide volume mixing ratio diagnostic if requested.
call compute_column_integrated_moles_of_dry_air_and_co2(Statein, gasvmr, IM, LMK, NF_VGAS, Diag)
if (Model%ldiag3d) then
call compute_column_integrated_moles_of_dry_air_and_co2(Statein, gasvmr, IM, LMK, NF_VGAS, Diag)
endif

!> - Get temperature at layer interface, and layer moisture.
do k = 2, LMK
Expand Down

0 comments on commit 0cd3018

Please sign in to comment.