Skip to content

Instantly share code, notes, and snippets.

Avatar

Tony Lorenzo alorenzo175

View GitHub Profile
View trial_random_data_forecast_upload.py
"""
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
View Albuquerque_NM_ac_power_2020-05-25T05_59_00+00_00-2020-05-28T05_59_00+00_00.csv
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.
# 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
@alorenzo175
alorenzo175 / test_trial_1_random_forecast_upload.py
Created May 18, 2020
Solar Forecast Arbiter Test Trial 1 Script
View test_trial_1_random_forecast_upload.py
"""
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
You can’t perform that action at this time.