Skip to content

Instantly share code, notes, and snippets.

Avatar

Will Holmgren wholmgren

View GitHub Profile
View probfx_plotting.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wholmgren
wholmgren / reference_forecasts_labeling.ipynb
Last active Sep 12, 2019
notebook useful for debugging interval label issues with Solar Forecast Arbiter's NWP reference forecasts: https://github.com/SolarArbiter/solarforecastarbiter-core/pull/186
View reference_forecasts_labeling.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wholmgren
wholmgren / reference_forecast_nwp.py
Created Jun 4, 2019
proof of concept for combining solar forecast arbiter NWP processing with api requirements. don't use this code.
View reference_forecast_nwp.py
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
@wholmgren
wholmgren / bokeh_report.html
Last active May 24, 2019
rendered solarforecastarbiter report
View bokeh_report.html
This file has been truncated, but you can view the full file.
<!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"
@wholmgren
wholmgren / persistence.ipynb
Last active Apr 30, 2019
notebook to test solarforecastarbiter-core persistence forecast implementions
View persistence.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View git_dirint.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View modelchain_calc_params_mods.py
# in ModelChain
def __init__(..., singlediode_calcparams_model=None)
# calls setters
self.singlediode_calcparams_model = singlediode_calcparams_model
@property
def singlediode_calcparams_model(self):
return self._singlediode_calcparams_model
@singlediode_calcparams_model.setter
@wholmgren
wholmgren / ktus_precip_probability_201802013.ipynb
Created Feb 13, 2018
a simple subjective probabilistic rain forecast
View ktus_precip_probability_201802013.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View brentq.py
# based on scipy/optimize/Zeros/brentq.c
# modified to python by
# William Holmgren william.holmgren@gmail.com @wholmgren
# University of Arizona, 2018
# /* Written by Charles Harris charles.harris@sdl.usu.edu */
#
# #include <math.h>
# #include "zeros.h"
#
You can’t perform that action at this time.