4 |
|
|
5 |
implicit none |
implicit none |
6 |
|
|
7 |
REAL co2_ppm ! concentration du gaz carbonique en ppmv |
REAL:: co2_ppm = 348. ! AMIP II, concentration du gaz carbonique en ppmv |
8 |
real solaire ! Constante solaire en W/m2 |
real:: solaire = 1365. ! AMIP II, constante solaire en W/m2 |
9 |
double precision RCO2 ! Concentration du CO2 |
double precision, save:: RCO2 ! Concentration du CO2 |
10 |
double precision RCH4 ! Concentration du CH4 |
double precision, save:: RCH4 ! Concentration du CH4 |
11 |
double precision RN2O ! Concentration du N2O |
double precision, save:: RN2O ! Concentration du N2O |
12 |
double precision RCFC11 ! Concentration du CFC11 |
double precision, save:: RCFC11 ! Concentration du CFC11 |
13 |
double precision RCFC12 ! Concentration du CFC12 |
double precision, save:: RCFC12 ! Concentration du CFC12 |
14 |
double precision CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt |
double precision:: CH4_ppb = 1650., N2O_ppb = 306. |
15 |
|
double precision:: CFC11_ppt = 280., CFC12_ppt = 484. |
16 |
! Simulateur ISCCP: |
REAL:: cdmmax = 1.3E-3, cdhmax = 1.1E-3 ! seuils cdrm, cdrh |
17 |
INTEGER top_height |
|
18 |
INTEGER overlap ! 1, 2 or 3 |
REAL:: ksta = 1.0e-10, ksta_ter = 1.0e-10 |
19 |
|
! param\`etres stabilit\'e sur terre et en dehors |
20 |
REAL cdmmax, cdhmax ! seuils cdrm, cdrh |
|
21 |
REAL ksta, ksta_ter ! paramètres stabilité sur terres et en dehors |
LOGICAL:: ok_kzmin = .true.! calcul Kzmin dans la couche limite de surface |
22 |
LOGICAL ok_kzmin ! calcul Kzmin dans la couche limite de surface |
INTEGER, save:: ecrit_ins |
23 |
|
logical:: ok_instan = .false. ! sorties instantanees dans le fichier histins |
24 |
INTEGER lev_histhf ! niveau sorties 6h |
|
25 |
! 4: histhf3d.nc champs 3d niveaux modele |
contains |
26 |
|
|
27 |
integer lev_histday ! niveau sorties journalieres |
subroutine read_clesphys |
28 |
! 3: champs 3D => F. Lott |
|
29 |
! 4: + champs sous-surfaces |
use unit_nml_m, only: unit_nml |
30 |
|
|
31 |
integer lev_histmth ! niveau sorties mensuelles |
namelist /clesphys_nml/ solaire, co2_ppm, CH4_ppb, N2O_ppb, CFC11_ppt, & |
32 |
! 3: albedo, rugosite sous-surfaces |
CFC12_ppt, cdmmax, cdhmax, ksta, ksta_ter, ok_kzmin, ecrit_ins, & |
33 |
! 4: champs tendances 3d |
ok_instan |
34 |
|
|
35 |
CHARACTER(len=4) type_run ! 'AMIP' ou 'ENSP' |
!--------------------------------------------------------- |
36 |
LOGICAL ok_isccp, ok_regdyn |
|
37 |
|
ecrit_ins = NINT(86400./48.) |
38 |
REAL lonmin_ins, lonmax_ins, latmin_ins, latmax_ins |
|
39 |
! longitude et latitude minimales et maximales pour la zone avec |
print *, "Enter namelist 'clesphys_nml'." |
40 |
! sorties instantanées tous les pas de temps de la physique, |
read(unit=*, nml=clesphys_nml) |
41 |
! fichier "histbilKP_ins.nc" |
write(unit_nml, nml=clesphys_nml) |
42 |
|
|
43 |
|
RCO2 = co2_ppm * 1.0e-06 * 44.011/28.97 |
44 |
|
RCH4 = CH4_ppb * 1.0E-09 * 16.043/28.97 |
45 |
|
RN2O = N2O_ppb * 1.0E-09 * 44.013/28.97 |
46 |
|
RCFC11=CFC11_ppt* 1.0E-12 * 137.3686/28.97 |
47 |
|
RCFC12 = CFC12_ppt * 1.0E-12 * 120.9140/28.97 |
48 |
|
|
49 |
|
print *, ' RCO2 = ', RCO2 |
50 |
|
print *, ' RCH4 = ', RCH4 |
51 |
|
print *, ' RN2O = ', RN2O |
52 |
|
print *, ' RCFC11 = ', RCFC11 |
53 |
|
print *, ' RCFC12 = ', RCFC12 |
54 |
|
|
55 |
INTEGER ecrit_ins, ecrit_hf, ecrit_hf2mth, ecrit_day |
end subroutine read_clesphys |
|
INTEGER ecrit_mth, ecrit_tra, ecrit_reg |
|
|
|
|
|
save |
|
56 |
|
|
57 |
end module clesphys |
end module clesphys |