Changeset 3882 for trunk/LMDZ.PLUTO/libf


Ignore:
Timestamp:
Aug 7, 2025, 10:12:58 AM (4 months ago)
Author:
debatzbr
Message:

Pluto PCM: Clean outputs for photolysis and mufi
BBT

Location:
trunk/LMDZ.PLUTO/libf/phypluto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.PLUTO/libf/phypluto/callcorrk.F90

    r3879 r3882  
    465465            endwhere
    466466            nueffrad(:,:,1) = exp(sig**2) - 1
    467             !if (exp(sig**2) - 1 > 0.1) then
    468             !   nueffrad(:,:,1) = exp(sig**2) - 1
    469             !else
    470             !   nueffrad(:,:,1) = 0.1
    471             !endif
    472467            ! Fractal aerosols
    473468            sig = 0.35
     
    478473            endwhere
    479474            nueffrad(:,:,2) = exp(sig**2) - 1
    480             !if (exp(sig**2) - 1 > 0.1) then
    481             !   nueffrad(:,:,2) = exp(sig**2) - 1
    482             !else
    483             !   nueffrad(:,:,2) = 0.1
    484             !endif
    485475
    486476         else
     
    669659                do nw=1,L_NSPECTI
    670660                    if(qsiaer(k,nw,iaer).gt.1.05*qxiaer(k,nw,iaer))then
    671                     message='Serious problems with qsvaer values'
     661                    message='Serious problems with qsiaer values'
    672662                    call abort_physic(subname,message,1)
    673663                    endif
  • trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90

    r3844 r3882  
    19681968      zrho_haze(:,:)=0.
    19691969      zdqrho_photprec(:,:)=0.
    1970       IF (haze.and.optichaze) then
     1970      IF (haze.or.callmufi) then
    19711971         DO ig=1,ngrid
    19721972            DO l=1,nlayer
     
    22512251      endif
    22522252
     2253      ! Optical diagnostics.
     2254      call write_output("tau_col",&
     2255            "Aerosol surface opacity at reference visible wavelength","",tau_col)
    22532256      ! Diagnostics of optical thickness (dtau = dtau_gas + dtau_rayaer + dtau_cont).
    22542257      ! Warning this is exp(-tau), I let you postproc with -log to have tau itself
    2255       call write_output('dtauv_01','Layer optical thickness attenuation in VI band','',int_dtauv(:,nlayer:1:-1,1))
    2256       call write_output('dtauv_23','Layer optical thickness attenuation in VI band','',int_dtauv(:,nlayer:1:-1,23))
    2257       call write_output('dtaui_01','Layer optical thickness attenuation in IR band','',int_dtaui(:,nlayer:1:-1,1))
    2258       call write_output('dtaui_17','Layer optical thickness attenuation in IR band','',int_dtaui(:,nlayer:1:-1,17))
     2258      call write_output('dtauv_01','Layer optical thickness attenuation in VI band','',int_dtauv(:,nlayer:1:-1,1))  ! 5.398 um (17x27)
     2259      call write_output('dtauv_23','Layer optical thickness attenuation in VI band','',int_dtauv(:,nlayer:1:-1,23)) ! 0.941 um (17x27)
     2260      call write_output('dtauv_24','Layer optical thickness attenuation in VI band','',int_dtauv(:,nlayer:1:-1,24)) ! 0.700 um (17x27)
     2261      call write_output('dtauv_27','Layer optical thickness attenuation in VI band','',int_dtauv(:,nlayer:1:-1,27)) ! 0.119 um (17x27)
     2262      call write_output('dtaui_01','Layer optical thickness attenuation in IR band','',int_dtaui(:,nlayer:1:-1,1))  ! 550.0 um (17x27)
     2263      call write_output('dtaui_17','Layer optical thickness attenuation in IR band','',int_dtaui(:,nlayer:1:-1,17)) ! 3.531 um (17x27)
    22592264
    22602265      if (calllott) then
     
    23452350         endif
    23462351
    2347          ! Haze
    2348          if (haze) then
     2352         ! Haze or callmufi
     2353         if (haze.or.callmufi) then
    23492354
    23502355            if (haze_radproffix)then
     
    23562361
    23572362            ! 3D Tendencies
    2358             call write_output("zdqrho_photprec","zdqrho_photprec",&
     2363            call write_output("zdqrho_photprec","Photolysis rate",&
    23592364                        "kg.m-3.s-1",zdqrho_photprec(:,:))
    2360             call write_output("zdqphot_prec","zdqphot_prec","",&
     2365           
     2366            !call write_output("zdqhaze_ch4","Photolysis of CH4 tendancy","kg.kg-1.s-1",&
     2367            !         zdqhaze(:,:,igcm_ch4_gas))
     2368            !call write_output("zdqhaze_prec","Precursor haze tendancy","kg.kg-1.s-1",&
     2369            !         zdqhaze(:,:,igcm_prec_haze))
     2370
     2371            call write_output("zdqphot_ch4","Photolysis of CH4 tendancy","kg.kg-1.s-1",&
     2372                                                zdqphot_ch4(:,:))
     2373            call write_output("zdqphot_prec","Precursor haze tendancy","kg.kg-1.s-1",&
    23612374                                                zdqphot_prec(:,:))
    2362             call write_output("zdqhaze_ch4","zdqhaze_ch4","",&
    2363                      zdqhaze(:,:,igcm_ch4_gas))
    2364             call write_output("zdqhaze_prec","zdqhaze_prec","",&
    2365                      zdqhaze(:,:,igcm_prec_haze))
    2366             call write_output("zdqphot_ch4","zdqphot_ch4","",&
    2367                                                 zdqphot_ch4(:,:))
    2368             call write_output("zdqconv_prec","zdqconv_prec","",&
     2375            call write_output("zdqconv_prec","Conversion of prec_haze into haze tendancy","kg.kg-1.s-1",&
    23692376                                                zdqconv_prec(:,:))
    23702377
     
    23772384               endif
    23782385            endif
    2379 
    2380             if (optichaze) then
    2381                call write_output("tau_col",&
    2382                "Total aerosol optical depth","opacity",tau_col)
    2383             endif
    2384 
    2385          endif ! end haze
     2386         endif ! end Haze or callmufi
    23862387
    23872388         if (callmufi) then
     
    23932394
    23942395            ! Diagnostics:
     2396            call write_output("aers_prec","Spherical aerosols precipitations","kg.m-2.s-1",mp2m_aer_s_prec(:))
     2397            call write_output("aerf_prec","Fractal aerosols precipitations","kg.m-2.s-1",mp2m_aer_f_prec(:))
     2398            call write_output("aers_w","Spherical aerosol settling velocity","m.s-1",mp2m_aer_s_w(:,:))
     2399            call write_output("aerf_w","Fractal aerosol settling velocity","m.s-1",mp2m_aer_f_w(:,:))
    23952400            call write_output("rcs","Characteristic radius of spherical aerosols","m",mp2m_rc_sph(:,:))
    23962401            call write_output("rcf","Characteristic radius of fractal aerosols","m",mp2m_rc_fra(:,:))
    2397 
    2398             if (optichaze) then
    2399                call write_output("tau_col",&
    2400                "Aerosol surface opacity at reference visible wavelength","",tau_col)
    2401             endif ! end optichaze
    24022402         endif ! end callmufi
    24032403
Note: See TracChangeset for help on using the changeset viewer.