Skip to content

Commit 4dcc1ae

Browse files
committed
Style unit comments
1 parent bb60a35 commit 4dcc1ae

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/gpp_biomee.mod.f90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ subroutine gpp( forcing, vegn )
149149
rad_net = f_light(cc%layer) * forcing%radiation * 0.9 ! net radiation absorbed by the canopy, W/m2
150150
p_surf = forcing%P_air ! Pa
151151
TairK = forcing%TairK ! K
152-
TairC = forcing%TairC ! degC
152+
TairC = forcing%TairC ! deg C
153153
cana_q = (calc_esat(TairC) * forcing%RH * h2o_molmass) / (p_surf * kMa) ! air specific humidity, kg/kg
154154
cana_co2 = forcing%CO2 ! co2 concentration in canopy air space, mol CO2/mol dry air
155155

@@ -520,14 +520,14 @@ function qscomp(T, p) result(qsat)
520520
!--------Output
521521
real :: qsat ! Output type: saturated specific humidity, kg/kg
522522
!--------Inputs
523-
real :: T ! temperature, degK
523+
real :: T ! temperature, K
524524
real :: p ! pressure, Pa
525525
!--------local var
526526
real :: myesat ! sat. water vapor pressure
527-
real :: Temp ! degC
527+
real :: Temp ! deg C
528528

529529
! calculate saturated specific humidity
530-
Temp = T - 273.16 ! degC
530+
Temp = T - 273.16 ! deg C
531531
myesat=MIN(610.78*exp(17.27*Temp/(Temp+237.3)), p) ! Pa
532532
qsat = 0.622*myesat /(p - 0.378*myesat )
533533

src/photosynth_pmodel.mod.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function pmodel( kphio, beta, kc_jmax, ppfd, co2, tc, vpd, patm, tc_home, c4, me
164164
! XXX PMODEL_TEST: ok
165165
! print*,'kmm: ', kmm
166166

167-
! viscosity correction factor = viscosity( temp, press )/viscosity( 25 degC, 1013.25 Pa)
167+
! viscosity correction factor = viscosity( temp, press )/viscosity( 25 deg C, 1013.25 Pa)
168168
ns = calc_viscosity_h2o( tc, patm ) ! Pa s
169169
ns25 = calc_viscosity_h2o( 25.0, kPo ) ! Pa s
170170
ns_star = ns / ns25 ! (unitless)

src/sofunutils.mod.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ end function calc_patm
144144
pure function calc_esat(T) result( out_esat ) ! pressure, Pa
145145
implicit none
146146
real :: out_esat
147-
real, intent(in) :: T ! degC
147+
real, intent(in) :: T ! deg C
148148

149149
out_esat=610.78*exp(17.27*T/(T+237.3))
150150

src/vegetation_processes_biomee.mod.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ subroutine plant_respiration( cc, tairK )
8181
! Adopted from BiomeE-Allcation.
8282
!----------------------------------------------------------------------
8383
type(cohort_type), intent(inout) :: cc
84-
real, intent(in) :: tairK ! degK
84+
real, intent(in) :: tairK ! K
8585
real :: tf, tfs ! thermal inhibition factors for above- and below-ground biomass
8686
real :: r_stem, r_root
8787
real :: Acambium ! cambium area, m2/tree

0 commit comments

Comments
 (0)