Changeset 3411 for LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm
- Timestamp:
- Nov 5, 2018, 3:24:59 PM (6 years ago)
- Location:
- LMDZ6/branches/DYNAMICO-conv
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/DYNAMICO-conv
- Property svn:mergeinfo changed
/LMDZ6/trunk removed
- Property svn:mergeinfo changed
-
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/aeropt_5wv_rrtm.F90
r3356 r3411 381 381 ALLOCATE (aerosol_name(nb_aer)) 382 382 aerosol_name(1) = id_CIDUSTM_phy 383 ELSEIF (flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7) THEN383 ELSEIF (flag_aerosol .EQ. 6) THEN 384 384 nb_aer = 13 385 385 ALLOCATE (aerosol_name(nb_aer)) -
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/aeropt_6bands_rrtm.F90
r3356 r3411 507 507 ALLOCATE (aerosol_name(nb_aer)) 508 508 aerosol_name(1) = id_CIDUSTM_phy 509 ELSEIF (flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7) THEN509 ELSEIF (flag_aerosol .EQ. 6) THEN 510 510 nb_aer = 13 511 511 ALLOCATE (aerosol_name(nb_aer)) -
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/aeropt_lw_rrtm.F90
-
Property
svn:executable
set to
*
r3356 r3411 46 46 IF (ok_alw) THEN !--aerosol LW effects 47 47 ! 48 IF (flag_aerosol.EQ.5.OR.flag_aerosol.EQ.6 .OR.flag_aerosol.EQ.7) THEN !-Dust48 IF (flag_aerosol.EQ.5.OR.flag_aerosol.EQ.6) THEN !-Dust 49 49 ! 50 50 zdh(:,:)=pdel(:,:)/(RG*zrho(:,:)) ! m -
Property
svn:executable
set to
-
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/readaerosol_optic_rrtm.F90
r3356 r3411 173 173 ! 174 174 ! Read and interpolate sulfate 175 IF ( flag_aerosol .EQ. 1 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7) THEN175 IF ( flag_aerosol .EQ. 1 .OR. flag_aerosol .EQ. 6 ) THEN 176 176 177 177 CALL readaerosol_interp(id_ASSO4M_phy, itap, pdtphys, rjourvrai, debut, pplay, paprs, t_seri, sulfacc, sulfacc_pi,loadso4) … … 182 182 183 183 ! Read and interpolate bcsol and bcins 184 IF ( flag_aerosol .EQ. 2 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7) THEN184 IF ( flag_aerosol .EQ. 2 .OR. flag_aerosol .EQ. 6 ) THEN 185 185 186 186 ! Get bc aerosol distribution … … 195 195 196 196 ! Read and interpolate pomsol and pomins 197 IF ( flag_aerosol .EQ. 3 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7) THEN197 IF ( flag_aerosol .EQ. 3 .OR. flag_aerosol .EQ. 6 ) THEN 198 198 199 199 CALL readaerosol_interp(id_ASPOMM_phy, itap, pdtphys, rjourvrai, debut, pplay, paprs, t_seri, pomsol, pomsol_pi, load_tmp3) … … 207 207 208 208 ! Read and interpolate csssm, ssssm, assssm 209 IF (flag_aerosol .EQ. 4 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7) THEN209 IF (flag_aerosol .EQ. 4 .OR. flag_aerosol .EQ. 6 ) THEN 210 210 211 211 CALL readaerosol_interp(id_SSSSM_phy ,itap, pdtphys,rjourvrai, & … … 224 224 225 225 ! Read and interpolate cidustm 226 IF (flag_aerosol .EQ. 5 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7) THEN226 IF (flag_aerosol .EQ. 5 .OR. flag_aerosol .EQ. 6 ) THEN 227 227 228 228 CALL readaerosol_interp(id_CIDUSTM_phy, itap, pdtphys, rjourvrai, debut, pplay, paprs, t_seri, cidust, cidust_pi, loaddust) … … 234 234 ! 235 235 ! Read and interpolate asno3m, csno3m, cino3m 236 IF (flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7) THEN236 IF (flag_aerosol .EQ. 6) THEN 237 237 238 238 CALL readaerosol_interp(id_ASNO3M_phy, itap, pdtphys, rjourvrai, & -
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/recmwf_aero.F90
r3356 r3411 24 24 !--end 25 25 & PFLUX,PFLUC,& 26 & PFSDN ,PFSUP , PFSCDN , PFSCUP, PFSCCDN, PFSCCUP, PFLCCDN, PFLCCUP,&26 & PFSDN ,PFSUP , PFSCDN , PFSCUP,& 27 27 !--OB diagnostics 28 28 & PTOPSWADAERO,PSOLSWADAERO,& … … 82 82 ! ok_ade---input-L- apply the Aerosol Direct Effect or not? 83 83 ! ok_aie---input-L- apply the Aerosol Indirect Effect or not? 84 ! flag_aerosol-input-I- aerosol flag from 0 to 784 ! flag_aerosol-input-I- aerosol flag from 0 to 6 85 85 ! flag_aerosol_strat-input-I- use stratospheric aerosols flag (T/F) 86 86 ! PPIZA_NAT : (KPROMA,KLEV,NSW); Single scattering albedo of natural aerosol … … 110 110 ! PFSCDN(KPROMA,KLEV+1) ; SW clear sky flux down 111 111 ! PFSCUP(KPROMA,KLEV+1) ; SW clear sky flux up 112 ! PFSCCDN(KPROMA,KLEV+1) ; SW clear sky clean (no aerosol) flux down113 ! PFSCCUP(KPROMA,KLEV+1) ; SW clear sky clean (no aerosol) flux up114 ! PFLCCDN(KPROMA,KLEV+1) ; LW clear sky clean (no aerosol) flux down115 ! PFLCCUP(KPROMA,KLEV+1) ; LW clear sky clean (no aerosol) flux up116 112 117 113 … … 156 152 USE YOERDI , ONLY : RRAE ,REPCLC ,REPH2O 157 153 USE YOMARPHY , ONLY : LRDUST 158 USE phys_output_mod, ONLY : swaero free_diag, swaero_diag154 USE phys_output_mod, ONLY : swaero_diag 159 155 160 156 !----------------------------------------------------------------------- … … 245 241 REAL(KIND=JPRB) ,INTENT(OUT) :: PFSCDN(KPROMA,KLEV+1) ! SW clear sky flux down 246 242 REAL(KIND=JPRB) ,INTENT(OUT) :: PFSCUP(KPROMA,KLEV+1) ! SW clear sky flux up 247 REAL(KIND=JPRB) ,INTENT(OUT) :: PFSCCDN(KPROMA,KLEV+1) ! SW clear sky clean (no aerosol) flux down248 REAL(KIND=JPRB) ,INTENT(OUT) :: PFSCCUP(KPROMA,KLEV+1) ! SW clear sky clean (no aerosol) flux up249 REAL(KIND=JPRB) ,INTENT(OUT) :: PFLCCDN(KPROMA,KLEV+1) ! LW clear sky clean (no aerosol) flux down250 REAL(KIND=JPRB) ,INTENT(OUT) :: PFLCCUP(KPROMA,KLEV+1) ! LW clear sky clean (no aerosol) flux up251 243 252 244 ! ==== COMPUTED IN RADITE === … … 615 607 616 608 ! case with no aerosols at all is also computed IF ACTIVEFEEDBACK_ACTIVE is false 617 IF (.not. AEROSOLFEEDBACK_ACTIVE .OR. flag_aerosol .EQ. 0 .OR. swaerofree_diag) THEN 609 !IF (swaero_diag .OR. .not. AEROSOLFEEDBACK_ACTIVE .OR. flag_aerosol .EQ. 0 ) THEN 610 IF (.not. AEROSOLFEEDBACK_ACTIVE .OR. flag_aerosol .EQ. 0 ) THEN 618 611 619 612 ! ZERO aerosol effect … … 782 775 ENDIF 783 776 784 IF (swaerofree_diag) THEN785 ! copy shortwave clear-sky clean (no aerosol) case786 PFSCCUP(:,:) = ZFSUP0_AERO(:,:,5)787 PFSCCDN(:,:) = ZFSDN0_AERO(:,:,5)788 ! copy longwave clear-sky clean (no aerosol) case789 PFLCCUP(:,:) = LWUP0_AERO(:,:,5)790 PFLCCDN(:,:) = LWDN0_AERO(:,:,5)791 ENDIF792 793 777 !OB- HERE CHECK WITH MP IF BOTTOM AND TOP INDICES ARE OK !!!!!!!!!!!!!!!!!! 794 778 ! net anthropogenic forcing direct and 1st indirect effect diagnostics -
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/suecrad.F90
r3356 r3411 681 681 ! CALL GSTATS(667,0) MPL 2.12.08 682 682 IF( NPROC > 1 )THEN 683 stop 683 stop'Pas pret pour proc > 1' 684 684 ! CALL MPL_BROADCAST (RADGRID%NDGLG,MTAGRAD,JPIOMASTER,CDSTRING='SUECRAD:') 685 685 ENDIF … … 689 689 ENDIF 690 690 IF( NPROC > 1 )THEN 691 stop 691 stop'Pas pret pour proc > 1' 692 692 ! CALL MPL_BROADCAST (RADGRID%NRGRI(1:RADGRID%NDGLG),MTAGRAD,JPIOMASTER,CDSTRING='SUECRAD:') 693 693 ENDIF … … 864 864 WRITE(NULOUT,'("RADGRID,BEGIN")') 865 865 IF( MYPROC /= 1 )THEN 866 stop 866 stop'Pas pret pour proc > 1' 867 867 ! CALL MPL_SEND(RADGRID%NGPTOT,KDEST=NPRCIDS(1),KTAG=1,CDSTRING='SUECRAD.R') 868 868 ! CALL MPL_SEND(ZLATX(1:RADGRID%NGPTOT),KDEST=NPRCIDS(1),KTAG=2,CDSTRING='SUECRAD.R') … … 876 876 ENDDO 877 877 ELSE 878 stop 878 stop'Pas pret pour proc > 1' 879 879 ! CALL MPL_RECV(IGPTOT,KSOURCE=NPRCIDS(JROC),KTAG=1,CDSTRING='SUECRAD.M') 880 880 ! CALL MPL_RECV(ZLATX(1:IGPTOT),KSOURCE=NPRCIDS(JROC),KTAG=2,CDSTRING='SUECRAD.M') … … 904 904 WRITE(NULOUT,'("MODELGRID,BEGIN")') 905 905 IF( MYPROC /= 1 )THEN 906 stop 906 stop'Pas pret pour proc > 1' 907 907 ! CALL MPL_SEND(NGPTOT,KDEST=NPRCIDS(1),KTAG=1,CDSTRING='SUECRAD') 908 908 ! CALL MPL_SEND(ZLATX(1:NGPTOT),KDEST=NPRCIDS(1),KTAG=2,CDSTRING='SUECRAD') … … 917 917 ENDDO 918 918 ELSE 919 stop 919 stop'Pas pret pour proc > 1' 920 920 ! CALL MPL_RECV(IGPTOT,KSOURCE=NPRCIDS(JROC),KTAG=1,CDSTRING='SUECRAD') 921 921 ! CALL MPL_RECV(ZLATX(1:IGPTOT),KSOURCE=NPRCIDS(JROC),KTAG=2,CDSTRING='SUECRAD') … … 1166 1166 IWIDE(10)=NAROB1 1167 1167 IF( MYPROC /= 1 )THEN 1168 stop 1168 stop'Pas pret pour proc > 1' 1169 1169 ! CALL MPL_SEND(IWIDE(1:10),KDEST=NPRCIDS(1),KTAG=1,CDSTRING='SUECRAD.W') 1170 1170 ENDIF … … 1172 1172 DO JROC=1,NPROC 1173 1173 IF( JROC /= MYPROC )THEN 1174 stop 1174 stop'Pas pret pour proc > 1' 1175 1175 ! CALL MPL_RECV(IWIDE(1:10),KSOURCE=NPRCIDS(JROC),KTAG=1,CDSTRING='SUECRAD.W') 1176 1176 ENDIF -
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/susw15.F90
r3356 r3411 58 58 59 59 IMPLICIT NONE 60 REAL(KIND=JPRB) ,SAVE:: ZPDH2O=0.8_JPRB61 REAL(KIND=JPRB) ,SAVE:: ZPDUMG=0.75_JPRB62 REAL(KIND=JPRB) ,SAVE:: ZPRH2O=30000._JPRB63 REAL(KIND=JPRB) ,SAVE:: ZPRUMG=30000._JPRB60 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 64 65 65 !$OMP THREADPRIVATE(zpdh2o,zpdumg,zprh2o,zprumg)
Note: See TracChangeset
for help on using the changeset viewer.