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
from datetime import datetime, timedelta | |
# python dates from | |
# https://www.python.org/doc/versions/ | |
# numpy dates from | |
# https://pypi.org/project/numpy/#history | |
data = """Jan 15, 2017: NumPy 1.12 | |
Sep 13, 2015: Python 3.5 | |
Dec 23, 2016: Python 3.6 |
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 or observation-informed forecasts | |
for participants of trials using the Solar Forecast Arbiter. | |
This script 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. | |
""" |
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 |
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
"""Insert RTC Cocoa Beach weather data provided by Manajit Sengupta (NREL).""" | |
import sys | |
from pathlib import Path | |
import os | |
import numpy as np | |
import pandas as pd |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import datetime | |
from functools import partial | |
from pathlib import Path | |
import pandas as pd | |
from solarforecastarbiter import datamodel | |
from solarforecastarbiter.reference_forecasts import main, models | |
from solarforecastarbiter.io.fetch import nwp as fetch_nwp |
This file has been truncated, but you can view the full file.
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
<!doctype html> | |
<html lang="en" class="h-100"> | |
<head> | |
<link | |
href="https://cdn.pydata.org/bokeh/release/bokeh-1.1.0.min.css" | |
rel="stylesheet" type="text/css"> | |
<link | |
href="https://cdn.pydata.org/bokeh/release/bokeh-widgets-1.1.0.min.css" | |
rel="stylesheet" type="text/css"> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder