Ignore:
Timestamp:
Jan 16, 2023, 4:47:12 PM (2 years ago)
Author:
jleconte
Message:

Cleaning up in interface v4

Location:
trunk/WRF.COMMON/INTERFACES_V4/dynphy_wrf_generic_lmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WRF.COMMON/INTERFACES_V4/dynphy_wrf_generic_lmd/update_inputs_physiq_mod.F

    r2868 r2872  
    2626  REAL,INTENT(OUT) :: MY
    2727  REAL :: sec,nsec
    28  
     28  print*,'GMT, elaps/3600=',GMT,elaps/3600.
    2929  !IF (JULYR .le. 8999) THEN
    30   !  if (tlocked .eqv. .false.) THEN
     30    if (tlocked .eqv. .false.) THEN
    3131      JH_cur_split = (GMT + elaps/3600.) !! universal time (0<JH_cur_split<1): JH_cur_split=0.5 at 12:00 UT
    3232      JH_cur_split = MODULO(JH_cur_split,24.)   !! the two arguments of MODULO must be of the same type
     
    5151  !    !ptime = lct_input - lon_input / 15. + elaps/3600.
    5252  !    !pday =  INT((3600*(lct_input - lon_input / 15.) + elaps)/86400)
    53   !  ELSE
    54   !    JH_cur_split = lct_input - lon_input / 15. !+ elaps/1500.0
     53  ELSE
     54       JH_cur_split = 0.
     55       JD_cur = 0.
    5556  !    !pday =  INT((sec*(lct_input - lon_input / 15.)+ elaps)/36000)
    5657  !    JD_cur =  INT((sec*(lct_input - lon_input / 15.))/3600)
     
    6364  !    MY = 2024
    6465  !  ENDIF
    65   !ENDIF
     66  ENDIF
    6667
    6768
     
    8687    noms(1)="h2o_vap"
    8788    noms(2)="h2o_ice"
    88   else if (TRACER_MODE .eq. 22)  then
    89     nqtot=2
    90     IF (.not.ALLOCATED(noms)) ALLOCATE(noms(nqtot)) !! est fait dans initracer normalement
    91     noms(1)="co2_vap"
    92     noms(2)="co2_ice"
    9389  else
    9490    nq=1
     
    325321     SELECT CASE (TRACER_MODE)
    326322       CASE(1)
    327        qsurf(subs,2)=M_H2OICE(i,j)    !! logique avec noms(2) = 'h2o_ice' defini ci-dessus
     323         qsurf(subs,2)=M_H2OICE(i,j)  !! logique avec noms(2) = 'h2o_ice' defini ci-dessus
    328324                                      !! ----- retrocompatible ancienne physique
    329325                                      !! ----- [H2O ice is last tracer in qsurf in LMD physics]
    330        CASE(2)   
    331        qsurf(subs,1)=0.                !! not coupled with lifting for the moment [non remobilise]
    332        !CASE(3)
    333        !qsurf(subs,1)=q_prof(1,1)                !!! temporaire, a definir       
    334        !qsurf(subs,2)=q_prof(1,2)     
    335        CASE(11)
    336        qsurf(subs,2)=M_H2OICE(i,j)    !! logique avec noms(2) = 'h2o_ice' defini ci-dessus
    337        qsurf(subs,3)=0.                !! not coupled with lifting for the moment [non remobilise]
    338        CASE(12)
    339        qsurf(subs,2)=M_H2OICE(i,j)    !! logique avec noms(2) = 'h2o_ice' defini ci-dessus
    340        qsurf(subs,3)=0.                !! not coupled with lifting for the moment [non remobilise]
    341326     END SELECT
    342327
  • trunk/WRF.COMMON/INTERFACES_V4/dynphy_wrf_generic_lmd/update_outputs_physiq_mod.F

    r2868 r2872  
    156156            ims,ime,jms,jme,kms,kme,&
    157157            ips,ipe,jps,jpe,kps,kpe,&
    158             SWDOWNZ,TAU_DUST,QSURFDUST,&
    159             MTOT,ICETOT,TAU_ICE,&
    160             HR_SW,HR_LW,HR_DYN,DT,DT_RAD,&
    161             RDUST,VMR_ICE,RICE,&
     158            HR_SW,HR_LW,HR_DYN,DT_RAD,&
    162159            CLOUDFRAC,TOTCLOUDFRAC,RH,&
    163160            DQICE,DQVAP,REEVAP,SURFRAIN,ALBEQ,FLUXTOP_DN,FLUXABS_SW,FLUXTOP_LW,FLUXSURF_SW,&
     
    169166   INTEGER, INTENT(IN) :: ips,ipe,jps,jpe,kps,kpe
    170167   REAL, DIMENSION( ims:ime, jms:jme ), INTENT(INOUT) :: &
    171      SWDOWNZ,TAU_DUST,QSURFDUST,&
    172      MTOT,ICETOT,TAU_ICE,&
    173168     TOTCLOUDFRAC,ALBEQ,FLUXTOP_DN,FLUXABS_SW,FLUXTOP_LW,FLUXSURF_SW,&
    174169     FLUXSURF_LW,FLXGRD,LATENT_HF,REEVAP,SURFRAIN
    175170   REAL, DIMENSION( ims:ime, kms:kme, jms:jme ), INTENT(INOUT ) :: &
    176      HR_SW,HR_LW,RDUST,VMR_ICE,RICE,CLOUDFRAC,HR_DYN,DT,DT_RAD,RH,DQICE,DQVAP,&
     171     HR_SW,HR_LW,CLOUDFRAC,HR_DYN,DT_RAD,RH,DQICE,DQVAP,&
    177172     DTLSC,DTRAIN,DT_MOIST,H2OICE_REFF
    178173   INTEGER :: i,j,subs
Note: See TracChangeset for help on using the changeset viewer.