SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
test_timeserie_read Namespace Reference

Test read routine for Timeserie database. More...

Detailed Description

Test read routine for Timeserie database.

Read all files in a database table, and plot concatenated timeseries.

1 Usage :
2 
3 python test_interface_read_timeserie.py [options]
4 [-h] : brief help
5 -t table_name: one among all timeserie tables
6 -b d1 : beginning date YYYYmmdd (today midnight - 10 days by default)
7 -e d2 : end date YYYYmmdd (today midnight by default)
8 --save : save figure
9 -o imagePath : name of output image. Default: dir.test/TEST/tmp.png
10 -f filepath : path of the wanted file to be read.
11 -v version : version of the file to be read. For instance: V0 Stereo-A/Plastic velocity is in RTN frame, whereas V1 Stereo-A/Plastic velocity is in IAU_SUN frame.
12 -vmin minVal : minimum value of the plot. Call sub.set_ylim function.
13 -vmax maxVal : maximum value of the plot. Call sub.set_ylim function.
14 -sub n m : Make subplot nxm. Default 2x2.