Forecasting#

Warning

All functionality in the pvlib.forecast module is deprecated as of pvlib v0.9.1. For details, see Forecasting.

Forecast models#

forecast.GFS(**kwargs)

Deprecated since version 0.9.1.

forecast.NAM(**kwargs)

Deprecated since version 0.9.1.

forecast.RAP(**kwargs)

Deprecated since version 0.9.1.

forecast.HRRR(**kwargs)

Deprecated since version 0.9.1.

forecast.HRRR_ESRL(**kwargs)

Deprecated since version 0.9.1.

forecast.NDFD(**kwargs)

Deprecated since version 0.9.1.

Getting data#

forecast.ForecastModel.get_data(latitude, ...)

Submits a query to the UNIDATA servers using Siphon NCSS and converts the netcdf data to a pandas DataFrame.

forecast.ForecastModel.get_processed_data(...)

Get and process forecast data.

Processing data#

forecast.ForecastModel.process_data(data, ...)

Defines the steps needed to convert raw forecast data into processed forecast data.

forecast.ForecastModel.rename(data[, variables])

Renames the columns according the variable mapping.

forecast.ForecastModel.cloud_cover_to_ghi_linear(...)

Convert cloud cover to GHI using a linear relationship.

forecast.ForecastModel.cloud_cover_to_irradiance_clearsky_scaling(...)

Estimates irradiance from cloud cover in the following steps:

forecast.ForecastModel.cloud_cover_to_transmittance_linear(...)

Convert cloud cover (percentage) to atmospheric transmittance using a linear model.

forecast.ForecastModel.cloud_cover_to_irradiance_campbell_norman(...)

Estimates irradiance from cloud cover in the following steps:

forecast.ForecastModel.cloud_cover_to_irradiance(...)

Convert cloud cover to irradiance.

forecast.ForecastModel.kelvin_to_celsius(...)

Converts Kelvin to celsius.

forecast.ForecastModel.isobaric_to_ambient_temperature(data)

Calculates temperature from isobaric temperature.

forecast.ForecastModel.uv_to_speed(data)

Computes wind speed from wind components.

forecast.ForecastModel.gust_to_speed(data[, ...])

Computes standard wind speed from gust.

IO support#

These are public for now, but use at your own risk.

forecast.ForecastModel.set_dataset()

Retrieves the designated dataset, creates NCSS object, and creates a NCSS query object.

forecast.ForecastModel.set_query_latlon()

Sets the NCSS query location latitude and longitude.

forecast.ForecastModel.set_location(tz, ...)

Sets the location for the query.

forecast.ForecastModel.set_time(time)

Converts time data into a pandas date object.