Changeset 3444 for trunk/LMDZ.PLUTO/libf


Ignore:
Timestamp:
Sep 27, 2024, 6:54:41 PM (3 months ago)
Author:
afalco
Message:

Pluto PCM: reffrad not written if not initialized.
AF

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

Legend:

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

    r3375 r3444  
    493493         end do !iaer=1,naerkind.
    494494         if (haze_radproffix) then
     495            if (haze_radproffix) then
     496                call haze_reffrad_fix(ngrid,nlayer,zzlay,&
     497                    reffrad,nueffrad)
     498            endif
     499
    495500            print*, 'haze_radproffix=T : fixed profile for haze rad'
    496501         else
     
    507512
    508513      if (aerohaze) then
    509          if (haze_radproffix) then
    510             call haze_reffrad_fix(ngrid,nlayer,zzlay,&
    511                 reffrad,nueffrad)
    512           endif
    513514
    514515         ! Get 3D aerosol optical properties.
     
    576577
    577578
    578       ! AF24: for now only consider one aerosol (=haze) 
    579       if (aerohaze) then 
     579      ! AF24: for now only consider one aerosol (=haze)
     580      if (aerohaze) then
    580581        do iaer=1,naerkind
    581582            ! Shortwave.
     
    689690!     Aerosol optical depths
    690691!-----------------------------------------------------------------------
    691       if (aerohaze) then 
     692      if (aerohaze) then
    692693        do iaer=1,naerkind     ! a bug was here
    693694            do k=0,nlayer-1
  • trunk/LMDZ.PLUTO/libf/phypluto/callcorrk_pluto_mod.F90

    r3422 r3444  
    256256           end do !iaer=1,naerkind.
    257257           if (haze_radproffix) then
     258                if (haze_radproffix) then
     259                    call haze_reffrad_fix(ngrid,nlayer,zzlay, &
     260                        reffrad,nueffrad)
     261                endif
    258262              print*, 'haze_radproffix=T : fixed profile for haze rad'
    259263           else
     
    298302        ! uniform. Called only if aerohaze=true.
    299303        !--------------------------------------------------
    300         if (haze_radproffix) then
    301           call haze_reffrad_fix(ngrid,nlayer,zzlay, &
    302               reffrad,nueffrad)
    303         endif
    304304
    305305        call aeroptproperties(ngrid,nlayer,reffrad,nueffrad,         &
  • trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90

    r3439 r3444  
    24092409         !Pluto specific
    24102410         call writediagfi(ngrid,'n2_iceflux','n2_iceflux',"kg m^-2 s^-1",2,flusurf(1,igcm_n2) )
    2411          call writediagfi(ngrid,'haze_reff','haze_reff','m',3,reffrad(1,1,1))
     2411         if (aerohaze)then
     2412            call writediagfi(ngrid,'haze_reff','haze_reff','m',3,reffrad(1,1,1))
     2413         end if
    24122414         if (methane) then
    24132415            call writediagfi(ngrid,'ch4_iceflux','ch4_iceflux',&
Note: See TracChangeset for help on using the changeset viewer.