Changeset 677 in lmdz_wrf for trunk


Ignore:
Timestamp:
Jan 18, 2016, 5:35:36 PM (10 years ago)
Author:
lfita
Message:

Fixing pyHOME paths

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/make_geo-aquaplanet.bash

    r188 r677  
    99  rootsh=`pwd`
    1010  export PATH=/u/lflmd/bin/gcc_Python-2.7.5/bin:${PATH}
     11  pyHOME=${HOME}/etudes/WRF_LMDZ/svn/LMDZ_WRF/tools
    1112
    1213  geofile=$1
     
    2930  for var in ${zerov}; do
    3031    echo "  "${var}"..."
    31     python ${HOME}/climatescripts/python/nc_var.py -f ${ofile} -v ${var} -o valmod -S mulc,0.
     32    python ${pyHOME}/nc_var.py -f ${ofile} -v ${var} -o valmod -S mulc,0.
    3233    ivar=`expr ${ivar} + 1`
    3334##    exit
     
    4243    varv=`echo ${var} | tr '|' ' ' | awk '{print $2}'`
    4344    echo "  "${varn}"..."
    44     python ${HOME}/climatescripts/python/nc_var.py -f ${ofile} -v ${varn} -o valmod -S mulc,0.
    45     python ${HOME}/climatescripts/python/nc_var.py -f ${ofile} -v ${varn} -o valmod -S sumc,${varv}
     45    python ${pyHOME}/nc_var.py -f ${ofile} -v ${varn} -o valmod -S mulc,0.
     46    python ${pyHOME}/nc_var.py -f ${ofile} -v ${varn} -o valmod -S sumc,${varv}
    4647    ivar=`expr ${ivar} + 1`
    4748##    exit
  • trunk/tools/make_met-aquaplanet.bash

    r550 r677  
    1919  rootsh=`pwd`
    2020  export PATH=/u/lflmd/bin/gcc_Python-2.7.5/bin:${PATH}
    21   ncvarhome=${HOME}/UNSW-CCRC-WRF/tools/python
     21  ncvarhome=${HOME}/etudes/WRF_LMDZ/svn/LMDZ_WRF/tools
    2222  errormsg='ERROR -- error -- ERROR -- error'
    2323
     
    111111##
    112112  if test ! ${sstkind} = 'original'; then
    113     python sfcVAR_global_modification.py -f ${ofile} -v ${sstname} -k ${sstkind} -L XLONG_M -l XLAT_M -s ${addvalues}
     113    python ${ncvarhome}/sfcVAR_global_modification.py -f ${ofile} -v ${sstname} -k ${sstkind} -L XLONG_M -l XLAT_M -s ${addvalues}
    114114    npy=$?
    115115    if test ! ${npy} -eq 0; then
Note: See TracChangeset for help on using the changeset viewer.