Skip to content

Commit

Permalink
Point to latest version of ccpp-physics.
Browse files Browse the repository at this point in the history
Add new soil color argument.

Fixes ufs-community#933.
  • Loading branch information
GeorgeGayno-NOAA committed Apr 24, 2024
1 parent ef3a1d2 commit 30e17b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ccpp-physics
Submodule ccpp-physics updated 445 files
2 changes: 1 addition & 1 deletion sorc/global_cycle.fd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set(lib_src
machine.f90
num_parthds.f90
../../ccpp-physics/physics/sfcsub.F
../../ccpp-physics/physics/Interstitials/UFS_SCM_NEPTUNE/sfcsub.F
read_write_data.f90
utils.F90
land_increments.f90)
Expand Down
6 changes: 4 additions & 2 deletions sorc/global_cycle.fd/cycle.f90
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ SUBROUTINE SFCDRV(LUGB, IDIM,JDIM,LENSFC,LSOIL,DELTSFC, &
REAL :: VMNFCS(LENSFC), T2M(LENSFC)
REAL :: Q2M(LENSFC), SLPFCS(LENSFC)
REAL :: ABSFCS(LENSFC), OROG_UF(LENSFC)
REAL :: USTAR(LENSFC)
REAL :: USTAR(LENSFC), SOCFCS(LENSFC)
REAL :: FMM(LENSFC), FHH(LENSFC)
REAL :: RLA(LENSFC), RLO(LENSFC)
REAL(KIND=4) :: ZSOIL(LSOIL)
Expand Down Expand Up @@ -597,6 +597,8 @@ SUBROUTINE SFCDRV(LUGB, IDIM,JDIM,LENSFC,LSOIL,DELTSFC, &
endif
ENDDO

SOCFCS=0 ! Soil color. Not used yet.

num_threads = num_parthds()
PRINT*
PRINT*,"CALL SFCCYCLE TO UPDATE SURFACE FIELDS."
Expand All @@ -607,7 +609,7 @@ SUBROUTINE SFCDRV(LUGB, IDIM,JDIM,LENSFC,LSOIL,DELTSFC, &
VMNFCS,VMXFCS,SLPFCS,ABSFCS, &
TSFFCS,SWEFCS,ZORFCS,ALBFCS,TG3FCS, &
CNPFCS,SMCFCS,STCFCS,SLIFCS,AISFCS, &
VEGFCS,VETFCS,SOTFCS,ALFFCS, &
VEGFCS,VETFCS,SOTFCS,SOCFCS,ALFFCS, &
CVFCS,CVBFCS,CVTFCS,MYRANK,num_threads, NLUNIT, &
SZ_NML, INPUT_NML_FILE, &
min_ice, &
Expand Down

0 comments on commit 30e17b2

Please sign in to comment.