SolarArbiter / solarforecastarbiter-api

HTTP API and database schema for the Solar Forecast Arbiter
https://api.solarforecastarbiter.org
MIT License
10 stars 6 forks source link

Event migration, interval label and variable #227

Closed lboeman closed 4 years ago

lboeman commented 4 years ago

Adds a test event forecast object, and forecast data. This test data is added to support https://github.com/SolarArbiter/solarforecastarbiter-core/pull/361. The event forecast metadata is as follows:

{'name': 'Weather Station Event Forecast',
 'issue_time_of_day': '05:00',
 'lead_time_to_start': 60.0,
 'interval_length': 5.0,
 'run_length': 60.0,
 'interval_label': 'event',
 'interval_value_type': 'instantaneous',
 'variable': 'event',
 'aggregate': None,
 'forecast_id': '24cbae4e-7ea6-11ea-86b1-0242ac150002',
 'provider': 'Organization 1',
 'extra_parameters': ''}

I generated a random series of boolean values between 2019-04-14T07:00Z and 2019-04-17T06:55Z to match the index of the available test data for the "DA GHI" forecast (uuid: '11c20780-76ae-4b11-bef1-7a75bdc784e3') at the test "Weather Station" site.

lboeman commented 4 years ago

Took care of those two comments, @alorenzo175 any other concerns before this is merged?