Skip to content
Closed
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
branch = master
[submodule "ccpp/physics"]
path = ccpp/physics
url = https://github.com/NCAR/ccpp-physics
branch = master
#url = https://github.com/NCAR/ccpp-physics
#branch = master
url = https://github.com/climbfuji/ccpp-physics
branch = remove_zorl_interstitial
20 changes: 10 additions & 10 deletions atmos_model.F90
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ subroutine update_atmos_radiation_physics (Atmos)
jdat(5), jdat(6), jdat(7))
GFS_control%jdat(:) = jdat(:)

!--- execute the IPD atmospheric setup step
!--- execute the atmospheric setup step
call mpp_clock_begin(setupClock)
call CCPP_step (step="timestep_init", nblks=Atm_block%nblks, ierr=ierr)
if (ierr/=0) call mpp_error(FATAL, 'Call to CCPP timestep_init step failed')
Expand All @@ -279,8 +279,8 @@ subroutine update_atmos_radiation_physics (Atmos)

endif

! Calculate total non-physics tendencies by substracting old IPD Stateout
! variables from new/updated IPD Statein variables (gives the tendencies
! Calculate total non-physics tendencies by substracting old GFS Stateout
! variables from new/updated GFS Statein variables (gives the tendencies
! due to anything else than physics)
if (GFS_control%ldiag3d) then
do nb = 1,Atm_block%nblks
Expand All @@ -305,7 +305,7 @@ subroutine update_atmos_radiation_physics (Atmos)

if (mpp_pe() == mpp_root_pe() .and. debug) write(6,*) "radiation driver"

!--- execute the IPD atmospheric radiation subcomponent (RRTM)
!--- execute the atmospheric radiation subcomponent (RRTM)

call mpp_clock_begin(radClock)
! Performance improvement. Only enter if it is time to call the radiation physics.
Expand All @@ -322,7 +322,7 @@ subroutine update_atmos_radiation_physics (Atmos)

if (mpp_pe() == mpp_root_pe() .and. debug) write(6,*) "physics driver"

!--- execute the IPD atmospheric physics step1 subcomponent (main physics driver)
!--- execute the atmospheric physics step1 subcomponent (main physics driver)

call mpp_clock_begin(physClock)
call CCPP_step (step="physics", nblks=Atm_block%nblks, ierr=ierr)
Expand All @@ -336,7 +336,7 @@ subroutine update_atmos_radiation_physics (Atmos)

if (mpp_pe() == mpp_root_pe() .and. debug) write(6,*) "stochastic physics driver"

!--- execute the IPD atmospheric physics step2 subcomponent (stochastic physics driver)
!--- execute the atmospheric physics step2 subcomponent (stochastic physics driver)

call mpp_clock_begin(physClock)
call CCPP_step (step="stochastics", nblks=Atm_block%nblks, ierr=ierr)
Expand All @@ -350,7 +350,7 @@ subroutine update_atmos_radiation_physics (Atmos)
call getiauforcing(GFS_control,IAU_data)
if (mpp_pe() == mpp_root_pe() .and. debug) write(6,*) "end of radiation and physics step"

!--- execute the IPD atmospheric timestep finalize step
!--- execute the atmospheric timestep finalize step
call mpp_clock_begin(setupClock)
call CCPP_step (step="timestep_finalize", nblks=Atm_block%nblks, ierr=ierr)
if (ierr/=0) call mpp_error(FATAL, 'Call to CCPP timestep_finalize step failed')
Expand Down Expand Up @@ -501,7 +501,7 @@ subroutine atmos_model_init (Atmos, Time_init, Time, Time_step)
do i = 1, ntracers
call get_tracer_names(MODEL_ATMOS, i, tracer_names(i))
enddo
!--- setup IPD Init_parm
!--- setup Init_parm
Init_parm%me = mpp_pe()
Init_parm%master = mpp_root_pe()
Init_parm%tile_num = tile_num
Expand Down Expand Up @@ -668,7 +668,7 @@ subroutine atmos_model_init (Atmos, Time_init, Time, Time_step)

!if in coupled mode, set up coupled fields
if (GFS_control%cplflx .or. GFS_control%cplwav) then
if (mpp_pe() == mpp_root_pe()) print *,'COUPLING: IPD layer'
if (mpp_pe() == mpp_root_pe()) print *,'COUPLING: CCPP layer'
call setup_exportdata(ierr)
endif

Expand Down Expand Up @@ -887,7 +887,7 @@ subroutine atmos_model_end (Atmos)
call stochastic_physics_wrapper_end(GFS_control)

! Fast physics (from dynamics) are finalized in atmosphere_end above;
! standard/slow physics (from IPD) are finalized in CCPP_step 'finalize'.
! standard/slow physics (from CCPP) are finalized in CCPP_step 'finalize'.
! The CCPP framework for all cdata structures is finalized in CCPP_step 'finalize'.
call CCPP_step (step="finalize", nblks=Atm_block%nblks, ierr=ierr)
if (ierr/=0) call mpp_error(FATAL, 'Call to CCPP finalize step failed')
Expand Down
12 changes: 0 additions & 12 deletions ccpp/data/GFS_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2009,9 +2009,6 @@ module GFS_typedefs
real (kind=kind_phys), pointer :: xlai1d(:) => null() !<
real (kind=kind_phys), pointer :: xmu(:) => null() !<
real (kind=kind_phys), pointer :: z01d(:) => null() !<
real (kind=kind_phys), pointer :: zorl_ice(:) => null() !<
real (kind=kind_phys), pointer :: zorl_land(:) => null() !<
real (kind=kind_phys), pointer :: zorl_ocean(:) => null() !<
real (kind=kind_phys), pointer :: zt1d(:) => null() !<
!==================================================================================================
! UGWP - five mechnanisms of momentum deposition due to various types of GWs
Expand Down Expand Up @@ -6458,9 +6455,6 @@ subroutine interstitial_create (Interstitial, IM, Model)
allocate (Interstitial%xlai1d (IM))
allocate (Interstitial%xmu (IM))
allocate (Interstitial%z01d (IM))
allocate (Interstitial%zorl_ice (IM))
allocate (Interstitial%zorl_land (IM))
allocate (Interstitial%zorl_ocean (IM))
allocate (Interstitial%zt1d (IM))

! RRTMGP
Expand Down Expand Up @@ -7131,9 +7125,6 @@ subroutine interstitial_phys_reset (Interstitial, Model)
Interstitial%xlai1d = clear_val
Interstitial%xmu = clear_val
Interstitial%z01d = clear_val
Interstitial%zorl_ice = huge
Interstitial%zorl_land = huge
Interstitial%zorl_ocean = huge
Interstitial%zt1d = clear_val

! UGWP common
Expand Down Expand Up @@ -7517,9 +7508,6 @@ subroutine interstitial_print(Interstitial, Model, mpirank, omprank, blkno)
write (0,*) 'sum(Interstitial%xlai1d ) = ', sum(Interstitial%xlai1d )
write (0,*) 'sum(Interstitial%xmu ) = ', sum(Interstitial%xmu )
write (0,*) 'sum(Interstitial%z01d ) = ', sum(Interstitial%z01d )
write (0,*) 'sum(Interstitial%zorl_ice ) = ', sum(Interstitial%zorl_ice )
write (0,*) 'sum(Interstitial%zorl_land ) = ', sum(Interstitial%zorl_land )
write (0,*) 'sum(Interstitial%zorl_ocean ) = ', sum(Interstitial%zorl_ocean )
write (0,*) 'sum(Interstitial%zt1d ) = ', sum(Interstitial%zt1d )

! UGWP common
Expand Down
21 changes: 0 additions & 21 deletions ccpp/data/GFS_typedefs.meta
Original file line number Diff line number Diff line change
Expand Up @@ -9995,27 +9995,6 @@
dimensions = (horizontal_loop_extent)
type = real
kind = kind_phys
[zorl_ocean]
standard_name = surface_roughness_length_over_ocean_interstitial
long_name = surface roughness length over ocean (temporary use as interstitial)
units = cm
dimensions = (horizontal_loop_extent)
type = real
kind = kind_phys
[zorl_land]
standard_name = surface_roughness_length_over_land_interstitial
long_name = surface roughness length over land (temporary use as interstitial)
units = cm
dimensions = (horizontal_loop_extent)
type = real
kind = kind_phys
[zorl_ice]
standard_name = surface_roughness_length_over_ice_interstitial
long_name = surface roughness length over ice (temporary use as interstitial)
units = cm
dimensions = (horizontal_loop_extent)
type = real
kind = kind_phys
[zt1d]
standard_name = perturbation_of_heat_to_momentum_roughness_length_ratio
long_name = perturbation of heat to momentum roughness length ratio
Expand Down