This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
An example script to generate random forecasts for participants | |
in the first test trial of the Solar Forecast Arbiter. | |
This is meant to be explored and modified. A generation script | |
should be run periodically as a cronjob or via another scheduling | |
mechanism at an appropriate interval that will be determined by | |
the trial/forecast parameters. | |
""" | |
import logging | |
import sys |
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 1 column, instead of 3 in line 2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# observation_id: 8feffe15-a0fc-11ea-9a25-9a2ee76b6523 | |
# metadata: http://localhost:5000/observations/8feffe15-a0fc-11ea-9a25-9a2ee76b6523/metadata | |
timestamp,value,quality_flag | |
20200525T05:59:00+0000,-2.42e-06,18 | |
20200525T06:00:00+0000,-2.5e-06,18 | |
20200525T06:01:00+0000,-2.57e-06,18 | |
20200525T06:02:00+0000,-2.35e-06,18 | |
20200525T06:03:00+0000,-2.57e-06,18 | |
20200525T06:04:00+0000,-2.42e-06,18 | |
20200525T06:05:00+0000,-2.64e-06,18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
An example script to generate random forecasts for participants | |
in the first test trial of the Solar Forecast Arbiter. | |
This script should be run as cronjob or via another scheduling | |
mechanism at an appropriate interval that will be determined by | |
the trial/forecast parameters. | |
""" | |
import logging | |
import sys |