Changeset 2066 in lmdz_wrf


Ignore:
Timestamp:
Aug 10, 2018, 11:18:20 AM (6 years ago)
Author:
lfita
Message:

Fixing creation of time variable into the right file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/get_WRFsounding-surface_data.bash

    r2057 r2066  
    418418      mv selvar_new.nc ${simsfcmapdiagsf}
    419419      python ${pyHOME}/nc_var.py -o WRF_CFtime_creation -S 19491201000000,minutes    \
    420         -f ${simsfcdiagsf} -v time
     420        -f ${simsfcmapdiagsf} -v time
    421421      if test $? -ne 0; then
    422422        echo ${errmsg}
    423423        echo "  python failed!!"
    424424        echo python ${pyHOME}/nc_var.py -o WRF_CFtime_creation -S 19491201000000,minutes \
    425         -f ${simsfcdiagsf} -v time
    426         exit
    427         rm ${simsfcdiagsf}
     425        -f ${simsfcmapdiagsf} -v time
     426        exit
     427        rm ${simsfcmapdiagsf}
    428428      fi
    429429      echo "* creation of CF-time variable for file at sfc point: "${stlon}", "      \
    430430        ${stlat} >> ${ofileins}
    431431      echo python ${pyHOME}/nc_var.py -o WRF_CFtime_creation -S 19491201000000,minutes \
    432         -f ${simsfcdiagsf} -v time >> ${ofileins}
     432        -f ${simsfcmapdiagsf} -v time >> ${ofileins}
    433433      echo " " >> ${ofileins}
    434434    fi
     
    756756      mv selvar_new.nc ${simsfcmapdiagsf}
    757757      python ${pyHOME}/nc_var.py -o WRF_CFtime_creation -S 19491201000000,minutes    \
    758         -f ${simsfcdiagsf} -v time
     758        -f ${simsfcmapdiagsf} -v time
    759759      if test $? -ne 0; then
    760760        echo ${errmsg}
    761761        echo "  python failed!!"
    762762        echo python ${pyHOME}/nc_var.py -o WRF_CFtime_creation -S 19491201000000,minutes \
    763         -f ${simsfcdiagsf} -v time
    764         exit
    765         rm ${simsfcdiagsf}
     763        -f ${simsfcmapdiagsf} -v time
     764        exit
     765        rm ${simsfcmapdiagsf}
    766766      fi
    767767      echo "* creation of CF-time variable for file at sfc point: "${stlon}", "      \
    768768        ${stlat} >> ${ofileins}
    769769      echo python ${pyHOME}/nc_var.py -o WRF_CFtime_creation -S 19491201000000,minutes \
    770         -f ${simsfcdiagsf} -v time >> ${ofileins}
     770        -f ${simsfcmapdiagsf} -v time >> ${ofileins}
    771771      echo " " >> ${ofileins}
    772772    fi
Note: See TracChangeset for help on using the changeset viewer.