solarforecastarbiter.reference_forecasts.models.gefs_half_deg_to_hourly_mean

solarforecastarbiter.reference_forecasts.models.gefs_half_deg_to_hourly_mean(latitude, longitude, elevation, init_time, start, end, interval_label, load_forecast=<function load_forecast>, *, __model='gefs')[source]

Hourly average forecasts derived from GEFS 3, 6, and 12 hr frequency output. GHI from NWP model cloud cover. DNI, DHI computed. Max forecast horizon 384 hours.

Parameters:
  • latitude (float) –
  • longitude (float) –
  • elevation (float) –
  • init_time (pd.Timestamp) – Full datetime of a model initialization
  • start (pd.Timestamp) – Forecast start. Forecast is inclusive of this instant if interval_label is beginning and exclusive of this instant if interval_label is ending.
  • end (pd.Timestamp) – Forecast end. Forecast is exclusive of this instant if interval_label is beginning and inclusive of this instant if interval_label is ending.
  • interval_label (str) – Must be beginning or ending
Returns:

  • The columns of the DataFrames correspond to the GEFS members.
  • ghi (pd.DataFrame)
  • dni (pd.DataFrame)
  • dhi (pd.DataFrame)
  • air_temperature (pd.DataFrame)
  • wind_speed (pd.DataFrame)
  • resample_sort (function) – Resamples, then sorts the above DataFrames.
  • solar_position_calculator (function)

Notes

Returned values are hourly averages sorted from smallest to largest at each time stamp. Each variable is sorted independently. This describes a ProbabilisticForecast with axis='y' and constant_values=[0, 5, ...95, 100].