Changeset 2263 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Mar 19, 2020, 12:30:06 PM (5 years ago)
Author:
jnaar
Message:

[MARS GCM] Adding watercap in start2archive. When absent in the start files, it is initialized at 0,
and qsurf(igcm_h2o_ice) can no longer be negative. The negative fraction of qsurf(h2o_ice),
if it exists, is set in watercap.
JN

File:
1 edited

Legend:

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

    r2167 r2263  
    6464      REAL tsoil(ngridmx,nsoilmx) ! Soil temperature
    6565      REAL co2ice(ngridmx)        ! CO2 ice layer
     66      REAL watercap(ngridmx)        ! h2o ice layer
    6667      REAL tauscaling(ngridmx) ! dust conversion factor
    6768      REAL totcloudfrac(ngridmx) ! sub-grid cloud fraction
     
    8586      REAL ithS(ip1jmp1,nsoilmx) ! Soil Thermal Inertia
    8687      REAL co2iceS(ip1jmp1)
     88      REAL watercapS(ip1jmp1)
    8789      REAL tauscalingS(ip1jmp1)
    8890      REAL totcloudfracS(ip1jmp1)
     
    165167     &      day_ini_fi,timefi,tsurf,tsoil,albedo,emis,q2,qsurf,co2ice,
    166168     &      tauscaling,totcloudfrac,wstar,mem_Mccn_co2,mem_Nccn_co2,
    167      &               mem_Mh2o_co2)
     169     &               mem_Mh2o_co2,watercap)
    168170
    169171       ierr = NF_OPEN (fichnom, NF_NOWRITE,nid1)
     
    259261      call gr_fi_dyn(1,ngridmx,iip1,jjp1,tsurf,tsurfS)
    260262      call gr_fi_dyn(1,ngridmx,iip1,jjp1,co2ice,co2iceS)
     263      call gr_fi_dyn(1,ngridmx,iip1,jjp1,watercap,watercapS)
    261264      call gr_fi_dyn(nsoilmx,ngridmx,iip1,jjp1,tsoil,tsoilS)
    262265      ! Note: thermal inertia "inertiedat" is in comsoil.h
     
    355358      call write_archive(nid,ntime,'co2ice','couche de glace co2',
    356359     &  'kg/m2',2,co2iceS)
     360      call write_archive(nid,ntime,'watercap','couche de glace h2o',
     361     &  'kg/m2',2,watercapS)
    357362      call write_archive(nid,ntime,'tauscaling',
    358363     &  'dust conversion factor',' ',2,tauscalingS)
Note: See TracChangeset for help on using the changeset viewer.