Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion src/science/casa-cnp/biogeochem_casa.F90
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ SUBROUTINE biogeochem(ktau,dels,idoY,LALLOC,veg,soil,casabiome,casapool,casaflux
! zero annual sums
IF (idoy==1) CALL casa_cnpflux(casaflux,casapool,casabal,.TRUE.)

IF (cable_user%PHENOLOGY_SWITCH.EQ.'MODIS' .OR. cable_runtime%esm15 ) THEN
IF (cable_user%PHENOLOGY_SWITCH.EQ.'MODIS' ) THEN
CALL phenology(idoy,veg,phen)
ENDIF
CALL avgsoil(veg,soil,casamet)
Expand Down
4 changes: 1 addition & 3 deletions src/science/casa-cnp/casa_feedback.F90
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ SUBROUTINE casa_feedback( ktau, veg, casabiome, casapool, casamet )

integer np,ivt
real, dimension(mp) :: ncleafx,npleafx, pleafx, nleafx ! local variables
real, dimension(17) :: xnslope
data xnslope/0.80,1.00,2.00,1.00,1.00,1.00,0.50,1.00,0.34,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00/
REAL :: npleafx_coef

! first initialize
Expand Down Expand Up @@ -89,7 +87,7 @@ SUBROUTINE casa_feedback( ktau, veg, casabiome, casapool, casamet )

veg%vcmax(np) = ( casabiome%nintercept(ivt) &
+ casabiome%nslope(ivt) * npleafx_coef * ncleafx(np) &
/ casabiome%sla(ivt) ) * xnslope(ivt) * 1.0e-6
/ casabiome%sla(ivt) ) * 1.0e-6

END IF

Expand Down