Changeset 784 for trunk/LMDZ.MARS/libf/phymars/aeroptproperties.F
- Timestamp:
- Sep 17, 2012, 4:13:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/aeroptproperties.F
r737 r784 179 179 180 180 LOGICAL,SAVE :: out_qwg = .false. 181 INTEGER, PARAMETER :: out_iaer = 1 181 INTEGER, PARAMETER :: out_iaer = 2 182 INTEGER :: out_ndim 182 183 REAL :: out_qext(ngridmx,nlayermx) 183 184 REAL :: out_omeg(ngridmx,nlayermx) … … 1183 1184 c=====Radiative properties - TESTS================================= 1184 1185 IF (out_qwg) THEN 1185 IF (ngrid.NE.1) THEN 1186 c ------------------------------------------------------------- 1187 IF (ngrid.NE.1) THEN 1188 out_ndim = 3 1189 ELSE 1190 out_ndim = 1 1191 ENDIF 1192 c ------------------------------------------------------------- 1186 1193 DO out_nchannel = 1, 2 1187 1194 c ------------------------------------------------------------- … … 1198 1205 write(out_str(1:1),'(i1.1)') out_nchannel 1199 1206 call WRITEDIAGFI(ngrid,'qextvis'//out_str,"Ext.efficiency","", 1200 & 3,out_qext)1207 & out_ndim,out_qext) 1201 1208 call WRITEDIAGFI(ngrid,'omegvis'//out_str,"Sing.Scat.Alb.","", 1202 & 3,out_omeg)1209 & out_ndim,out_omeg) 1203 1210 call WRITEDIAGFI(ngrid,'gvis'//out_str,"Asym.Factor","", 1204 & 3,out_g)1211 & out_ndim,out_g) 1205 1212 c ------------------------------------------------------------- 1206 1213 ENDDO ! out_nchannel … … 1219 1226 write(out_str(1:1),'(i1.1)') out_nchannel 1220 1227 call WRITEDIAGFI(ngrid,'qextir'//out_str,"Ext.efficiency","", 1221 & 3,out_qext)1228 & out_ndim,out_qext) 1222 1229 call WRITEDIAGFI(ngrid,'omegir'//out_str,"Sing.Scat.Alb.","", 1223 & 3,out_omeg)1230 & out_ndim,out_omeg) 1224 1231 call WRITEDIAGFI(ngrid,'gir'//out_str,"Asym.Factor","", 1225 & 3,out_g)1232 & out_ndim,out_g) 1226 1233 c ------------------------------------------------------------- 1227 1234 ENDDO ! out_nchannel 1228 1235 call WRITEDIAGFI(ngrid,"omegvisref","Sing.Scat.Alb.","", 1229 & 3,omegaREFvis3d(1,1,out_iaer))1236 & out_ndim,omegaREFvis3d(1,1,out_iaer)) 1230 1237 call WRITEDIAGFI(ngrid,"omegirref","Sing.Scat.Alb.","", 1231 & 3,omegaREFir3d(1,1,out_iaer)) 1232 ENDIF ! ngrid.EQ.1 1238 & out_ndim,omegaREFir3d(1,1,out_iaer)) 1233 1239 ENDIF ! out_qwg 1234 1240 c==================================================================
Note: See TracChangeset
for help on using the changeset viewer.