HISTORY trendPlotter

VERSION	DATE		DESCRIPTION

1.0     2005-08-10	written from scratch
1.1	2006-01-04	support for HEALTH CHECK plots added
1.1.1	2006-03-08	browser calls generalized 
1.1.2	2006-05-17	uses qcdate instead of mjd2date
1.2	2006-06-29	added: CERTIF mode, report groups; PLABEL, HC_COND
1.2.1	2006-07-24	minor modifications
1.2.2	2006-09-22	added: inf, msg files
1.3	2006-11-27	full suport for HISTORY plots (incl. navbar, dynamic configuration)
1.3.1	2007-01-31	minor bug fixed with statistics (2007-01-31)
1.3.2	2007-02-12	added options for thresholds; check mode disabled; bug fixed with PLOT_NAME
1.3.3	2007-04-02 	not NULL check for xparam added
1.3.4	2007-04-26	bug fixed with PLOT_NAME
1.3.5	2007-06-13	bug fixed with median offset
1.4	2007-06-27	CERTIF turned off; RANGE=FULL added; improved navigation; DAILY/NONDAILY marking; OPSLOG table
1.4.1	2007-07-10	dircheck for FULL on web4; check for other processes improved; aliens marking changed
1.4.2	2007-07-12	bug fixes for NOPS and date lines
1.4.3	2007-07-13	transfer to web server generalized (ssh to $WEB_SERVER)
1.4.4	2007-08-07	bug fixed for TMODE=FULL; handling enabled for non-QC trending plots
1.4.5	2007-10-12	string conversion to handle very small number right in SQL (MNe)
1.4.6	2007-10-16	introducing QC_SERVER as optional config key (default: opus8)
1.5	2007-11-30	OPSLOG table improved, update time difference displayed, ftp watcher implemented
1.5.1	2008-01-10	bug fix in line 2699 to have same plot format in overview and closeup plots (BWo)
1.5.2	2008-03-03	set/format changed for precise median calculation; bug fix for opslog output to html (BWo)
1.5.3	2008-04-24	improved self-check (BWo)
-----------------------------------------------------------------------------------------------------
2.0	2008-10-16	upgraded to include scores (QUICK_LOOK)
2.0.1	2008-11-03	ssh/scp with BatchMode=yes (no pausing if public key not found); SCORE_ACTIVE evaluated
2.0.2	2008-11-12	bug fixed with VAL thresholds; 'nowrap' attributes to stabilize line "Last update..."
2.1	2009-02-17	enabled for parallel execution; non-default $MID_WORK, requires scoreHC v1.3
2.1.1	2009-04-01	QC_SERVER obsolete, removed; INFO link --> HELP to align with calChecker et al.
2.1.2	2009-09-30	REFRESH rate relaxed to 300 sec; MARK_NO_DATA configurable; DATE_RANGE=NO added (special feature) 
2.1.3	2009-10-12	SCORE_ACTIVE turned off, minor design changes
2.1.4	2009-10-23	new key DATA_TRANSFER=DISK: for VIRCAM only [BWo]
2.1.5	2009-12-21	direct scp to w1/w2, qcWebcp not used anymore, requires change of QC_DIR in config file
2.2	2010-02-15	new mode MONITOR; DETID displayed in opslog files; DFO_DATE and PSO_DATE follow DFO convention; .msg files included; safweb1 replaced by qcweb
2.3	2010-03-22	added: MON_1; enabled for condor (option -u)
2.4	2010-04-21	added: non-standard configuration HISTO_FLAG
2.5	2010-10-06	added: tooltips; requires scoreHC v1.6; availability plots turned off
2.6	2010-11-23	added: links to daily raw, nightlog, and processing reports from calChecker; added hover effect
2.7	2010-12-20	new option FIXED; warning about 3sig/1sig; java tool for turning off browser_refresh
2.7.1	2011-01-18	better handling of updates to date.dat
2.7.2	2011-02-07	3SIG/1SIG turned off; added to plot signature: "powered by QC" [BWo]
2.7.3	2011-07-06	comment section promoted; new: general comment; tooltipps modified
2.7.4	2011-12-05	${DFO_INSTRUMENT}_POSTIT: instrument news
-----------------------------------------------------------------------------------------------------
3.0	2012-06-12	python used as plot engine, pet.py required; closeup plots: default ticks
3.1	2012-10-08	php comment editor; writes PIPELINE version into HC header; new configurable parameter SFORMAT; improved locking mechanism for date.dat; comes together with pet.py v1.1
3.2	2012-12-04	comment management (checkValidity); comment button on HC reports; FULL symbol on navbar
3.2.1	2013-02-06	hostname marked (invisibly)
3.2.2	2013-10-10	FULL reports not linked by horizontal navbar if TRANGE=FULL and $HTML_NAME_CURRENT (line 2984)
3.3	2013-11-04	stargate1 replaced by $DFO_WEB_SERVER
3.3.1	2014-10-13	minor change in line :1094 for $DATE2
3.3.2	2014-10-29	time-out added for scp/ssh commands [BWo]
3.4	2014-10-31	OPSLOG support de-commissioned [BWo]; comment management changed for non-standard plots
3.4.1	2015-01-13	small bug fixes [BWo]
3.4.2	2015-02-12	AVAIL_YN removed (obsolete) 
3.4.3	2015-02-26	DISPLAY_DETID removed (obsolete) [BWo]
3.5	2015-03-23	ConnectTimeout removed, DTS and ngas flags displayed
3.6	2015-06-30	link to forced refresh of autoDaily; bug fixed with javascript openWin missing for certain non-std configurations; select-->select distinct
3.6.1	2015-07-08	forced_refresh made visible 
3.6.2	2015-09-24	small bug fix for PIPE_VERSION
3.7	2018-02-16	support for KPI plots (labels and REF_VALUES); prepared for upcoming webDocuSys
-----------------------------------------------------------------------------------------------------
4.0 	2019-03-26	usage of Highcharts for close-up plots (2019-03-26)
4.0.1	2019-05-15	create PNGs for close-up only if INTERACTIVE=STATIC
4.0.2	2019-08-21	force the 'refresh' button to go to HQ server (:3182 and :3742)
4.1	2020-07-21	added: QUALITY_EVENTLOG_URL and INCLUDE_QUALITY_EVENTLOG
4.1.1	2020-09-02	fix issue with indicated data range in case of no data 
4.1.2	2020-10-06	fine-tuning the 'quality events' link