Changeset 2423


Ignore:
Timestamp:
03/02/15 14:36:36 (9 years ago)
Author:
labetoulle
Message:

Comments and cleaning in launch_conso.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/ConsoGENCMIP6/launch_conso.sh

    r2422 r2423  
    11#!/bin/bash 
    22# 
    3 # cron pour garder trace de la compta et des volumes de fichiers crees 
    4 # a executer chaque matin a 6h00 
     3# Cron to keep track of the consumption and data volume  
     4# for GENCMIP6 project. 
     5# To be executed every day at 6am 
    56# ====================================================================== 
    67 
     8# Initialize module command 
     9# ========================= 
    710if [ -f /etc/bashrc ] ; then 
    811 . /etc/bashrc 
    912fi 
     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) 
    1017module load python/2.7.8 
    1118 
    12 dods_cp="/ccc/cont003/home/dsm/p86ipsl/bin/dods_cp" 
    13  
     19# Go to root directory 
     20# ==================== 
    1421cd /ccc/cont003/home/dsm/p86ipsl/ConsoGENCMIP6/ 
    1522 
     23# Main script to get data 
     24# ======================= 
    1625bin/conso_gencmip6.py 
    1726 
    18 bin/plot_bilan.py -f 
    19 dods_cp plot/bilan.pdf public/p86ipsl/ConsoGENCMIP6/ 
     27# Plot daily consumption 
     28# ====================== 
     29# -f : plot the whole period of the project 
     30# -d : copy plot on dods 
     31bin/plot_bilan.py -fd 
Note: See TracChangeset for help on using the changeset viewer.