Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | conn | |||
real(kind=dp), | intent(in) | :: | da9 | |||
real(kind=dp), | intent(in) | :: | er | |||
real(kind=dp), | intent(out) | :: | yon |
subroutine river_route_nitrate(conn, da9, er, yon)
!**** PURPOSE: THIS SUBROUTINE CALCULATES ORGANIC N ROUTING
!**** CALLED IN: ROUTE
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
! PARAMETERS & VARIABLES
!
! >>>>> COMMON PARAMETERS & VARIABLES
! conn = xnorg * er, g/t: N org. in I layer for subbasin,
! corrected for enrichment
! da9 = drainage area, ha
! er = enrichment coefficient
! ydi = yd, daily soil loss caused by water erosion, t,
! in route before call rtsed
! yon = org N loss with erosion, kg/ha, routed
! >>>>>
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!**** Include common parameters
real(dp), intent(in) :: conn
real(dp), intent(in) :: da9
real(dp), intent(in) :: er
real(dp), intent(out) :: yon
yon = .001 * conn * er * ydi / da9
return
end subroutine river_route_nitrate