Changeset 3356 for LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm
- Timestamp:
- Jun 29, 2018, 12:31:11 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/branches/DYNAMICO-conv/libf/phylmd/rrtm/aeropt_5wv_rrtm.F90
r2951 r3356 381 381 ALLOCATE (aerosol_name(nb_aer)) 382 382 aerosol_name(1) = id_CIDUSTM_phy 383 ELSEIF (flag_aerosol .EQ. 6 ) THEN383 ELSEIF (flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) THEN 384 384 nb_aer = 13 385 385 ALLOCATE (aerosol_name(nb_aer)) -
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/aeropt_6bands_rrtm.F90
r2842 r3356 507 507 ALLOCATE (aerosol_name(nb_aer)) 508 508 aerosol_name(1) = id_CIDUSTM_phy 509 ELSEIF (flag_aerosol .EQ. 6 ) THEN509 ELSEIF (flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) 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 deleted
r2748 r3356 46 46 IF (ok_alw) THEN !--aerosol LW effects 47 47 ! 48 IF (flag_aerosol.EQ.5.OR.flag_aerosol.EQ.6 ) THEN !-Dust48 IF (flag_aerosol.EQ.5.OR.flag_aerosol.EQ.6.OR.flag_aerosol.EQ.7) THEN !-Dust 49 49 ! 50 50 zdh(:,:)=pdel(:,:)/(RG*zrho(:,:)) ! m -
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/readaerosol_optic_rrtm.F90
r2953 r3356 173 173 ! 174 174 ! Read and interpolate sulfate 175 IF ( flag_aerosol .EQ. 1 .OR. flag_aerosol .EQ. 6 ) THEN175 IF ( flag_aerosol .EQ. 1 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) 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 ) THEN184 IF ( flag_aerosol .EQ. 2 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) 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 ) THEN197 IF ( flag_aerosol .EQ. 3 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) 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 ) THEN209 IF (flag_aerosol .EQ. 4 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) 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 ) THEN226 IF (flag_aerosol .EQ. 5 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) 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 ) THEN236 IF (flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) THEN 237 237 238 238 CALL readaerosol_interp(id_ASNO3M_phy, itap, pdtphys, rjourvrai, & -
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/recmwf_aero.F90
r2529 r3356 24 24 !--end 25 25 & PFLUX,PFLUC,& 26 & PFSDN ,PFSUP , PFSCDN , PFSCUP, &26 & PFSDN ,PFSUP , PFSCDN , PFSCUP, PFSCCDN, PFSCCUP, PFLCCDN, PFLCCUP,& 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 684 ! flag_aerosol-input-I- aerosol flag from 0 to 7 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 down 113 ! PFSCCUP(KPROMA,KLEV+1) ; SW clear sky clean (no aerosol) flux up 114 ! PFLCCDN(KPROMA,KLEV+1) ; LW clear sky clean (no aerosol) flux down 115 ! PFLCCUP(KPROMA,KLEV+1) ; LW clear sky clean (no aerosol) flux up 112 116 113 117 … … 152 156 USE YOERDI , ONLY : RRAE ,REPCLC ,REPH2O 153 157 USE YOMARPHY , ONLY : LRDUST 154 USE phys_output_mod, ONLY : swaero _diag158 USE phys_output_mod, ONLY : swaerofree_diag, swaero_diag 155 159 156 160 !----------------------------------------------------------------------- … … 241 245 REAL(KIND=JPRB) ,INTENT(OUT) :: PFSCDN(KPROMA,KLEV+1) ! SW clear sky flux down 242 246 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 down 248 REAL(KIND=JPRB) ,INTENT(OUT) :: PFSCCUP(KPROMA,KLEV+1) ! SW clear sky clean (no aerosol) flux up 249 REAL(KIND=JPRB) ,INTENT(OUT) :: PFLCCDN(KPROMA,KLEV+1) ! LW clear sky clean (no aerosol) flux down 250 REAL(KIND=JPRB) ,INTENT(OUT) :: PFLCCUP(KPROMA,KLEV+1) ! LW clear sky clean (no aerosol) flux up 243 251 244 252 ! ==== COMPUTED IN RADITE === … … 607 615 608 616 ! case with no aerosols at all is also computed IF ACTIVEFEEDBACK_ACTIVE is false 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 617 IF (.not. AEROSOLFEEDBACK_ACTIVE .OR. flag_aerosol .EQ. 0 .OR. swaerofree_diag) THEN 611 618 612 619 ! ZERO aerosol effect … … 775 782 ENDIF 776 783 784 IF (swaerofree_diag) THEN 785 ! copy shortwave clear-sky clean (no aerosol) case 786 PFSCCUP(:,:) = ZFSUP0_AERO(:,:,5) 787 PFSCCDN(:,:) = ZFSDN0_AERO(:,:,5) 788 ! copy longwave clear-sky clean (no aerosol) case 789 PFLCCUP(:,:) = LWUP0_AERO(:,:,5) 790 PFLCCDN(:,:) = LWDN0_AERO(:,:,5) 791 ENDIF 792 777 793 !OB- HERE CHECK WITH MP IF BOTTOM AND TOP INDICES ARE OK !!!!!!!!!!!!!!!!!! 778 794 ! net anthropogenic forcing direct and 1st indirect effect diagnostics -
LMDZ6/branches/DYNAMICO-conv/libf/phylmd/rrtm/suecrad.F90
r2627 r3356 681 681 ! CALL GSTATS(667,0) MPL 2.12.08 682 682 IF( NPROC > 1 )THEN 683 stop 'Pas pret pour proc > 1'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 'Pas pret pour proc > 1'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 'Pas pret pour proc > 1'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 'Pas pret pour proc > 1'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 'Pas pret pour proc > 1'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 'Pas pret pour proc > 1'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 'Pas pret pour proc > 1'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 'Pas pret pour proc > 1'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
r2010 r3356 58 58 59 59 IMPLICIT NONE 60 REAL(KIND=JPRB) :: ZPDH2O=0.8_JPRB61 REAL(KIND=JPRB) :: ZPDUMG=0.75_JPRB62 REAL(KIND=JPRB) :: ZPRH2O=30000._JPRB63 REAL(KIND=JPRB) :: ZPRUMG=30000._JPRB60 REAL(KIND=JPRB),SAVE :: ZPDH2O=0.8_JPRB 61 REAL(KIND=JPRB),SAVE :: ZPDUMG=0.75_JPRB 62 REAL(KIND=JPRB),SAVE :: ZPRH2O=30000._JPRB 63 REAL(KIND=JPRB),SAVE :: ZPRUMG=30000._JPRB 64 64 65 65 !$OMP THREADPRIVATE(zpdh2o,zpdumg,zprh2o,zprumg)
Note: See TracChangeset
for help on using the changeset viewer.