[1989] | 1 | !OPTIONS XOPT(NOEVAL) |
---|
| 2 | SUBROUTINE SUSW15 |
---|
| 3 | |
---|
| 4 | !**** *SUSW15* - INITIALIZE COMMON YOMSW15 |
---|
| 5 | !**** FROZEN VERSION (CYCLE 15) OF SUSW |
---|
| 6 | |
---|
| 7 | ! PURPOSE. |
---|
| 8 | ! -------- |
---|
| 9 | ! INITIALIZE YOMSW15, THE COMMON THAT CONTAINS COEFFICIENTS |
---|
| 10 | ! NEEDED TO RUN THE SHORTWAVE RADIATION SUBROUTINES |
---|
| 11 | |
---|
| 12 | !** INTERFACE. |
---|
| 13 | ! ---------- |
---|
| 14 | ! *CALL* *SUSW15 |
---|
| 15 | |
---|
| 16 | ! EXPLICIT ARGUMENTS : |
---|
| 17 | ! -------------------- |
---|
| 18 | ! NONE |
---|
| 19 | |
---|
| 20 | ! IMPLICIT ARGUMENTS : |
---|
| 21 | ! -------------------- |
---|
| 22 | ! COMMON YOMSW15 |
---|
| 23 | |
---|
| 24 | ! METHOD. |
---|
| 25 | ! ------- |
---|
| 26 | ! SEE DOCUMENTATION |
---|
| 27 | |
---|
| 28 | ! EXTERNALS. |
---|
| 29 | ! ---------- |
---|
| 30 | |
---|
| 31 | ! REFERENCE. |
---|
| 32 | ! ---------- |
---|
| 33 | ! ECMWF RESEARCH DEPARTMENT DOCUMENTATION OF THE IFS |
---|
| 34 | |
---|
| 35 | ! AUTHOR. |
---|
| 36 | ! ------- |
---|
| 37 | ! 96-11: Ph. Dandin. Meteo-France |
---|
| 38 | ! ORIGINAL : 88-12-15 BY JEAN-JACQUES MORCRETTE *ECMWF* |
---|
| 39 | |
---|
| 40 | ! MODIFICATIONS. |
---|
| 41 | ! -------------- |
---|
| 42 | ! M.Hamrud 01-Oct-2003 CY28 Cleaning |
---|
| 43 | |
---|
| 44 | ! ------------------------------------------------------------------ |
---|
| 45 | |
---|
| 46 | USE PARKIND1 ,ONLY : JPIM ,JPRB |
---|
| 47 | USE YOMHOOK ,ONLY : LHOOK, DR_HOOK |
---|
| 48 | |
---|
| 49 | USE YOMCST , ONLY : RG |
---|
| 50 | USE YOMSW15 , ONLY : APAD15 ,BPAD15 ,RRAY15 ,RSUN15 ,& |
---|
| 51 | & RPDH115 ,RPDU115 ,RPNH15 ,RPNU15 ,RSWCE15 ,& |
---|
| 52 | & RSWCP15 ,RTDH2O15 ,RTDUMG15 ,RTH2O15 ,RTUMG15 ,D15 |
---|
| 53 | |
---|
| 54 | ! ---------------------------------------------------------------- |
---|
| 55 | |
---|
| 56 | !* 1. SET VALUES. |
---|
| 57 | ! ----------- |
---|
| 58 | |
---|
| 59 | IMPLICIT NONE |
---|
| 60 | REAL(KIND=JPRB) :: ZPDH2O=0.8_JPRB |
---|
| 61 | REAL(KIND=JPRB) :: ZPDUMG=0.75_JPRB |
---|
| 62 | REAL(KIND=JPRB) :: ZPRH2O=30000._JPRB |
---|
| 63 | REAL(KIND=JPRB) :: ZPRUMG=30000._JPRB |
---|
| 64 | |
---|
| 65 | REAL(KIND=JPRB) :: ZH2O, ZUMG |
---|
| 66 | REAL(KIND=JPRB) :: ZHOOK_HANDLE |
---|
| 67 | |
---|
| 68 | IF (LHOOK) CALL DR_HOOK('SUSW15',0,ZHOOK_HANDLE) |
---|
| 69 | RPDH115=ZPDH2O+1.0_JPRB |
---|
| 70 | RPDU115=ZPDUMG+1.0_JPRB |
---|
| 71 | ZH2O=1.0_JPRB/( 10._JPRB* RG * RPDH115 ) |
---|
| 72 | ZUMG=1.0_JPRB/( 10._JPRB* RG * RPDU115 ) |
---|
| 73 | RPNU15 = ZUMG/(ZPRUMG**ZPDUMG) |
---|
| 74 | RPNH15 = ZH2O/(ZPRH2O**ZPDH2O) |
---|
| 75 | |
---|
| 76 | RSWCP15=0.002_JPRB*RSWCE15 |
---|
| 77 | |
---|
| 78 | RTDH2O15 = 0.40_JPRB |
---|
| 79 | RTDUMG15 = 0.375_JPRB |
---|
| 80 | RTH2O15 = 240._JPRB |
---|
| 81 | RTUMG15 = 240._JPRB |
---|
| 82 | RSWCE15 = 0._JPRB |
---|
| 83 | RSWCP15 = 0._JPRB |
---|
| 84 | |
---|
| 85 | RSUN15(1) = 0.441676_JPRB |
---|
| 86 | D15(1,:) = (/ 0.00_JPRB, 0.00_JPRB, 0.00_JPRB /) |
---|
| 87 | !* DERIVED FROM HITRAN APRIL 1991 |
---|
| 88 | ! H2O: Pref=300 hPa, Tref=240K, Pdep=0.8 |
---|
| 89 | ! O3 : unchanged |
---|
| 90 | |
---|
| 91 | APAD15(1,1:3,1:7) = RESHAPE((/& |
---|
| 92 | & 0.912418292E+05_JPRB, 0.000000000E-00_JPRB, 0.925887084E-04_JPRB,& |
---|
| 93 | & 0.723613782E+05_JPRB, 0.000000000E-00_JPRB, 0.129353723E-01_JPRB,& |
---|
| 94 | & 0.596037057E+04_JPRB, 0.000000000E-00_JPRB, 0.800821928E+00_JPRB,& |
---|
| 95 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.242715973E+02_JPRB,& |
---|
| 96 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.878331486E+02_JPRB,& |
---|
| 97 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.191559725E+02_JPRB,& |
---|
| 98 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.000000000E+00_JPRB /)& |
---|
| 99 | & ,(/3,7/)) |
---|
| 100 | |
---|
| 101 | BPAD15(1,1:3,1:7) = RESHAPE((/& |
---|
| 102 | & 0.912418292E+05_JPRB, 0.000000000E-00_JPRB, 0.925887084E-04_JPRB,& |
---|
| 103 | & 0.724555318E+05_JPRB, 0.000000000E-00_JPRB, 0.131812683E-01_JPRB,& |
---|
| 104 | & 0.602593328E+04_JPRB, 0.000000000E-00_JPRB, 0.812706117E+00_JPRB,& |
---|
| 105 | & 0.100000000E+01_JPRB, 0.000000000E-00_JPRB, 0.249863591E+02_JPRB,& |
---|
| 106 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.931071925E+02_JPRB,& |
---|
| 107 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.252233437E+02_JPRB,& |
---|
| 108 | & 0.000000000E-00_JPRB, 0.000000000E-00_JPRB, 0.100000000E+01_JPRB /)& |
---|
| 109 | & ,(/3,7/)) |
---|
| 110 | |
---|
| 111 | RRAY15(1,1:6) = (/& |
---|
| 112 | & .428937E-01_JPRB, .890743E+00_JPRB,-.288555E+01_JPRB,& |
---|
| 113 | & .522744E+01_JPRB,-.469173E+01_JPRB, .161645E+01_JPRB/) |
---|
| 114 | |
---|
| 115 | RSUN15(2) = 0.558324_JPRB |
---|
| 116 | |
---|
| 117 | D15(2,1:3) = (/ 0.000000000_JPRB, 0.000000000_JPRB, 0.800000000_JPRB /) |
---|
| 118 | |
---|
| 119 | !* INTERVAL 2: 0.68 - 4.00 MICRONS |
---|
| 120 | !* DERIVED FROM HITRAN APRIL 1991 |
---|
| 121 | ! H2O: Pref=300 hPa, Tref=240K, Pdep=0.80 |
---|
| 122 | ! UMG: Pref=300 hPa, Tref=240K, Pdep=0.75 (CO2+O2+CH4+N2O+CO) |
---|
| 123 | ! O3 : unchanged |
---|
| 124 | |
---|
| 125 | APAD15(2,1:3,1:7) = RESHAPE((/& |
---|
| 126 | & 0.376655383E-08_JPRB, 0.739646016E-08_JPRB, 0.410177786E+03_JPRB,& |
---|
| 127 | & 0.978576773E-04_JPRB, 0.131849595E-03_JPRB, 0.672595424E+02_JPRB,& |
---|
| 128 | & 0.387714006E+00_JPRB, 0.437772681E+00_JPRB, 0.000000000E-00_JPRB,& |
---|
| 129 | & 0.118461660E+03_JPRB, 0.151345118E+03_JPRB, 0.000000000E-00_JPRB,& |
---|
| 130 | & 0.119079797E+04_JPRB, 0.233628890E+04_JPRB, 0.000000000E-00_JPRB,& |
---|
| 131 | & 0.293353397E+03_JPRB, 0.797219934E+03_JPRB, 0.000000000E-00_JPRB,& |
---|
| 132 | & 0.000000000E+00_JPRB, 0.000000000E+00_JPRB, 0.000000000E+00_JPRB /)& |
---|
| 133 | & ,(/3,7/)) |
---|
| 134 | |
---|
| 135 | BPAD15(2,1:3,1:7) = RESHAPE((/& |
---|
| 136 | & 0.376655383E-08_JPRB, 0.739646016E-08_JPRB, 0.410177786E+03_JPRB,& |
---|
| 137 | & 0.979023421E-04_JPRB, 0.131861712E-03_JPRB, 0.731185438E+02_JPRB,& |
---|
| 138 | & 0.388611139E+00_JPRB, 0.437949001E+00_JPRB, 0.100000000E+01_JPRB,& |
---|
| 139 | & 0.120291383E+03_JPRB, 0.151692730E+03_JPRB, 0.000000000E+00_JPRB,& |
---|
| 140 | & 0.130531005E+04_JPRB, 0.237071130E+04_JPRB, 0.000000000E+00_JPRB,& |
---|
| 141 | & 0.415049409E+03_JPRB, 0.867914360E+03_JPRB, 0.000000000E+00_JPRB,& |
---|
| 142 | & 0.100000000E+01_JPRB, 0.100000000E+01_JPRB, 0.000000000E+00_JPRB /)& |
---|
| 143 | & ,(/3,7/)) |
---|
| 144 | |
---|
| 145 | RRAY15(2,1:6) = (/& |
---|
| 146 | & .697200E-02_JPRB, .173297E-01_JPRB,-.850903E-01_JPRB,& |
---|
| 147 | & .248261E+00_JPRB,-.302031E+00_JPRB, .129662E+00_JPRB/) |
---|
| 148 | IF (LHOOK) CALL DR_HOOK('SUSW15',1,ZHOOK_HANDLE) |
---|
| 149 | END SUBROUTINE SUSW15 |
---|