17 |
! Objet : interface entre le modèle et les rayonnements solaire et |
! Objet : interface entre le modèle et les rayonnements solaire et |
18 |
! infrarouge |
! infrarouge |
19 |
|
|
20 |
! ATTENTION: swai and swad have to be interpreted in the following manner: |
! ATTENTION: swad has to be interpreted in the following manner: |
21 |
|
! not ok_ade zero |
22 |
! not ok_ade |
! ok_ade aerosol direct forcing is F_{AD} = topsw - topswad |
|
! both are zero |
|
|
|
|
|
! ok_ade |
|
|
! aerosol direct forcing is F_{AD} = topsw - topswad |
|
|
! indirect is zero |
|
23 |
|
|
24 |
USE clesphys, ONLY: solaire |
USE clesphys, ONLY: solaire |
25 |
USE dimphy, ONLY: klev, klon |
USE dimphy, ONLY: klev, klon |
132 |
DOUBLE PRECISION zznormcp |
DOUBLE PRECISION zznormcp |
133 |
|
|
134 |
!jq the following quantities are needed for the aerosol radiative forcings |
!jq the following quantities are needed for the aerosol radiative forcings |
|
|
|
|
DOUBLE PRECISION PTAUA(kdlon, 2, klev) |
|
|
! present-day value of cloud opt thickness (PTAU is pre-industrial |
|
|
! value), local use |
|
|
|
|
|
DOUBLE PRECISION POMEGAA(kdlon, 2, klev) ! dito for single scatt albedo |
|
|
|
|
135 |
DOUBLE PRECISION ztopswad(kdlon), zsolswad(kdlon) |
DOUBLE PRECISION ztopswad(kdlon), zsolswad(kdlon) |
136 |
! Aerosol direct forcing at TOAand surface |
! Aerosol direct forcing at TOA and surface |
137 |
|
|
|
DOUBLE PRECISION ztopswai(kdlon), zsolswai(kdlon) ! dito, indirect |
|
138 |
real, parameter:: dobson_u = 2.1415e-05 ! Dobson unit, in kg m-2 |
real, parameter:: dobson_u = 2.1415e-05 ! Dobson unit, in kg m-2 |
139 |
|
|
140 |
!---------------------------------------------------------------------- |
!---------------------------------------------------------------------- |
195 |
POMEGA(i, 2, k) = 0.9988 - 2.5e-03 * EXP(-0.05 * PTAU(i, 2, k)) |
POMEGA(i, 2, k) = 0.9988 - 2.5e-03 * EXP(-0.05 * PTAU(i, 2, k)) |
196 |
PCG(i, 1, k) = 0.865 |
PCG(i, 1, k) = 0.865 |
197 |
PCG(i, 2, k) = 0.910 |
PCG(i, 2, k) = 0.910 |
|
|
|
|
! Introduced for aerosol indirect forcings. The |
|
|
! following values use the cloud optical thickness |
|
|
! calculated from present-day aerosol concentrations |
|
|
! whereas the quantities without the "A" at the end are |
|
|
! for pre-industial (natural-only) aerosol concentrations |
|
|
PTAUA(i, 1, k) = MAX(cldtaupd(iof+i, k), 1e-05) |
|
|
! (1e-12 serait instable) |
|
|
PTAUA(i, 2, k) = MAX(cldtaupd(iof+i, k), 1e-05) |
|
|
! (pour 32-bit machines) |
|
|
POMEGAA(i, 1, k) = 0.9999 - 5e-04 * EXP(-0.5 * PTAUA(i, 1, k)) |
|
|
POMEGAA(i, 2, k) = 0.9988 - 2.5e-03 * EXP(-0.05 * PTAUA(i, 2, k)) |
|
|
!jq-end |
|
198 |
ENDDO |
ENDDO |
199 |
ENDDO |
ENDDO |
200 |
|
|
218 |
CALL SW(PSCT, zrmu0, zfract, PPMB, PDP, PPSOL, PALBD, PALBP, PTAVE, & |
CALL SW(PSCT, zrmu0, zfract, PPMB, PDP, PPSOL, PALBD, PALBP, PTAVE, & |
219 |
PWV, PQS, POZON, PCLDSW, PTAU, POMEGA, PCG, zheat, zheat0, & |
PWV, PQS, POZON, PCLDSW, PTAU, POMEGA, PCG, zheat, zheat0, & |
220 |
zalbpla, ztopsw, zsolsw, ztopsw0, zsolsw0, ZFSUP, ZFSDN, ZFSUP0, & |
zalbpla, ztopsw, zsolsw, ztopsw0, zsolsw0, ZFSUP, ZFSDN, ZFSUP0, & |
221 |
ZFSDN0, ztopswad, zsolswad, ztopswai, zsolswai, ok_ade) |
ZFSDN0, ztopswad, zsolswad, ok_ade) |
222 |
|
|
223 |
DO i = 1, kdlon |
DO i = 1, kdlon |
224 |
radsol(iof+i) = zsolsw(i) + zsollw(i) |
radsol(iof+i) = zsolsw(i) + zsollw(i) |