Working with timeseries data
Numerous has tools purpose built for handling timeseries data. Timeseries data is the main input and output of running jobs. You find support for timeseries data in our SDK (opens in a new tab), in datasets and on the scenario page as described below and on the parent page.
See the getting started example for an enample on how to make a job that writes to the timeseries database.
On the scenario page
Inputs
The inputs pane is for adding timeseries data that you use as input for your jobs.
Figure 3: Inputs are timeseries data files or references to other projects and scenarios
Inputs are are references to other scenarios and datasets. You can select scenarios from the same and from other projects. Your jobs are able to reference the output from other jobs on the same scenario, so if you have two jobs you can use one to generate inputs to the other. In total this means that you can reference timeseries input data from the following sources:
- Output from jobs on the same scenario
- Output from jobs on other scenarios
- Datasets and schedules added under the project
- Datasets and schedules added under the scenario (see below)
Datasets can be created by uploading timeseries csv-files or by creating schedules.
Figure 4: Add inputs under the scenario
To add inputs click on the Add input-button.
Here you can select outputs from scenarios under the same project or under other projects.
To add a dataset (timeseries csv-file) or a schedule click on the + New dataset-button.
Outputs
Data output is for displaying timeseries data from numerous build-in timeseries database. When you run jobs that use this feature the data will show up here and you can access the data and create graphs like the one below.
Figure 2: Example of a time series graph that can be made with output data
The timeseries database stores data in data-tags. You can add as many data series as you want. The time format is the unix time stamp.
To access the data output click on the circle with the graph. It is green when there is data ready to be accessed. Add a new report and add the data-tags to your graph.
You can download the data in the graph as a csv-file.
You zoom the data in the graph by dragging the mouse drawing a rectangle over the data where you want to zoom to. To go back doubleclick on the graph.
You can toggle additional scenarios if you want data from other scenarios to be presented alongside the data from the current scenario. Click toggle additional scenarios and add another graph.
See the getting started example for a code example of how to use the time series database in code and create data output graphs.