diff --git a/src/physics/cam/cospsimulator_intr.F90 b/src/physics/cam/cospsimulator_intr.F90 index e4fbb5e052..7db2792a12 100644 --- a/src/physics/cam/cospsimulator_intr.F90 +++ b/src/physics/cam/cospsimulator_intr.F90 @@ -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 @@ -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', &