Ignore:
Timestamp:
May 19, 2017, 11:19:17 AM (8 years ago)
Author:
mvals
Message:

Mars GCM

  • implementation of a sub-grid water cloud fraction scheme (by A. Pottier): If CLFvarying is set to true in callphys.def, then the sub-grid cloud fraction routine is applied in watercloud.F and aeropacity.F.
  • accordingly modified files are: watercloud.F, aeropacity.F, callradite.F, conf_phys.F, phyetat0.F, phyredem.F90, physiq_mod.F, testphys1d.F, callkeys.h, newtsart.F, start2archive.F, lect_start_archive.F
  • added file: tcondwater.F90, used by watercloud.F to calculate the condensation temperature of water
  • watercloud.F, aeropacity.F, callradite.F are converted to module files as watercloud_mod.F, aeropacity_mod.F, callradite_mod.F

MV

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/phyetat0.F90

    r1621 r1711  
    11subroutine phyetat0 (fichnom,tab0,Lmodif,nsoil,ngrid,nlay,nq, &
    22                     day_ini,time0,tsurf,tsoil,emis,q2,qsurf,co2ice, &
    3                      tauscaling)
     3                     tauscaling,totcloudfrac)
    44!  use netcdf
    55  use tracer_mod, only: noms ! tracer names
     
    4646  real,intent(out) :: co2ice(ngrid) ! co2 ice cover
    4747  real,intent(out) :: tauscaling(ngrid) ! dust conversion factor
    48 
     48  real,intent(out) :: totcloudfrac(ngrid) ! total cloud fraction
    4949!======================================================================
    5050!  Local variables:
     
    241241endif
    242242
     243! Sub-grid cloud fraction
     244call get_field("totcloudfrac",totcloudfrac,found,indextime)
     245if (.not.found) then
     246  write(*,*) "phyetat0: <totcloudfrac> not in file WARNING put to 1"
     247  totcloudfrac(:) = 1.0 !valeur par defaut (CLFfixval par defaut)
     248else
     249  write(*,*) "phyetat0: total cloud fraction <totcloudfrac> range:", &
     250             minval(totcloudfrac), maxval(totcloudfrac)
     251endif
    243252
    244253! Surface temperature :
Note: See TracChangeset for help on using the changeset viewer.