- Timestamp:
- Apr 28, 2009, 6:33:49 PM (16 years ago)
- Location:
- LMDZ4/branches/LMDZ4-dev/libf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4-dev/libf/dyn3d/etat0_netcdf.F
r1140 r1151 126 126 logical :: ok_journe, ok_mensuel, ok_instan, ok_hf 127 127 logical :: ok_LES 128 LOGICAL :: ok_ade, ok_aie, aerosol_couple 128 LOGICAL :: ok_ade, ok_aie, aerosol_couple, new_aod 129 INTEGER :: flag_aerosol 129 130 REAL :: bl95_b0, bl95_b1 130 131 real :: fact_cldcon, facttemps,ratqsbas,ratqshaut … … 169 170 & iflag_ratqs,ratqsbas,ratqshaut, & 170 171 & ok_ade, ok_aie, aerosol_couple, & 172 & flag_aerosol, new_aod, & 171 173 & bl95_b0, bl95_b1, & 172 174 & iflag_thermals,nsplit_thermals,tau_thermals, & -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/etat0_netcdf.F
r1140 r1151 127 127 logical :: ok_journe, ok_mensuel, ok_instan, ok_hf 128 128 logical :: ok_LES 129 LOGICAL :: ok_ade, ok_aie, aerosol_couple 129 LOGICAL :: ok_ade, ok_aie, aerosol_couple, new_aod 130 INTEGER :: flag_aerosol 130 131 REAL :: bl95_b0, bl95_b1 131 132 real :: fact_cldcon, facttemps,ratqsbas,ratqshaut … … 169 170 & iflag_ratqs,ratqsbas,ratqshaut, & 170 171 & ok_ade, ok_aie, aerosol_couple, & 172 & flag_aerosol, new_aod, & 171 173 & bl95_b0, bl95_b1, & 172 174 & iflag_thermals,nsplit_thermals,tau_thermals, & -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/readaerosol.F90
r1150 r1151 143 143 WRITE(lunout,*) 'get_aero iyr=', iyr,' ',cyear 144 144 CALL get_aero_fromfile(cyear, var_1, name_aero(id_aero)) 145 ELSE 146 ! Read in data:145 146 ELSE ! Read data from 2 decades 147 147 ! a) from actual 10-yr-period 148 148 IF (iyr.LT.1900) THEN … … 159 159 WRITE(cyear,'(I4)') iyr1 160 160 WRITE(lunout,*) 'get_aero iyr=', iyr,' ',cyear 161 162 161 CALL get_aero_fromfile(cyear, var_1, name_aero(id_aero)) 163 162 164 ENDIF165 ! If to read two decades:166 IF (.NOT.lonlyone) THEN167 168 ! b) from the next following one169 WRITE(cyear,'(I4)') iyr2170 WRITE(lunout,*) 'get_aero iyr=', iyr,' ',cyear171 172 CALL get_aero_fromfile(cyear, var_2, name_aero(id_aero))173 174 ! Interpolate linarily to the actual year:175 DO it=1,12176 DO k=1,klev177 DO j=1,jjm178 DO i=1,iim179 var_1(i,j,k,it) =&180 var_1(i,j,k,it) - FLOAT(iyr-iyr1)/FLOAT(iyr2-iyr1) * &181 (var_1(i,j,k,it) - var_2(i,j,k,it))163 ! If to read two decades: 164 IF (.NOT.lonlyone) THEN 165 166 ! b) from the next following one 167 WRITE(cyear,'(I4)') iyr2 168 WRITE(lunout,*) 'get_aero iyr=', iyr,' ',cyear 169 170 CALL get_aero_fromfile(cyear, var_2, name_aero(id_aero)) 171 172 ! Interpolate linarily to the actual year: 173 DO it=1,12 174 DO k=1,klev 175 DO j=1,jjm 176 DO i=1,iim 177 var_1(i,j,k,it) = & 178 var_1(i,j,k,it) - FLOAT(iyr-iyr1)/FLOAT(iyr2-iyr1) * & 179 (var_1(i,j,k,it) - var_2(i,j,k,it)) 180 ENDDO 182 181 ENDDO 183 182 ENDDO 184 183 ENDDO 185 ENDDO186 184 187 ENDIF !lonlyone 185 ENDIF ! lonlyone 186 ENDIF ! iyr .LT. 1850 188 187 ENDIF ! aer_type 189 188
Note: See TracChangeset
for help on using the changeset viewer.