Ignore:
Timestamp:
Feb 13, 2024, 9:41:05 AM (9 months ago)
Author:
jbclement
Message:

PEM:
Small syntax correction of the if condition in "launch_pem.sh" following r3214.
JBC

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

Legend:

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

    r3214 r3215  
    241241- Correction of a bug: 'reshape_XIOS_output' treated the first two PCM runs instead of the last two. The numbering has been adapted in "launch_pem.sh" to get it right.
    242242- PEM outputs ("diagpem.nc" and "diagsoil_pem.nc") has been improved: 'Time' now evolves according to 'dt_pem' (usually year by year) and 'ecritpem' is a full variable of "time_evol_mod.F90".
     243
     244== 13/02/2024 == JBC
     245Small syntax correction of the if condition in "launch_pem.sh" following r3214.
  • trunk/LMDZ.COMMON/libf/evolution/deftank/launch_pem.sh

    r3214 r3215  
    155155    fi
    156156    k=$(echo "$i + 2 - $nPCM_ini" | bc -l)
    157     if [$(echo "$k < 1" | bc -l) -eq 1 ]; then # Only the last 2 years are taken for the PEM
     157    if [ $(echo "$k < 1" | bc -l) -eq 1 ]; then # Only the last 2 years are taken for the PEM
    158158        mv Xdiurnalave.nc diags/data2reshape${iPCM}.nc
    159159    else
     
    239239        fi
    240240        k=$(echo "$i + 2 - $nPCM" | bc -l)
    241         if [$(echo "$k < 1" | bc -l) -eq 1 ]; then # Only the last 2 years are taken for the PEM
     241        if [ $(echo "$k < 1" | bc -l) -eq 1 ]; then # Only the last 2 years are taken for the PEM
    242242            mv Xdiurnalave.nc diags/data2reshape${iPCM}.nc
    243243        else
Note: See TracChangeset for help on using the changeset viewer.