Changeset 420 for trunk/LMDZ.MARS/libf/phymars/aeropacity.F
- Timestamp:
- Nov 24, 2011, 9:54:55 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/aeropacity.F
r411 r420 442 442 443 443 c output for debug 444 IF (ngrid.NE.1) THEN445 CALL WRITEDIAGFI(ngridmx,'taudusttmp','virtual tau dust',446 & '#',2,taudusttmp)447 CALL WRITEDIAGFI(ngridmx,'tausca','tauscaling',448 & '#',2,tauscaling)449 ELSE450 CALL WRITEDIAGFI(ngridmx,'taudusttmp','virtual tau dust',451 & '#',0,taudusttmp)452 CALL WRITEDIAGFI(ngridmx,'tausca','tauscaling',453 & '#',0,tauscaling)454 ENDIF444 c IF (ngrid.NE.1) THEN 445 c CALL WRITEDIAGFI(ngridmx,'taudusttmp','virtual tau dust', 446 c & '#',2,taudusttmp) 447 c CALL WRITEDIAGFI(ngridmx,'tausca','tauscaling', 448 c & '#',2,tauscaling) 449 c ELSE 450 c CALL WRITEDIAGFI(ngridmx,'taudusttmp','virtual tau dust', 451 c & '#',0,taudusttmp) 452 c CALL WRITEDIAGFI(ngridmx,'tausca','tauscaling', 453 c & '#',0,tauscaling) 454 c ENDIF 455 455 c ----------------------------------------------------------------- 456 456 c Column integrated visible optical depth in each point … … 466 466 c Density scaled opacity and column opacity output 467 467 c ----------------------------------------------------------------- 468 dsodust(1:ngrid,1:nlayer) = 0.469 DO iaer=1,naerdust470 DO l=1,nlayermx471 DO ig=1,ngrid472 dsodust(ig,l) = dsodust(ig,l) +473 & aerosol(ig,l,iaerdust(iaer)) * g /474 & (pplev(ig,l) - pplev(ig,l+1))475 ENDDO476 ENDDO477 IF (ngrid.NE.1) THEN478 write(txt2,'(i1.1)') iaer479 call WRITEDIAGFI(ngridmx,'taudust'//txt2,480 & 'Dust col opacity',481 & ' ',2,tau(1,iaerdust(iaer)))482 IF (callstats) THEN483 CALL wstats(ngridmx,'taudust'//txt2,484 & 'Dust col opacity',485 & ' ',2,tau(1,iaerdust(iaer)))486 ENDIF487 ENDIF488 ENDDO489 490 IF (ngrid.NE.1) THEN468 c dsodust(1:ngrid,1:nlayer) = 0. 469 c DO iaer=1,naerdust 470 c DO l=1,nlayermx 471 c DO ig=1,ngrid 472 c dsodust(ig,l) = dsodust(ig,l) + 473 c & aerosol(ig,l,iaerdust(iaer)) * g / 474 c & (pplev(ig,l) - pplev(ig,l+1)) 475 c ENDDO 476 c ENDDO 477 c IF (ngrid.NE.1) THEN 478 c write(txt2,'(i1.1)') iaer 479 c call WRITEDIAGFI(ngridmx,'taudust'//txt2, 480 c & 'Dust col opacity', 481 c & ' ',2,tau(1,iaerdust(iaer))) 482 c IF (callstats) THEN 483 c CALL wstats(ngridmx,'taudust'//txt2, 484 c & 'Dust col opacity', 485 c & ' ',2,tau(1,iaerdust(iaer))) 486 c ENDIF 487 c ENDIF 488 c ENDDO 489 490 c IF (ngrid.NE.1) THEN 491 491 c CALL WRITEDIAGFI(ngridmx,'dsodust','tau*g/dp', 492 492 c & 'm2.kg-1',3,dsodust) 493 IF (callstats) THEN494 CALL wstats(ngridmx,'dsodust',495 & 'tau*g/dp',496 & 'm2.kg-1',3,dsodust)497 ENDIF498 ELSE499 CALL WRITEDIAGFI(ngrid,"dsodust","dsodust","m2.kg-1",1,500 & dsodust)501 ENDIF ! of IF (ngrid.NE.1)493 c IF (callstats) THEN 494 c CALL wstats(ngridmx,'dsodust', 495 c & 'tau*g/dp', 496 c & 'm2.kg-1',3,dsodust) 497 c ENDIF 498 c ELSE 499 c CALL WRITEDIAGFI(ngrid,"dsodust","dsodust","m2.kg-1",1, 500 c & dsodust) 501 c ENDIF ! of IF (ngrid.NE.1) 502 502 c ----------------------------------------------------------------- 503 503 return
Note: See TracChangeset
for help on using the changeset viewer.