Skip to content

Commit

Permalink
fix misplaced USE_COSP ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-eaton committed Jul 1, 2024
1 parent 7dd6cbd commit b210815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/physics/cam/cospsimulator_intr.F90
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ subroutine cospsimulator_intr_register()
use cam_history_support, only: add_hist_coord
!---------------------------------------------------------------------------

#ifdef USE_COSP
! Set number of levels used by COSP to the number of levels used by
! CAM's cloud macro/microphysics parameterizations.
nlay = pver - ktop + 1
Expand All @@ -449,7 +450,6 @@ subroutine cospsimulator_intr_register()
! Set COSP coordinate arrays
call setcosp2values()

#ifdef USE_COSP
! Define coordinate variables for COSP outputs.
if (lisccp_sim .or. lmodis_sim) then
call add_hist_coord('cosp_prs', nprs_cosp, 'COSP Mean ISCCP pressure', &
Expand Down

0 comments on commit b210815

Please sign in to comment.