Changeset 5092 for LMDZ6


Ignore:
Timestamp:
Jul 21, 2024, 1:04:08 PM (5 months ago)
Author:
abarral
Message:

Revert rrtm and ecrad to trunk (external sources)

Location:
LMDZ6/branches/Amaury_dev/libf/phylmd
Files:
18 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad.v1.5.1/radiation_scheme.F90

    r5082 r5092  
    654654! Compute UV fluxes as weighted sum of appropriate shortwave bands
    655655!AI ATTENTION
    656 if (0==1) then
     656if (0.eq.1) then
    657657PFLUX_UV       (KIDIA:KFDIA) = 0.0_JPRB
    658658DO JBAND = 1,NWEIGHT_UV
     
    690690!AI ATTENTION
    691691!IF (YRERAD%LAPPROXSWUPDATE) THEN
    692 if (0==1) then
     692if (0.eq.1) then
    693693IF (rad_config%do_surface_sw_spectral_flux) THEN
    694694  PSWDIFFUSEBAND(KIDIA:KFDIA,:) = 0.0_JPRB
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad.v1.5.1/readaerosol_optic_ecrad.F90

    r5082 r5092  
    161161     !
    162162     ! Read and interpolate sulfate
    163      IF ( flag_aerosol == 1 .OR. flag_aerosol == 6 .OR. flag_aerosol == 7 ) THEN
     163     IF ( flag_aerosol .EQ. 1 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) THEN
    164164
    165165        CALL readaerosol_interp(id_ASSO4M_phy, itap, pdtphys, rjourvrai, debut, pplay, paprs, t_seri, sulfacc, sulfacc_pi,loadso4)
     
    170170
    171171     ! Read and interpolate bcsol and bcins
    172      IF ( flag_aerosol == 2 .OR. flag_aerosol == 6 .OR. flag_aerosol == 7 ) THEN
     172     IF ( flag_aerosol .EQ. 2 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) THEN
    173173
    174174        ! Get bc aerosol distribution
     
    183183
    184184     ! Read and interpolate pomsol and pomins
    185      IF ( flag_aerosol == 3 .OR. flag_aerosol == 6 .OR. flag_aerosol == 7 ) THEN
     185     IF ( flag_aerosol .EQ. 3 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) THEN
    186186
    187187        CALL readaerosol_interp(id_ASPOMM_phy, itap, pdtphys, rjourvrai, debut, pplay, paprs, t_seri, pomsol, pomsol_pi, load_tmp3)
     
    195195
    196196     ! Read and interpolate csssm, ssssm, assssm
    197      IF (flag_aerosol == 4 .OR. flag_aerosol == 6 .OR. flag_aerosol == 7 ) THEN
     197     IF (flag_aerosol .EQ. 4 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) THEN
    198198
    199199        CALL readaerosol_interp(id_SSSSM_phy ,itap, pdtphys,rjourvrai, &
     
    212212
    213213     ! Read and interpolate cidustm
    214      IF (flag_aerosol == 5 .OR. flag_aerosol == 6 .OR. flag_aerosol == 7 ) THEN
     214     IF (flag_aerosol .EQ. 5 .OR. flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) THEN
    215215
    216216        CALL readaerosol_interp(id_CIDUSTM_phy, itap, pdtphys, rjourvrai, debut, pplay, paprs, t_seri, cidust, cidust_pi, loaddust)
     
    222222     !
    223223     ! Read and interpolate asno3m, csno3m, cino3m
    224      IF (flag_aerosol == 6 .OR. flag_aerosol == 7 ) THEN
     224     IF (flag_aerosol .EQ. 6 .OR. flag_aerosol .EQ. 7 ) THEN
    225225
    226226        CALL readaerosol_interp(id_ASNO3M_phy, itap, pdtphys, rjourvrai, &
Note: See TracChangeset for help on using the changeset viewer.