Ignore:
Timestamp:
Mar 23, 2026, 2:55:10 PM (3 weeks ago)
Author:
jbclement
Message:

PEM:

  • Simplification of subroutines to convert data between the physical and the dynamical/lon-lat grids + making them more robust.
  • Correction for air mass to give back to the PCM. The variable is extensive so poles must be treated specifically.
  • Making the PEM able to do 0 year.
  • Explicit information about the frost values computed by the PEM + enforcing positivity of yearly minima.

JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/pem.F90

    r4145 r4147  
    1919! ------------
    2020! Common modules
     21use job_mod,        only: timelimit, antetime, timewall
    2122use parse_args_mod, only: parse_args
    22 use job_mod,        only: timelimit, antetime, timewall
    2323! PEM modules
    2424use allocation,         only: ini_allocation, end_allocation
     
    399399        end do
    400400        totmass_ini = max(totmass_atmco2_ini + totmass_co2ice_ini + totmass_adsco2_ini,minieps_qp) ! To avoid division by 0
    401         call print_msg(" > Relative total CO2 mass balance = "//real2str(100._qp*(totmass_atmco2 + totmass_co2ice + totmass_adsco2 - totmass_atmco2_ini - totmass_co2ice_ini - totmass_adsco2_ini)/totmass_ini)//' %',LVL_NFO)
     401        call print_msg('> Relative total CO2 mass balance = '//real2str(100._qp*(totmass_atmco2 + totmass_co2ice + totmass_adsco2 - totmass_atmco2_ini - totmass_co2ice_ini - totmass_adsco2_ini)/totmass_ini)//' %',LVL_NFO)
    402402        if (abs((totmass_atmco2 + totmass_co2ice + totmass_adsco2 - totmass_atmco2_ini - totmass_co2ice_ini - totmass_adsco2_ini)/totmass_ini) > 0.01_qp) then
    403403            call print_msg('Mass balance is not conserved!',LVL_WRN)
Note: See TracChangeset for help on using the changeset viewer.