Changeset 3118 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Nov 8, 2023, 4:34:28 PM (13 months ago)
Author:
llange
Message:

Mars PCM
Following -r 3113, fixing newstart & startarchive by implementing the changes in phyredem1 and phyetat0, i.e., adding qsoil and nqsoil in the arguments of the subroutine
I've tested newstart with existing files and it is okay. start2archive does not seems to work because of
an issue with perenial_ice. I'll look at it later.
LL

Location:
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/newstart.F

    r3025 r3118  
    3434      use comsoil_h, only: inertiedat, inertiesoil,layer, mlayer,
    3535     & nsoilmx,tsoil,ini_comsoil_h_slope_var, end_comsoil_h_slope_var,
    36      & flux_geo
     36     & flux_geo,qsoil,nqsoil
    3737      use control_mod, only: day_step, iphysiq, anneeref, planet_type
    3838      use geometry_mod, only: longitude,latitude,cell_area
     
    465465        fichnom = 'startfi.nc'
    466466        CALL phyetat0 (fichnom,tab0,Lmodif,nsoilmx,ngridmx,llm,nqtot,
    467      &        day_ini,time,tsurf,tsoil,albedo,emis,
    468      &        q2,qsurf,tauscaling,totcloudfrac,
     467     &        nqsoil,day_ini,time,tsurf,tsoil,albedo,emis,
     468     &        q2,qsurf,qsoil,tauscaling,totcloudfrac,
    469469     &        wstar,watercap,perenial_co2ice,
    470470     &        def_slope,def_slope_mean,subslope_dist)
     
    20072007     &              albfi,ithfi,def_slope,
    20082008     &              subslope_dist)
    2009       call physdem1("restartfi.nc",nsoilmx,ngridmx,llm,nqtot,
     2009      call physdem1("restartfi.nc",nsoilmx,ngridmx,llm,nqtot,nqsoil,
    20102010     &              dtphys,hour_ini,
    2011      &              tsurf,tsoil,inertiesoil,albedo,emis,q2,qsurf,
     2011     &              tsurf,tsoil,inertiesoil,albedo,
     2012     &              emis,q2,qsurf,qsoil,
    20122013     &              tauscaling,totcloudfrac,wstar,watercap,
    20132014     &              perenial_co2ice)
  • trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/start2archive.F

    r2999 r3118  
    2020
    2121      use infotrac, only: infotrac_init, nqtot, tname
    22       use comsoil_h, only: nsoilmx, inertiedat, inertiesoil
     22      use comsoil_h, only: nsoilmx, inertiedat, inertiesoil,
     23     &                     nqsoil, qsoil
    2324      use surfdat_h, only: ini_surfdat_h, qsurf,watercaptag
    2425      use comsoil_h, only: ini_comsoil_h
     
    186187      allocate(subslope_distS(ip1jmp1,nslope))
    187188
    188       CALL phyetat0 (fichnom,0,Lmodif,nsoilmx,ngridmx,llm,nqtot,
    189      &      day_ini_fi,timefi,tsurf,tsoil,albedo,emis,q2,qsurf,
     189      CALL phyetat0(fichnom,0,Lmodif,nsoilmx,ngridmx,llm,nqtot,nqsoil,
     190     &      day_ini_fi,timefi,tsurf,tsoil,albedo,emis,q2,qsurf,qsoil,
    190191     &      tauscaling,totcloudfrac,wstar,watercap,perenial_co2ice,
    191192     &      def_slope, def_slope_mean,subslope_dist)
Note: See TracChangeset for help on using the changeset viewer.