Ignore:
Timestamp:
May 5, 2023, 2:23:32 PM (20 months ago)
Author:
emillour
Message:

Generic PCM:
Upgrade wstats following the Mars PCM one. It is now a module and there no
longer needs to have if (callstats) around a call to wstats as it managed
internally in the wstats routine.
In addition: wstats now looks for an (optional) stats.def file in the
directory where the GCM is run to know which variable should be included
in the stats.nc file. The stats.def ASCII file should simply contain
one variable name per line, in the same way as the diagfi.def file for
diagfi outputs. If there is no stats.def file then all variables sent to
wstats will be in the stats.nc file (which matches the behaviour prior to
this improvement).
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/aeronostd/calchim_asis.F90

    r2542 r2958  
    1414      use chimiedata_h
    1515      use radcommon_h,      only: glat
     16      use wstats_mod, only: wstats
    1617
    1718      implicit none
     
    339340      if (photochem .and. output) then
    340341
    341          if (callstats) then
    342342            ! photoloysis
    343343            do i=1,nb_phot_hv_max
     
    371371               end do
    372372            endif ! end depos
    373          endif ! end callstats
    374373
    375374         ! photoloysis
Note: See TracChangeset for help on using the changeset viewer.