Ignore:
Timestamp:
Dec 6, 2024, 5:47:19 PM (2 weeks ago)
Author:
jbclement
Message:

PEM:
Small fixes to initialize and output ice table-related variables and in the launching script.
JBC

File:
1 edited

Legend:

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

    r3532 r3537  
    995995        if (icetable_equilibrium) then
    996996            call writediagpem(ngrid,'ssi_depth_slope'//str2,'ice table depth','m',2,icetable_depth(:,islope))
    997             call writediagpem(ngrid,'ssi_thick_slope'//str2,'ice table depth','m',2,icetable_thickness(:,islope))
     997            call writediagpem(ngrid,'ssi_thick_slope'//str2,'ice table thickness','m',2,icetable_thickness(:,islope))
    998998        else if (icetable_dynamic) then
    999999            call writediagpem(ngrid,'ssi_depth_slope'//str2,'ice table depth','m',2,icetable_depth(:,islope))
    1000             call writediagpem(ngrid,'ssi_thick_slope'//str2,'ice table depth','m',2,icetable_thickness(:,islope))
    10011000        endif
    10021001
     
    10041003            call writediagsoilpem(ngrid,'tsoil_PEM_slope'//str2,'tsoil_PEM','K',3,tsoil_PEM(:,:,islope))
    10051004            call writediagsoilpem(ngrid,'inertiesoil_PEM_slope'//str2,'TI_PEM','K',3,TI_PEM(:,:,islope))
     1005            if (icetable_dynamic) call writediagpem(ngrid,'ice_porefilling'//str2,'ice pore filling','-',3,ice_porefilling(:,:,islope))
    10061006            if (adsorption_pem) then
    10071007                call writediagsoilpem(ngrid,'co2_ads_slope'//str2,'co2_ads','K',3,co2_adsorbded_phys(:,:,islope))
     
    10701070!------------------------
    10711071! III_a.1 Ice update (for startfi)
    1072 
    10731072watercap = 0.
    10741073perennial_co2ice = co2_ice
     
    12101209if (layering_algo) nb_str_max = get_nb_str_max(stratif,ngrid,nslope) ! Get the maximum number of "stratum" in the stratification (layerings)
    12111210call pemdem0("restartpem.nc",longitude,latitude,cell_area,ngrid,nslope,def_slope,subslope_dist)
    1212 call pemdem1("restartpem.nc",i_myear,nsoilmx_PEM,ngrid,nslope,tsoil_PEM, &
    1213              TI_PEM,icetable_depth,icetable_thickness,ice_porefilling,   &
     1211call pemdem1("restartpem.nc",i_myear,nsoilmx_PEM,ngrid,nslope,tsoil_PEM,TI_PEM,icetable_depth,icetable_thickness,ice_porefilling, &
    12141212             co2_adsorbded_phys,h2o_adsorbded_phys,h2o_ice,stratif)
    12151213write(*,*) "restartpem.nc has been written"
Note: See TracChangeset for help on using the changeset viewer.