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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.