Changeset 2427 for TOOLS/ConsoGENCMIP6/launch_conso.sh
- Timestamp:
- 03/02/15 17:43:15 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/ConsoGENCMIP6/launch_conso.sh
r2424 r2427 23 23 # Main script to get data 24 24 # ======================= 25 bin/conso_gencmip6.py 25 script="conso_gencmip6" 26 printf "${script}\n" 27 echo "--------------------" 28 bin/${script}.py 29 rc=$? 30 if [ ${rc} -ne 0 ] ; then 31 echo "${script} terminated abnormally" 32 exit 33 else 34 echo "${script} OK" 35 fi 26 36 27 37 # Plot daily consumption … … 29 39 # -f : plot the whole period of the project 30 40 # -d : copy plot on dods 31 bin/plot_bilan.py -fd 41 script="plot_bilan" 42 printf "\n${script}\n" 43 echo "--------------------" 44 bin/${script}.py -fd 45 rc=$? 46 if [ ${rc} -ne 0 ] ; then 47 echo "${script} terminated abnormally" 48 else 49 echo "${script} OK" 50 fi 51 52 script="plot_login" 53 printf "\n${script}\n" 54 echo "--------------------" 55 bin/${script}.py -d 56 rc=$? 57 if [ ${rc} -ne 0 ] ; then 58 echo "${script} terminated abnormally" 59 else 60 echo "${script} OK" 61 fi 62 63 script="plot_store" 64 printf "\n${script}\n" 65 echo "--------------------" 66 bin/${script}.py -d 67 rc=$? 68 if [ ${rc} -ne 0 ] ; then 69 echo "${script} terminated abnormally" 70 else 71 echo "${script} OK" 72 fi 73 74 printf "\nEnd of script OK\n"
Note: See TracChangeset
for help on using the changeset viewer.