Metadata-Version: 2.1
Name: smear-api-tools
Version: 0.1.0
Summary: Utility functions for using the SmartSMEAR API
Home-page: https://github.com/jlpl/smear-api-tools
Author: Janne Lampilahti
Author-email: janne.lampilahti@helsinki.fi
License: UNKNOWN
Description: # SMEAR API Tools
        
        This projects contains functions that help interacting with the Smart SMEAR API.
        
        ## Installation
        
        ```python
        pip install smear-api-tools
        ```
        
        ## Usage
        
        ### Example 1
        Download DMPS data from Hyytiälä field station for each day in May, 2018
        
        ```python
        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)
        ```
        
        ### Example 2
        List all variables in the database and write them to a file.
        
        ```python
        import pandas as pd
        from smear_api_tools import listAllData
        
        listAllData().to_csv("all_data.csv")
        ```
        
        ## Resources
        
        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.
        
        https://avaa.tdata.fi/web/smart/smear/api
        
        https://avaa.tdata.fi/web/smart/smear/terms-of-use
        
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
Provides-Extra: dev
