#!/bin/bash #set -x set -e # 0 cd $HOME # 1 - Update the CROCO + CROCO_TOOLS code cp -r /home/courses/student01/CROCO . #2 -define YOU_CONFIG and go in it ################################### YOUR_CONFIG=$1 echo "YOUR_CONFIG is "$1 cd CONFIGS/${YOUR_CONFIG} echo `pwd` # 3- Go in PREPRO/WRF-WPS cd ${HOME}/CONFIGS/${YOUR_CONFIG}/PREPRO/WRF_WPS cp -r ${HOME}/CROCO/croco_tools-v1.3.1/Coupling_tools/WRF_WPS/run_wps.bash . cd - echo "Yes , Update done !"