This project contains functions that help interacting with the SmartSMEAR API.
Latest version: 0.4.0
pip install git+https://github.com/jlpl/smear-api-tools.gitSee here
Download DMPS data from Hyytiälä field station for each day in May, 2018
import pandas as pd
from smear_api.tools import getDmpsData
may2018 = pd.date_range(start='2018-05-01',end='2018-05-31')
v = getDmpsData(station='HYY',dates=may2018)List all variables that contain the term "SO2" in the database and write them to a file.
import pandas as pd
from smear_api.tools import listAllData
listAllData("SO2").to_csv("all_so2_data.csv")Junninen, H., Lauri, A., Keronen, P., Aalto, P., Hiltunen, V., Hari, P., Kulmala, M. 2009. Smart-SMEAR: on-line data exploration and visualization tool for SMEAR stations. Boreal Environment Research 14, 447–457.