Forecasting

Forecast models

forecast.GFS([resolution, set_type])

Subclass of the ForecastModel class representing GFS forecast model.

forecast.NAM([set_type])

Subclass of the ForecastModel class representing NAM forecast model.

forecast.RAP([resolution, set_type])

Subclass of the ForecastModel class representing RAP forecast model.

forecast.HRRR([set_type])

Subclass of the ForecastModel class representing HRRR forecast model.

forecast.HRRR_ESRL([set_type])

Subclass of the ForecastModel class representing NOAA/GSD/ESRL’s HRRR forecast model.

forecast.NDFD([set_type])

Subclass of the ForecastModel class representing NDFD forecast model.

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.