Last change
on this file since 2423 was
2423,
checked in by labetoulle, 9 years ago
|
Comments and cleaning in launch_conso.sh
|
File size:
791 bytes
|
Rev | Line | |
---|
[2422] | 1 | #!/bin/bash |
---|
| 2 | # |
---|
[2423] | 3 | # Cron to keep track of the consumption and data volume |
---|
| 4 | # for GENCMIP6 project. |
---|
| 5 | # To be executed every day at 6am |
---|
[2422] | 6 | # ====================================================================== |
---|
| 7 | |
---|
[2423] | 8 | # Initialize module command |
---|
| 9 | # ========================= |
---|
[2422] | 10 | if [ -f /etc/bashrc ] ; then |
---|
| 11 | . /etc/bashrc |
---|
| 12 | fi |
---|
[2423] | 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) |
---|
[2422] | 17 | module load python/2.7.8 |
---|
| 18 | |
---|
[2423] | 19 | # Go to root directory |
---|
| 20 | # ==================== |
---|
[2422] | 21 | cd /ccc/cont003/home/dsm/p86ipsl/ConsoGENCMIP6/ |
---|
| 22 | |
---|
[2423] | 23 | # Main script to get data |
---|
| 24 | # ======================= |
---|
[2422] | 25 | bin/conso_gencmip6.py |
---|
| 26 | |
---|
[2423] | 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.