Changeset 2685


Ignore:
Timestamp:
May 27, 2022, 4:57:03 PM (3 years ago)
Author:
emillour
Message:

Mars GCM:
Add possibility to output either upward or downward SW flux at the surface
and top of atmosphere from physiq. Required adding some output arguments
to callradite.
EM

Location:
trunk/LMDZ.MARS
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2682 r2685  
    37143714Upate Non-Orographic GW scheme: cmax is not longer fixed but evaluated
    37153715as the zonal wind at launch altitude.
     3716
     3717== 27/05/2022 == EM
     3718Add possibility to output either upward or downward SW flux at the surface
     3719and top of atmosphere from physiq. Required adding some output arguments
     3720to callradite.
  • trunk/LMDZ.MARS/libf/phymars/callradite_mod.F

    r2678 r2685  
    77      SUBROUTINE callradite(icount,ngrid,nlayer,nq,zday,ls,pq,albedo,
    88     $     emis,mu0,pplev,pplay,pt,tsurf,fract,dist_sol,igout,
    9      $     dtlw,dtsw,fluxsurf_lw,fluxsurf_sw,fluxtop_lw,
    10      $     fluxtop_sw,tau_pref_scenario,tau_pref_gcm,
     9     $     dtlw,dtsw,fluxsurf_lw,fluxsurf_dn_sw,fluxsurf_up_sw,
     10     $     fluxtop_lw,fluxtop_dn_sw,fluxtop_up_sw,
     11     &     tau_pref_scenario,tau_pref_gcm,
    1112     &     tau,aerosol,dsodust,tauscaling,dust_rad_adjust,IRtoVIScoef,
    1213     $     taucloudtes,rdust,rice,nuice,riceco2,nuiceco2,co2ice,
     
    141142c   nueffrad(ngrid,nlayer,naerkind) Aerosol effective variance
    142143
    143 c
    144 c  output:
    145 c  -------
    146 c dtlw (ngrid,nlayer)       longwave (IR) heating rate (K/s)
    147 c dtsw(ngrid,nlayer)        shortwave (Solar) heating rate (K/s)
    148 c fluxsurf_lw(ngrid)        surface downward flux tota LW (thermal IR) (W.m-2)
    149 c fluxsurf_sw(ngrid,1)      surface downward flux SW for solar band#1 (W.m-2)
    150 c fluxsurf_sw(ngrid,2)      surface downward flux SW for solar band#2 (W.m-2)
    151 c
    152 c fluxtop_lw(ngrid)         outgoing upward flux tota LW (thermal IR) (W.m-2)
    153 c fluxtop_sw(ngrid,1)       outgoing upward flux SW for solar band#1 (W.m-2)
    154 c fluxtop_sw(ngrid,2)       outgoing upward flux SW for solar band#2 (W.m-2)
    155 
    156 c   tau          Column total visible dust optical depth at each point
    157 c   aerosol(ngrid,nlayer,naerkind)    aerosol extinction optical depth
    158 c                         at reference wavelength "longrefvis" set
    159 c                         in dimradmars_h , in each layer, for one of
    160 c                         the "naerkind" kind of aerosol optical
    161 c                         properties.
    162144c=======================================================================
    163145c
     
    189171      REAL,INTENT(IN) :: tsurf(ngrid)
    190172      REAL,INTENT(IN) :: dist_sol,mu0(ngrid),fract(ngrid)
    191       REAL,INTENT(OUT) :: dtlw(ngrid,nlayer),dtsw(ngrid,nlayer)
    192       REAL,INTENT(OUT) :: fluxsurf_lw(ngrid), fluxtop_lw(ngrid)
    193       REAL,INTENT(OUT) :: fluxsurf_sw(ngrid,2), fluxtop_sw(ngrid,2)
     173      REAL,INTENT(OUT) :: dtlw(ngrid,nlayer) ! longwave (IR) heating rate (K/s)
     174      REAL,INTENT(OUT) :: dtsw(ngrid,nlayer) ! shortwave (Solar) heating rate (K/s)
     175      REAL,INTENT(OUT) :: fluxsurf_lw(ngrid) ! total LW (thermal IR) downward flux
     176                                             ! (W.m-2) at the surface
     177      REAL,INTENT(OUT) :: fluxtop_lw(ngrid) ! outgoing total LW (thermal IR)
     178                                     ! upward flux (W.m-2) at the top of the atm.
     179      REAL,INTENT(OUT) :: fluxsurf_dn_sw(ngrid,2) ! surface downward SW flux for
     180                                      ! solar bands #1 and #2 (W.m-2)
     181      REAL,INTENT(OUT) :: fluxsurf_up_sw(ngrid,2) ! surface upward SW flux for
     182                                      ! solar bands #1 and #2 (W.m-2)
     183      REAL,INTENT(OUT) :: fluxtop_dn_sw(ngrid,2) ! incoming downward SW flux for
     184                                 ! solar bands #1 and #2 (W.m-2) at top of atm.
     185      REAL,INTENT(OUT) :: fluxtop_up_sw(ngrid,2) ! outgoing upward SW flux for
     186                                 ! solar bands #1 and #2 (W.m-2) at top of atm.
    194187      REAL,INTENT(OUT) :: tau_pref_scenario(ngrid) ! prescribed dust column
    195188                          ! visible opacity at odpref from scenario
    196189      REAL,INTENT(OUT) :: tau_pref_gcm(ngrid) ! computed dust column
    197190                          ! visible opacity at odpref in the GCM
    198       REAL,INTENT(OUT) :: tau(ngrid,naerkind)
     191      REAL,INTENT(OUT) :: tau(ngrid,naerkind) ! Column visible optical depth
     192                          ! for each aerosol
    199193      REAL,INTENT(OUT) :: taucloudtes(ngrid)! Cloud opacity at infrared
    200194                               !   reference wavelength using
    201195                               !   Qabs instead of Qext
    202196                               !   (direct comparison with TES)
    203       REAL,INTENT(OUT) :: aerosol(ngrid,nlayer,naerkind)
     197      REAL,INTENT(OUT) :: aerosol(ngrid,nlayer,naerkind) ! aerosol extinction
     198                          ! optical depth at reference wavelength "longrefvis",
     199                          ! set in dimradmars_h, for each kind of aerosol
    204200      REAL,INTENT(INOUT) :: dsodust(ngrid,nlayer)
    205201      REAL,INTENT(OUT) :: rdust(ngrid,nlayer)  ! Dust geometric mean radius (m)
     
    585581        enddo
    586582
     583        ! copy SW fluxes at surface and TOA
    587584        do ig = 1,nd
    588           fluxsurf_sw(ig0+ig,1) = zfluxd_sw(ig,1,1)
    589           fluxsurf_sw(ig0+ig,2) = zfluxd_sw(ig,1,2)
    590           fluxtop_sw(ig0+ig,1) = zfluxu_sw(ig,nlaylte+1,1)
    591           fluxtop_sw(ig0+ig,2) = zfluxu_sw(ig,nlaylte+1,2)
     585          ! surface downward SW flux
     586          fluxsurf_dn_sw(ig0+ig,1) = zfluxd_sw(ig,1,1)
     587          fluxsurf_dn_sw(ig0+ig,2) = zfluxd_sw(ig,1,2)
     588          ! surface upward SW flux
     589          fluxsurf_up_sw(ig0+ig,1) = zfluxu_sw(ig,1,1)
     590          fluxsurf_up_sw(ig0+ig,2) = zfluxu_sw(ig,1,2)
     591          ! downward SW flux at top of atmosphere
     592          fluxtop_dn_sw(ig0+ig,1) = zfluxd_sw(ig,nlaylte+1,1)
     593          fluxtop_dn_sw(ig0+ig,2) = zfluxd_sw(ig,nlaylte+1,2)         
     594          ! upward SW flux at top of atmosphere
     595          fluxtop_up_sw(ig0+ig,1) = zfluxu_sw(ig,nlaylte+1,1)
     596          fluxtop_up_sw(ig0+ig,2) = zfluxu_sw(ig,nlaylte+1,2)
    592597        enddo
    593598
     
    613618            PRINT*,albedo(igout,1),emis(igout),mu0(igout),
    614619     s           fract(igout), fluxsurf_lw(igout),
    615      $     fluxsurf_sw(igout,1)+fluxsurf_sw(igout,2)
     620     $     fluxsurf_dn_sw(igout,1)+fluxsurf_dn_sw(igout,2)
    616621            PRINT*,'Tlay Tlev Play Plev dT/dt SW dT/dt LW (K/s)'
    617622            PRINT*,'daysec',daysec
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r2678 r2685  
    284284      REAL sl_ra, sl_di0
    285285      REAL sky
    286       REAL direct_flux(ngrid)    ! Incident direct solar flux on Mars at surface (W.m-2)
     286      REAL fluxsurf_dir_dn_sw(ngrid) ! Incident direct solar flux on Mars at surface (W.m-2)
    287287
    288288      REAL,PARAMETER :: stephan = 5.67e-08 ! Stephan Boltzman constant
     
    298298
    299299      REAL fluxsurf_lw(ngrid)      !incident LW (IR) surface flux (W.m-2)
    300       REAL fluxsurf_sw(ngrid,2)    !incident SW (solar) surface flux (W.m-2)
     300      REAL fluxsurf_dn_sw(ngrid,2) ! Incident SW (solar) surface flux (W.m-2)
     301      REAL fluxsurf_up_sw(ngrid,2) ! Reflected SW (solar) surface flux (W.m-2)
    301302      REAL fluxtop_lw(ngrid)       !Outgoing LW (IR) flux to space (W.m-2)
    302       REAL fluxtop_sw(ngrid,2)     !Outgoing SW (solar) flux to space (W.m-2)
     303      REAL fluxtop_dn_sw(ngrid,2) ! Incoming SW (solar) flux from space (W.m-2)
     304      REAL fluxtop_up_sw(ngrid,2) ! Outgoing SW (solar) flux to space (W.m-2)
    303305      REAL tau_pref_scenario(ngrid) ! prescribed dust column visible opacity
    304306                                    ! at odpref
     
    386388      REAL zq(ngrid,nlayer,nq)
    387389
    388       REAL fluxtop_sw_tot(ngrid), fluxsurf_sw_tot(ngrid)
     390      REAL fluxtop_dn_sw_tot(ngrid), fluxtop_up_sw_tot(ngrid)
     391      REAL fluxsurf_dn_sw_tot(ngrid), fluxsurf_up_sw_tot(ngrid)
    389392      character*2 str2
    390393!      character*5 str5
     
    502505      real zdtlwclf(ngrid,nlayer)
    503506      real fluxsurf_lwclf(ngrid)     
    504       real fluxsurf_swclf(ngrid,2) 
     507      real fluxsurf_dn_swclf(ngrid,2),fluxsurf_up_swclf(ngrid,2)
    505508      real fluxtop_lwclf(ngrid)
    506       real fluxtop_swclf(ngrid,2)
     509      real fluxtop_dn_swclf(ngrid,2),fluxtop_up_swclf(ngrid,2)
    507510      real taucloudtesclf(ngrid)
    508511      real tf_clf, ntf_clf ! tf: fraction of clouds, ntf: fraction without clouds
     
    976979           CALL callradite(icount,ngrid,nlayer,nq,zday,zls,pq,albedo,
    977980     &     emis,mu0,zplev,zplay,pt,tsurf,fract,dist_sol,igout,
    978      &     zdtlw,zdtsw,fluxsurf_lw,fluxsurf_sw,fluxtop_lw,
    979      &     fluxtop_sw,tau_pref_scenario,tau_pref_gcm,
     981     &     zdtlw,zdtsw,fluxsurf_lw,fluxsurf_dn_sw,fluxsurf_up_sw,
     982     &     fluxtop_lw,fluxtop_dn_sw,fluxtop_up_sw,
     983     &     tau_pref_scenario,tau_pref_gcm,
    980984     &     tau,aerosol,dsodust,tauscaling,dust_rad_adjust,IRtoVIScoef,
    981985     &     taucloudtes,rdust,rice,nuice,riceco2,nuiceco2,co2ice,
     
    992996               CALL callradite(icount,ngrid,nlayer,nq,zday,zls,pq,
    993997     &              albedo,emis,mu0,zplev,zplay,pt,tsurf,fract,
    994      &              dist_sol,igout,zdtlwclf,zdtswclf,fluxsurf_lwclf,
    995      &              fluxsurf_swclf,fluxtop_lwclf,fluxtop_swclf,
     998     &              dist_sol,igout,zdtlwclf,zdtswclf,
     999     &              fluxsurf_lwclf,fluxsurf_dn_swclf,fluxsurf_up_swclf,
     1000     &              fluxtop_lwclf,fluxtop_dn_swclf,fluxtop_up_swclf,
    9961001     &              tau_pref_scenario,tau_pref_gcm,tau,aerosol,
    9971002     &              dsodust,tauscaling,dust_rad_adjust,IRtoVIScoef,
     
    10091014                  fluxsurf_lw(ig) = ntf_clf*fluxsurf_lwclf(ig)
    10101015     &                                      + tf_clf*fluxsurf_lw(ig)
    1011                   fluxsurf_sw(ig,1) = ntf_clf*fluxsurf_swclf(ig,1)
    1012      &                                      + tf_clf*fluxsurf_sw(ig,1)
    1013                   fluxsurf_sw(ig,2) = ntf_clf*fluxsurf_swclf(ig,2)
    1014      &                                      + tf_clf*fluxsurf_sw(ig,2)
     1016                  fluxsurf_dn_sw(ig,1:2) =
     1017     &                           ntf_clf*fluxsurf_dn_swclf(ig,1:2)
     1018     &                          + tf_clf*fluxsurf_dn_sw(ig,1:2)
     1019                  fluxsurf_up_sw(ig,1:2) =
     1020     &                           ntf_clf*fluxsurf_up_swclf(ig,1:2)
     1021     &                          + tf_clf*fluxsurf_up_sw(ig,1:2)
    10151022                  fluxtop_lw(ig)  = ntf_clf*fluxtop_lwclf(ig)
    10161023     &                                      + tf_clf*fluxtop_lw(ig)
    1017                   fluxtop_sw(ig,1)  = ntf_clf*fluxtop_swclf(ig,1)
    1018      &                                      + tf_clf*fluxtop_sw(ig,1)
    1019                   fluxtop_sw(ig,2)  = ntf_clf*fluxtop_swclf(ig,2)
    1020      &                                      + tf_clf*fluxtop_sw(ig,2)
     1024                  fluxtop_dn_sw(ig,1:2)=ntf_clf*fluxtop_dn_swclf(ig,1:2)
     1025     &                                 + tf_clf*fluxtop_dn_sw(ig,1:2)
     1026                  fluxtop_up_sw(ig,1:2)=ntf_clf*fluxtop_up_swclf(ig,1:2)
     1027     &                                 + tf_clf*fluxtop_up_sw(ig,1:2)
    10211028                  taucloudtes(ig) = ntf_clf*taucloudtesclf(ig)
    10221029     &                                      + tf_clf*taucloudtes(ig)
     
    10671074              sl_the = theta_sl(ig)
    10681075              IF (sl_the .ne. 0.) THEN
    1069                 ztim1=fluxsurf_sw(ig,1)+fluxsurf_sw(ig,2)
     1076                ztim1=fluxsurf_dn_sw(ig,1)+fluxsurf_dn_sw(ig,2)
    10701077                DO l=1,2
    10711078                 sl_lct = ptime*24. + 180.*longitude(ig)/pi/15.
     
    10751082                 sl_alb = albedo(ig,l)
    10761083                 sl_psi = psi_sl(ig)
    1077                  sl_fl0 = fluxsurf_sw(ig,l)
     1084                 sl_fl0 = fluxsurf_dn_sw(ig,l)
    10781085                 sl_di0 = 0.
    10791086                 if (mu0(ig) .gt. 0.) then
     
    10811088                  sl_di0 = sl_di0*flux_1AU/dist_sol/dist_sol
    10821089                  sl_di0 = sl_di0/ztim1
    1083                   sl_di0 = fluxsurf_sw(ig,l)*sl_di0
     1090                  sl_di0 = fluxsurf_dn_sw(ig,l)*sl_di0
    10841091                 endif
    10851092                 ! you never know (roundup concern...)
     
    10901097     &                             sl_di0, sl_fl0, sl_flu )
    10911098                 !!!!!!!!!!!!!!!!!!!!!!!!!!
    1092                  fluxsurf_sw(ig,l) = sl_flu
     1099                 fluxsurf_dn_sw(ig,l) = sl_flu
    10931100                ENDDO
    10941101              !!! compute correction on IR flux as well
     
    11111118           DO ig=1,ngrid
    11121119               fluxrad_sky(ig)=emis(ig)*fluxsurf_lw(ig)
    1113      $         +fluxsurf_sw(ig,1)*(1.-albedo(ig,1))
    1114      $         +fluxsurf_sw(ig,2)*(1.-albedo(ig,2))
     1120     $         +fluxsurf_dn_sw(ig,1)*(1.-albedo(ig,1))
     1121     $         +fluxsurf_dn_sw(ig,2)*(1.-albedo(ig,2))
    11151122           ENDDO
    11161123
     
    20402047     $              co2ice,albedo,emis,rdust,
    20412048     $              zdtc,zdtsurfc,pdpsrf,zduc,zdvc,zdqc,
    2042      $              fluxsurf_sw,zls,
     2049     $              fluxsurf_dn_sw,zls,
    20432050     $              zdqssed_co2,zcondicea_co2microp,
    20442051     &              zdqsc)
     
    22782285
    22792286c     Sum of fluxes in solar spectral bands (for output only)
    2280       DO ig=1,ngrid
    2281              fluxtop_sw_tot(ig)=fluxtop_sw(ig,1) + fluxtop_sw(ig,2)
    2282              fluxsurf_sw_tot(ig)=fluxsurf_sw(ig,1) + fluxsurf_sw(ig,2)
    2283       ENDDO
     2287      fluxtop_dn_sw_tot(1:ngrid)=fluxtop_dn_sw(1:ngrid,1) +
     2288     &                           fluxtop_dn_sw(1:ngrid,2)
     2289      fluxtop_up_sw_tot(1:ngrid)=fluxtop_up_sw(1:ngrid,1) +
     2290     &                           fluxtop_up_sw(1:ngrid,2)
     2291      fluxsurf_dn_sw_tot(1:ngrid)=fluxsurf_dn_sw(1:ngrid,1) +
     2292     &                            fluxsurf_dn_sw(1:ngrid,2)
     2293      fluxsurf_up_sw_tot(1:ngrid)=fluxsurf_up_sw(1:ngrid,1) +
     2294     &                            fluxsurf_up_sw(1:ngrid,2)
     2295
    22842296c ******* TEST ******************************************************
    22852297      ztim1 = 999
     
    24522464         do ig=1,ngrid
    24532465           if(mu0(ig).le.0.01) then
    2454             direct_flux(ig) = 0.
     2466            fluxsurf_dir_dn_sw(ig) = 0.
    24552467           else
    2456             direct_flux(ig) = flux_1AU/dist_sol/dist_sol*mu0(ig)*
     2468            fluxsurf_dir_dn_sw(ig) = flux_1AU/dist_sol/dist_sol*mu0(ig)*
    24572469     &                    exp(-(tau(ig,iaer_dust_doubleq)+
    24582470     &                          tau(ig,iaer_h2o_ice))/mu0(ig))
     
    26572669     &                "Thermal IR radiative flux to surface","W.m-2",2,
    26582670     &                fluxsurf_lw)
    2659         call wstats(ngrid,"fluxsurf_sw",
    2660      &                "Solar radiative flux to surface","W.m-2",2,
    2661      &                fluxsurf_sw_tot)
     2671        call wstats(ngrid,"fluxsurf_dn_sw",
     2672     &        "Incoming Solar radiative flux to surface","W.m-2",2,
     2673     &                fluxsurf_dn_sw_tot)
     2674        call wstats(ngrid,"fluxsurf_up_sw",
     2675     &        "Reflected Solar radiative flux from surface","W.m-2",2,
     2676     &                fluxsurf_up_sw_tot)
    26622677        call wstats(ngrid,"fluxtop_lw",
    26632678     &                "Thermal IR radiative flux to space","W.m-2",2,
    26642679     &                fluxtop_lw)
    2665         call wstats(ngrid,"fluxtop_sw",
    2666      &                "Solar radiative flux to space","W.m-2",2,
    2667      &                fluxtop_sw_tot)
     2680        call wstats(ngrid,"fluxtop_dn_sw",
     2681     &        "Incoming Solar radiative flux from space","W.m-2",2,
     2682     &                fluxtop_dn_sw_tot)
     2683        call wstats(ngrid,"fluxtop_up_sw",
     2684     &        "Outgoing Solar radiative flux to space","W.m-2",2,
     2685     &                fluxtop_up_sw_tot)
    26682686        call wstats(ngrid,"temp","Atmospheric temperature","K",3,zt)
    26692687        call wstats(ngrid,"u","Zonal (East-West) wind","m.s-1",3,zu)
     
    26852703c          call wstats(ngrid,"lw_htrt","lw heat.rate",
    26862704c    &                 "W.m-2",3,zdtlw)
    2687           call wstats(ngrid,"direct_flux",
    2688      &                "Direct incoming flux at surface",
    2689      &                "W.m-2",2,direct_flux)     
     2705          call wstats(ngrid,"fluxsurf_dir_dn_sw",
     2706     &                "Direct incoming SW flux at surface",
     2707     &                "W.m-2",2,fluxsurf_dir_dn_sw)     
    26902708
    26912709          if (calltherm) then
     
    29212939      comm_HR_LW(1:ngrid,1:nlayer) = zdtlw(1:ngrid,1:nlayer)
    29222940      !state  real  SWDOWNZ    ij   misc  1  -  h  "SWDOWNZ"   "DOWNWARD SW FLUX AT SURFACE"     "W m-2"
    2923       comm_SWDOWNZ(1:ngrid) = fluxsurf_sw_tot(1:ngrid)
     2941      comm_SWDOWNZ(1:ngrid) = fluxsurf_dn_sw_tot(1:ngrid)
    29242942      !state  real  TAU_DUST   ij   misc  1  -  h  "TAU_DUST"  "REFERENCE VISIBLE DUST OPACITY"  ""
    29252943      comm_TAU_DUST(1:ngrid) = tau_pref_gcm(1:ngrid)
     
    29953013         call WRITEDIAGFI(ngrid,"fluxsurf_lw","fluxsurf_lw","W.m-2",2,
    29963014     &                  fluxsurf_lw)
    2997          call WRITEDIAGFI(ngrid,"fluxsurf_sw","fluxsurf_sw","W.m-2",2,
    2998      &                  fluxsurf_sw_tot)
     3015         call WRITEDIAGFI(ngrid,"fluxsurf_dn_sw","fluxsurf_dn_sw",
     3016     &                  "W.m-2",2,fluxsurf_dn_sw_tot)
    29993017         call WRITEDIAGFI(ngrid,"fluxtop_lw","fluxtop_lw","W.m-2",2,
    30003018     &                  fluxtop_lw)
    3001          call WRITEDIAGFI(ngrid,"fluxtop_sw","fluxtop_sw","W.m-2",2,
    3002      &                  fluxtop_sw_tot)
     3019         call WRITEDIAGFI(ngrid,"fluxtop_up_sw","fluxtop_up_sw","W.m-2",
     3020     &                  2,fluxtop_up_sw_tot)
    30033021         call WRITEDIAGFI(ngrid,"temp","temperature","K",3,zt)
    30043022         call WRITEDIAGFI(ngrid,"Sols","Time","sols",0,[zday])
     
    40164034      CALL send_xios_field("area",cell_area)
    40174035
    4018 !      CALL send_xios_field("ISR",fluxtop_sw_tot)
     4036!      CALL send_xios_field("ISR",fluxtop_dn_sw_tot)
    40194037      CALL send_xios_field("OLR",fluxtop_lw)
    40204038
  • trunk/LMDZ.MARS/libf/phymars/rocketduststorm_mod.F90

    r2643 r2685  
    167167!     variables for the radiative transfer
    168168      REAL  fluxsurf_lw1(ngrid)
    169       REAL  fluxsurf_sw1(ngrid,2)
     169      REAL  fluxsurf_dn_sw1(ngrid,2),fluxsurf_up_sw1(ngrid,2)
    170170      REAL  fluxtop_lw1(ngrid)
    171       REAL  fluxtop_sw1(ngrid,2)
     171      REAL  fluxtop_dn_sw1(ngrid,2),fluxtop_up_sw1(ngrid,2)
    172172      REAL  tau(ngrid,naerkind)
    173173      REAL  aerosol(ngrid,nlayer,naerkind)
     
    255255      CALL callradite(icount,ngrid,nlayer,nq,zday,zls,pq,albedo,          &
    256256                 emis,mu0,pplev,pplay,pt,tsurf,fract,dist_sol,igout,      &
    257                  zdtlw1,zdtsw1,fluxsurf_lw1,fluxsurf_sw1,fluxtop_lw1,     &
    258                  fluxtop_sw1,tau_pref_scenario,tau_pref_gcm, &
     257                 zdtlw1,zdtsw1,fluxsurf_lw1,fluxsurf_dn_sw1,fluxsurf_up_sw1, &
     258                 fluxtop_lw1,fluxtop_dn_sw1,fluxtop_up_sw1, &
     259                 tau_pref_scenario,tau_pref_gcm, &
    259260                 tau,aerosol,dsodust,tauscaling,dust_rad_adjust,IRtoVIScoef, &
    260261                 taucloudtes,rdust,rice,nuice,riceco2,nuiceco2,co2ice,rstormdust,rtopdust, &
  • trunk/LMDZ.MARS/libf/phymars/topmons_mod.F90

    r2643 r2685  
    120120!     Variables for radiative transfer
    121121      REAL  fluxsurf_lw1(ngrid)
    122       REAL  fluxsurf_sw1(ngrid,2)
     122      REAL  fluxsurf_dn_sw1(ngrid,2),fluxsurf_up_sw1(ngrid,2)
    123123      REAL  fluxtop_lw1(ngrid)
    124       REAL  fluxtop_sw1(ngrid,2)
     124      REAL  fluxtop_dn_sw1(ngrid,2),fluxtop_up_sw1(ngrid,2)
    125125      REAL  tau(ngrid,naerkind)
    126126      REAL  taucloudtes(ngrid)
     
    286286        CALL callradite(icount,ngrid,nlayer,nq,zday,zls,zq,albedo,     &
    287287                 emis,mu0,pplev,pplay,pt,tsurf,fract,dist_sol,igout,   &
    288                  zdtlw1,zdtsw1,fluxsurf_lw1,fluxsurf_sw1,fluxtop_lw1,  &
    289                  fluxtop_sw1,tau_pref_scenario,tau_pref_gcm, &
     288                 zdtlw1,zdtsw1,fluxsurf_lw1,fluxsurf_dn_sw1,fluxsurf_up_sw1, &
     289                 fluxtop_lw1,fluxtop_dn_sw1,fluxtop_up_sw1,  &
     290                 tau_pref_scenario,tau_pref_gcm, &
    290291                 tau,aerosol,dsodust,tauscaling,dust_rad_adjust,IRtoVIScoef, &
    291292                 taucloudtes,rdust,rice,nuice,riceco2,nuiceco2,co2ice,rstormdust,rtopdust, &
Note: See TracChangeset for help on using the changeset viewer.