Changeset 3606 for LMDZ5


Ignore:
Timestamp:
Nov 28, 2019, 5:07:28 PM (4 years ago)
Author:
acozic
Message:

several commit for branche IPSLCM5A2

  • comment a lot of write on infotrac
  • add initialization for variable pbl_tke (it's use before to be calculed)
  • comment condition to call aerosol_meteo_calc because this routine is now call by all inca version
  • add a condition on output write of od550aer, o865aer, ...loaddust (there are calculed by lmdz only when we work in new physic)
Location:
LMDZ5/branches/IPSLCM5A2.1/libf
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/IPSLCM5A2.1/libf/dyn3d_common/infotrac.F90

    r2567 r3606  
    562562
    563563
    564     WRITE(lunout,*) trim(modname),': Information stored in infotrac :'
    565     WRITE(lunout,*) trim(modname),': iadv  niadv tname  ttext :'
    566     DO iq=1,nqtot
    567        WRITE(lunout,*) iadv(iq),niadv(iq),&
    568        ' ',trim(tname(iq)),' ',trim(ttext(iq))
    569     END DO
     564!    WRITE(lunout,*) trim(modname),': Information stored in infotrac :'
     565!    WRITE(lunout,*) trim(modname),': iadv  niadv tname  ttext :'
     566!    DO iq=1,nqtot
     567!       WRITE(lunout,*) iadv(iq),niadv(iq),&
     568!       ' ',trim(tname(iq)),' ',trim(ttext(iq))
     569!    END DO
    570570
    571571!
     
    599599      if (tnom_transp(iq) == 'air') then
    600600        ! ceci est un traceur père
    601         WRITE(lunout,*) 'Le traceur',iq,', appele ',trim(tnom_0(iq)),', est un pere'
     601!        WRITE(lunout,*) 'Le traceur',iq,', appele ',trim(tnom_0(iq)),', est un pere'
    602602        nqperes=nqperes+1
    603603        iqpere(iq)=0
    604604      else !if (tnom_transp(iq) == 'air') then
    605605        ! ceci est un fils. Qui est son père?
    606         WRITE(lunout,*) 'Le traceur',iq,', appele ',trim(tnom_0(iq)),', est un fils'
     606!        WRITE(lunout,*) 'Le traceur',iq,', appele ',trim(tnom_0(iq)),', est un fils'
    607607        continu=.true.
    608608        ipere=1
     
    610610          if (tnom_transp(iq) == tnom_0(ipere)) then
    611611            ! Son père est ipere
    612             WRITE(lunout,*) 'Le traceur',iq,'appele ', &
    613       &          trim(tnom_0(iq)),' est le fils de ',ipere,'appele ',trim(tnom_0(ipere))
     612!            WRITE(lunout,*) 'Le traceur',iq,'appele ', &
     613!      &          trim(tnom_0(iq)),' est le fils de ',ipere,'appele ',trim(tnom_0(ipere))
    614614            nqfils(ipere)=nqfils(ipere)+1 
    615615            iqfils(nqfils(ipere),ipere)=iq
     
    619619            ipere=ipere+1
    620620            if (ipere.gt.nqtot) then
    621                 WRITE(lunout,*) 'Le traceur',iq,'appele ', &
    622       &          trim(tnom_0(iq)),', est orpelin.'
     621!                WRITE(lunout,*) 'Le traceur',iq,'appele ', &
     622!      &          trim(tnom_0(iq)),', est orpelin.'
    623623                CALL abort_gcm('infotrac_init','Un traceur est orphelin',1)
    624624            endif !if (ipere.gt.nqtot) then
     
    627627      endif !if (tnom_transp(iq) == 'air') then
    628628    enddo !DO iq=1,nqtot
    629     WRITE(lunout,*) 'infotrac: nqperes=',nqperes   
    630     WRITE(lunout,*) 'nqfils=',nqfils
    631     WRITE(lunout,*) 'iqpere=',iqpere
    632     WRITE(lunout,*) 'iqfils=',iqfils
     629!    WRITE(lunout,*) 'infotrac: nqperes=',nqperes   
     630!    WRITE(lunout,*) 'nqfils=',nqfils
     631!    WRITE(lunout,*) 'iqpere=',iqpere
     632!    WRITE(lunout,*) 'iqfils=',iqfils
    633633
    634634! Calculer le nombre de descendants à partir de iqfils et de nbfils
     
    649649        endif !if (ipere.gt.0) then
    650650      enddo !do while (continu)   
    651       WRITE(lunout,*) 'Le traceur ',iq,', appele ',trim(tnom_0(iq)),' est un traceur de generation: ',generation
     651!      WRITE(lunout,*) 'Le traceur ',iq,', appele ',trim(tnom_0(iq)),' est un traceur de generation: ',generation
    652652    enddo !DO iq=1,nqtot
    653     WRITE(lunout,*) 'infotrac: nqdesc=',nqdesc
    654     WRITE(lunout,*) 'iqfils=',iqfils
    655     WRITE(lunout,*) 'nqdesc_tot=',nqdesc_tot
     653!    WRITE(lunout,*) 'infotrac: nqdesc=',nqdesc
     654!    WRITE(lunout,*) 'iqfils=',iqfils
     655!    WRITE(lunout,*) 'nqdesc_tot=',nqdesc_tot
    656656
    657657! Interdire autres schémas que 10 pour les traceurs fils, et autres schémas
  • LMDZ5/branches/IPSLCM5A2.1/libf/phylmd/phys_output_write_mod.F90

    r2580 r3606  
    10091009!--OLIVIER
    10101010!This is warranted by treating INCA aerosols as offline aerosols
    1011 !       IF (new_aod .and. (.not. aerosol_couple)) THEN
    1012        IF (new_aod) THEN
     1011       IF (new_aod .and. (.not. aerosol_couple)) THEN
     1012!       IF (new_aod) THEN
    10131013          IF (flag_aerosol.GT.0) THEN
    10141014             CALL histwrite_phy(o_od550aer, od550aer)
  • LMDZ5/branches/IPSLCM5A2.1/libf/phylmd/phys_state_var_mod.F90

    r2499 r3606  
    455455      ALLOCATE(ratqs(klon,klev))
    456456      ALLOCATE(pbl_tke(klon,klev+1,nbsrf+1))
     457      pbl_tke(:,:,:) = 0.
    457458!nrlmd<
    458459      ALLOCATE(delta_tsurf(klon,nbsrf))
  • LMDZ5/branches/IPSLCM5A2.1/libf/phylmd/physiq_mod.F90

    r3576 r3606  
    33593359
    33603360       call chemtime(itap+itau_phy-1, date0, dtime, itap)
    3361        IF (config_inca == 'aero' .OR. config_inca == 'aeNP') THEN
    3362           CALL AEROSOL_METEO_CALC( &
    3363                calday,pdtphys,pplay,paprs,t,pmflxr,pmflxs, &
    3364                prfl,psfl,pctsrf,cell_area, &
    3365                latitude_deg,longitude_deg,u10m,v10m)
    3366        END IF
     3361       CALL AEROSOL_METEO_CALC( &
     3362            calday,pdtphys,pplay,paprs,t,pmflxr,pmflxs, &
     3363            prfl,psfl,pctsrf,cell_area, &
     3364           latitude_deg,longitude_deg,u10m,v10m)
    33673365
    33683366       zxsnow_dummy(:) = 0.0
Note: See TracChangeset for help on using the changeset viewer.