31
-- SID Monitor Overview
-- Installation
-- Graphical User Interface
--- Menubar
--- Graph Area
--- Date Tab
--- Channels Tab
--- GOES Tab
--- Message Pane
--- Status Bar
--- Notification Icon
--- Options
---- Options Startup
---- Options Data Acquisition
---- Options Channels
---- Options Database
---- Options Forecast
---- Options Graph
---- Options Report and Alert
---- Options Location
--- Reapply Algorithm Parameters
--- Generate Report
--- View Report
--- Sunrise and Sunset times calculator
--- About information box
-- FAQ
--- FAQ Reports
--- FAQ Databases
--- FAQ Forecast
-- Licence
-- Credits
SID Monitoring Station

FAQ FAQ – Databases

SID Monitor uses RRDTool for the management of the databases. This tool handles databases according to the "round robin" scheme. They have predefined fixed sizes, and the newer values are overwritten over the oldest ones.
This FAQ assumes the reader has a good knowledge of RRDTool commands.

Channels Database

Contents

The Channels database stores all channels signal levels. It has a capacity of 31 days. One dataset named sun is defined to store the sun position with an update period of 1 minute.
Each channel has its own dataset. Nominal refresh period of the signal level is set in the Data Acquisition panel.

Example

Here is an example of creation of the Channels database.

	  rrdtool create "D:\...\sid-test.rrd"
	  --start 1147361783 --step 10
	  DS:sun:GAUGE:120:0:8
	  DS:test:GAUGE:20:0:4096
	  RRA:AVERAGE:0.99:1:267840
	  RRA:HWPREDICT:267840:0.50:0.50:8640:3
	  RRA:SEASONAL:8640:0.50:2
	  RRA:DEVSEASONAL:8640:0.50:2
	  RRA:DEVPREDICT:267840:4
	  RRA:FAILURES:267840:7:9:4 
	  

Refresh period (step) is set to 10 seconds. It corresponds to the sampling period of the signal level as defined in the Options menu.
Two datasets are created, sun and test with a GAUGE data type.
For the sun dataset, the heartbeat is set to 120 seconds, meaning that at least one value every two minutes is necessary, otherwise the interval value will be set to Unknown. Nominal update is every minute. Minimum and Maximum values are respectively set to 0 and 8.
For the test dataset, the heartbeat is set to 20 seconds, meaning that at least one value out of two is necessary, otherwise the interval value will be set to Unknown. Minimum and Maximum values are set to 0 and 4096, expressed in mV.
The first archive stores actual values from the 'sun' and the 'test' datasets. It has the AVERAGE consolidation function, with a step parameter of 1, meaning that no average is done. The number of rows (267840) corresponds to the number of 10-seconds intervals in 31 days... The xff parameter is set to 0.99, meaning that 99% of the data may be missing while still validating a given interval.
The subsequent archives HWPREDICT, SEASONAL, DEVSEASONAL, DEVPREDICT and FAILURES are related to the Holt-Winters algorithm. "Alpha", "Beta", "Gamma seasonal" and "Gamma dev seasonal" parameters are set to 0.5. The seasonal period (8640) corresponds to the number of 10-seconds intervals in one day. The window length (9) and the threshold (7) have their default values.

GOES Database

Contents

The GOES database stores all GOES X-ray flux values downloaded from the internet. It has a capacity of 31 days.
It contains three datasets, goes10, goes11 and goes12, corresponding to each source of data. Nominal refresh interval is 1 minute.

Example

Here is an example of creation of the GOES database.

Refresh period (step) is set to 60 seconds. It corresponds to the sampling interval of the X-ray flux data.
Two datasets are created, goesp (Primary GOES data) and goess (Secondary GOES data) with a GAUGE data type. Heartbeat is set to 120 seconds, meaning that at least one value every two minutes is necessary, otherwise the interval value will be set to Unknown. Minimum and Maximum values are not set.
Only one archive is defined. It has the AVERAGE consolidation function, with a step parameter of 1, meaning that no average is done. The number of rows (44640) corresponds to the number of minutes in 31 days... The xff parameter is set to 0.99, meaning that 99% of the data may be missing while still validating a given interval.

	  rrdtool create "D:\...\goes-test.rrd"
	  --start 1144683393 --step 60
	  DS:goesp:GAUGE:120:U:U DS:goess:GAUGE:120:U:U
	  RRA:AVERAGE:0.99:1:44640
      

Copyright (c) 2006-2011 Lionel Loudet
Home Page: http://sidstation.loudet.org/sidmonitor/
Creative Commons License SID monitoring station by Lionel LOUDET is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Disclaimer
Last Update: 31 Aug 2014
Apache Web Server PHP
Apache/2.4.62 (Debian)
Valid XHTML + RDFa Valid CSS!
Page generated in 0.021 seconds.