sensortoolkit.calculate._nowcast_pm25.nowcast_pm25
- nowcast_pm25(df, column=None)[source]
Compute NowCast values for fine particulate matter (\(PM_{2.5}\)) 1-hour averages.
Resources:
The presentation titled Transitioning to a new NowCast Method by Mintz, Stone, and Davis (June 15, 2013)
- Parameters
df (Pandas dataframe object) – DataFrame containing hourly PM2.5 data.
column (str) – The name of the column to NowCast.
- Returns
Dataframe passed to function with added column for nowcasted values. The index is set to time. Data columns include the passed hourly PM2.5 data and the corresponding Nowcast values (‘nowcast’).
- Return type
nowcasted_df (pandas DataFrame)