Line | |
---|
1 | #!/bin/bash |
---|
2 | # |
---|
3 | # Cron to keep track of the consumption and data volume |
---|
4 | # for GENCMIP6 project. |
---|
5 | # To be executed every day at 6am |
---|
6 | # ====================================================================== |
---|
7 | |
---|
8 | # Initialize module command |
---|
9 | # ========================= |
---|
10 | if [ -f /etc/bashrc ] ; then |
---|
11 | ./etc/bashrc |
---|
12 | fi |
---|
13 | # Load python |
---|
14 | # =========== |
---|
15 | #Â python/2.7.3 is the default, but it comes with matplotlib 1.2, |
---|
16 | # which is too old (no context manager for PdfPages) |
---|
17 | module load python/2.7.8 |
---|
18 | |
---|
19 | # Go to root directory |
---|
20 | # ==================== |
---|
21 | cd /ccc/cont003/home/dsm/p86ipsl/ConsoGENCMIP6/ |
---|
22 | |
---|
23 | # Main script to get data |
---|
24 | # ======================= |
---|
25 | bin/conso_gencmip6.py |
---|
26 | |
---|
27 | # Plot daily consumption |
---|
28 | # ====================== |
---|
29 | # -f : plot the whole period of the project |
---|
30 | # -d : copy plot on dods |
---|
31 | bin/plot_bilan.py -fd |
---|
Note: See
TracBrowser
for help on using the repository browser.