[38] | 1 | ! ---------------------------------------------------------------------- |
---|
| 2 | ! ----------------------------------------------------------------------- |
---|
| 3 | ! INCLUDE 'dimradmars.h' |
---|
| 4 | |
---|
| 5 | ! Declaration and initialisation or radiative transfer calculations |
---|
| 6 | !------------------------------------------------------------------------ |
---|
| 7 | !------------------------------------------------------------------------ |
---|
| 8 | |
---|
| 9 | ! nflev: number of vertical layer |
---|
| 10 | ! ndlon,ndlo2: number of horizontal points |
---|
| 11 | ! Splitting of horizontal grid |
---|
| 12 | ! NDLO2 et ndomainsz pour le decoupage de l'appel a la physique |
---|
| 13 | ! ATTENTION: Il faut 1 < ndomainsz =< ngridmx |
---|
| 14 | |
---|
| 15 | INTEGER NFLEV,NDLON,NDLO2,ndomainsz |
---|
| 16 | |
---|
[51] | 17 | ! parameter (ndomainsz=ngridmx) |
---|
| 18 | parameter (ndomainsz=(ngridmx-1)/20 + 1) |
---|
| 19 | ! parameter (ndomainsz=(ngridmx-1)/5 + 1) |
---|
[38] | 20 | |
---|
| 21 | parameter (NFLEV=nlayermx,NDLON=ndomainsz) ! avec decoupage |
---|
| 22 | parameter (NDLO2=NDLON) |
---|
| 23 | |
---|
[148] | 24 | ! Number of kind of tracer radiative properties |
---|
[38] | 25 | ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
[148] | 26 | ! naerkind is set in scatterers.h (built when compiling with makegcm -s #) |
---|
[38] | 27 | |
---|
[148] | 28 | #include"scatterers.h" |
---|
| 29 | ! NB: May have to change value of nsizemax below when changing scatterers |
---|
| 30 | |
---|
[38] | 31 | ! Reference wavelengths used to compute reference optical depth (m) |
---|
| 32 | ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 33 | |
---|
| 34 | REAL longrefir(naerkind),longrefvis(naerkind) |
---|
| 35 | |
---|
| 36 | REAL long1vis,long2vis,long3vis, long1ir,long2ir |
---|
| 37 | REAL long1co2,long2co2 |
---|
| 38 | REAL sunfr(2) |
---|
| 39 | integer nir, nuco2 |
---|
| 40 | INTEGER npademx,nabsmx,nt_pademx, NSUN |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | ! Definition of spectral intervals at thermal infrared wavelengths (LW) |
---|
| 44 | ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 45 | parameter (nir=4) ! Total number of thermal IR bands |
---|
| 46 | parameter (nuco2=2) ! number of bands in CO2 bands |
---|
| 47 | PARAMETER (long1ir=5.E-6 , long2ir=200.E-6) |
---|
| 48 | PARAMETER (long1co2=1.E+0 / 865.E+2 , long2co2=1.E+0 / 500.E+2) |
---|
| 49 | |
---|
| 50 | ! Warning : the "nir" thermal IR bands are not ordered by wavelength: |
---|
[330] | 51 | ! iir=1 : central 15um CO2 bands |
---|
[38] | 52 | ! iir=2 : CO2 band wings [long1co2-long2co2] MINUS central band |
---|
| 53 | ! iir=3 : 9 um band [long1ir - long1co2] |
---|
| 54 | ! iir=4 : Far IR [long2co2 - long2ir] |
---|
| 55 | |
---|
| 56 | ! Definition of spectral interval at solar wavelengths (SW) |
---|
| 57 | ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 58 | PARAMETER (NSUN=2) ! do not change that ! |
---|
| 59 | ! Boundaries of spectral intervals (m) : |
---|
| 60 | PARAMETER (long1vis=0.1E-6 , long2vis=0.5E-6 , long3vis=5.E-6) |
---|
| 61 | ! Fraction of solar energy in solar band #1 [long1vis-long2vis] |
---|
| 62 | DATA sunfr(1) / 0.274490 / |
---|
| 63 | ! Fraction of solar energy in solar band #2 [long2vis-long3vis] |
---|
| 64 | DATA sunfr(2) / 0.725509 / |
---|
| 65 | |
---|
| 66 | ! Maximum number of grain size classes |
---|
| 67 | ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 68 | ! This parameter has to be set to the maximum number of particle |
---|
| 69 | ! sizes contained in the optical parameter database; For example, |
---|
| 70 | ! if only one grain size is used to describe dust, and 30 are used |
---|
| 71 | ! to describe water-ice crystals in the visible and 15 in the IR, |
---|
| 72 | ! nsizemax has to be set to 30. |
---|
| 73 | ! If only one grain size is considered for all the aerosols, set |
---|
| 74 | ! this parameter to 1 and convolution will be turned off during |
---|
| 75 | ! the radiative calculations. |
---|
| 76 | |
---|
[147] | 77 | INTEGER, PARAMETER :: nsizemax = 60 |
---|
| 78 | ! INTEGER, PARAMETER :: nsizemax = 1 |
---|
[38] | 79 | |
---|
| 80 | ! Various initialisation for LW radiative code |
---|
| 81 | ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 82 | ! npademx : nombre de coef de pade |
---|
| 83 | ! nabsmx : ? |
---|
| 84 | ! nt_pademx : nombre d'intervalles de temperature pour pade |
---|
| 85 | |
---|
| 86 | PARAMETER (npademx=4,nabsmx=2,nt_pademx=19) |
---|