Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | month |
subroutine time_process_month(month)
! ----------------------------------------------------------------------
use output, only : output_month
use vegetation, only : ialpha
use nutrient, only : &
degNgrw, &
degNsub, &
degNsur, &
degPsur, &
retNgrw, &
retNsub, &
retNsur, &
retPsur
use snow, only : bSnowModule
use soil, only : psp, rtn
use output, only : nsb, nvsub
use crop, only : icc, mfe
use evapotranspiration, only : pit, radiation_switch
use catchment, only : bSubcatch
integer, intent(in) :: month
mo = month
!ls** compute number of days of the month
if (mo .eq. 2) then
inday = nc(mo + 1) - nc(mo) - nt
else
inday = nc(mo + 1) - nc(mo)
endif
do iday = 1, inday
call time_process_day(month, iday)
end do
call output_month(iyr, month)
if (month .eq. 12) iyr = iyr + 1
call log_debug("time_process_month", "Completed month =", int=month)
return
end subroutine time_process_month