sensortoolkit.reference._import_airnowtech.write_to_file

write_to_file(df, path, outpath)[source]

Processed dataframes for PM, Gas, and met written to separate monthly csv files where the index is the date and time in UTC.

Parameters
  • df (pandas dataframe) – Processed airnowtech data for one of the following parameter classifications (PM, Gases, or Met)

  • path (str) – The full directory path to the downloded airnowtech dataset. Used to determine the date and time that the data were downloaded and added to the dataframe as the ‘Data_Acquisition_Date_Time’.

  • outpath (str) – The full directory path where the processed dataframe will be saved

Returns

None