6.1.1.5.1.2. thyrsis.simulation.compute_validation module

Creates all databases and run computations for templates defined in /home/user/.thyrsis/compute_validation.csv

This file is a csv file with “;” separators and should have the columns : - template : str, name of the template - point : str, name of the point (from table points_interet) - date : str, date with format “YYYY-MM-DD” - unit : str, unit - value : float, the value to test - comment : str the first line is the header with names of columns : “template;point;date;unit;value;comment”

USAGE:
python -m thyrsis.simulation.compute_validation

[-dir=DIRNAME -raz -init -run -plot -results -a] [template] [-template] [-code=CODENAME_LIST]

OPTIONS

-dir : name of results directory [default: thyrsis_compute_validation] -raz : delete previous results directory -init : create databases -run : run simulations (compute) -results : calculate results -plot : plot results -a : all : init, compute, results and plot template: ne traite que le cas template -template: ne traite pas le cas template -code : nom du code de calcul, sinon code déterminé par Settings

thyrsis.simulation.compute_validation.compute_validation(topdir, init, run, resu, plot, results, codes, raz)
thyrsis.simulation.compute_validation.create_plots(template_dir, codes)
thyrsis.simulation.compute_validation.create_plots_probes(template_dir, codes)
thyrsis.simulation.compute_validation.create_plots_zns(template_dir, codes)