Ignore:
Timestamp:
Jan 8, 2024, 12:12:09 PM (11 months ago)
Author:
llange
Message:

PEM
Fixing bug when rewritting the startfi.nc for the PCM: fluxgeo, read in the run_PEM.def, was not written in the startfi.

LL

Location:
trunk/LMDZ.COMMON/libf/evolution
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/changelog.txt

    r3171 r3172  
    192192== 05/01/2024 == LL
    193193Add the possibily to output the soil fields during a PEM run in a dedicated diagsoilpem
     194
     195== 08/01/2024 == LL
     196Fixing bug when rewritting the startfi.nc for the PCM: fluxgeo, read in the run_PEM.def,  was not written in the startfi.
     197
  • trunk/LMDZ.COMMON/libf/evolution/pem.F90

    r3171 r3172  
    7171
    7272#ifndef CPP_STD
    73     use comsoil_h,          only: tsoil, nsoilmx, ini_comsoil_h, inertiedat, mlayer, volcapa, inertiesoil, nqsoil, qsoil
     73    use comsoil_h,          only: tsoil, nsoilmx, ini_comsoil_h, inertiedat, mlayer, volcapa, inertiesoil, flux_geo, nqsoil, qsoil
    7474    use surfdat_h,          only: tsurf, emis, qsurf, watercap, ini_surfdat_h, &
    7575                                  albedodat, zmea, zstd, zsig, zgam, zthe,     &
     
    984984    call interpol_TI_PEM2PCM(ngrid,nslope,nsoilmx_PEM,nsoilmx,TI_PEM,inertiesoil)
    985985    tsoil = tsoil_phys_PEM_timeseries(:,1:nsoilmx,:,timelen)
     986#ifndef CPP_STD
     987    flux_geo(:,:) = fluxgeo
     988#endif
    986989endif
    987990
  • trunk/LMDZ.COMMON/libf/evolution/pemredem.F90

    r3149 r3172  
    1919
    2020! create physics restart file and write time-independent variables
    21 use comsoil_h_PEM,     only: soil_pem,mlayer_PEM,fluxgeo,inertiedat_PEM
     21use comsoil_h_PEM,     only: soil_pem,mlayer_PEM,inertiedat_PEM
    2222use iostart_PEM,       only: open_restartphy, close_restartphy, put_var, put_field, length
    2323use mod_grid_phy_lmdz, only: klon_glo
     
    7373! write time-dependent variable to restart file
    7474use iostart_PEM,   only: open_restartphy, close_restartphy, put_var, put_field
    75 use comsoil_h_PEM, only: mlayer_PEM,fluxgeo, inertiedat_PEM, soil_pem
     75use comsoil_h_PEM, only: mlayer_PEM, inertiedat_PEM, soil_pem
    7676use time_evol_mod, only: year_bp_ini, convert_years
    7777
Note: See TracChangeset for help on using the changeset viewer.