Changeset 3446 for trunk


Ignore:
Timestamp:
Sep 30, 2024, 6:33:28 PM (7 weeks ago)
Author:
jbclement
Message:

PEM:
Correction of the launching script for a relaunch situation.
JBC

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

Legend:

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

    r3442 r3446  
    433433== 27/09/2024 == JBC
    434434Correction: the potential temperature teta is now updated due to the change of surface pressure at the end of the PEM to write the "restart.nc" file.
     435
     436== 30/09/2024 == JBC
     437Correction of the launching script for a relaunch situation.
  • trunk/LMDZ.COMMON/libf/evolution/deftank/lib_launchPEM.sh

    r3432 r3446  
    332332    else
    333333        # PCM relaunch during a cycle
    334         iPEM=$((($irelaunch - $nPCM_ini - 1)/$nPCM + 1))
    335         il=$(echo "($irelaunch - $nPCM_ini - 1)%$nPCM + 1" | bc -l)
     334        iPEM=$(echo "($iPCM - $nPCM_ini)/$nPCM + 1" | bc)
     335        il=$(echo "($irelaunch - $nPCM_ini + 1)%$nPCM + 1" | bc)
    336336        cleanfiles diags/diagpem .nc $iPEM
    337337        cleanfiles "out_PEM/run" "" $iPEM
  • trunk/LMDZ.COMMON/libf/evolution/pem.F90

    r3442 r3446  
    10771077enddo
    10781078
    1079 ! III_a.2  Tsoil update (for startfi)
     1079! III_a.2 Tsoil update (for startfi)
    10801080if (soil_pem) then
    10811081    call interpol_TI_PEM2PCM(ngrid,nslope,nsoilmx_PEM,nsoilmx,TI_PEM,inertiesoil)
Note: See TracChangeset for help on using the changeset viewer.