SMEAR API Tools
This project contains functions that help interacting with the SmartSMEAR API.
Installation
pip install smear-api-tools
Documentation
See here
Usage
Example 1
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)
Example 2
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")
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.
Release files for smear-api-tools 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smear-api-tools-0.3.0.tar.gz | 34.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smear_api_tools-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.5 kB
Release files / smear-api-tools-0.3.0.tar.gz
| Download URL | smear-api-tools-0.3.0.tar.gz |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33115448623c0434dae76edbc5966412cab6356e11f8f3b48e10197b5e870738
|
|
BLAKE2b-256 checksum How to use checksums |
6f2d07ab0fc3fed91db4d5d176170abc882303a252f40d14d1e0db6b1faecda6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|
Release files / smear_api_tools-0.3.0-py3-none-any.whl
| Download URL | smear_api_tools-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5714834072df78fd0ab4a935fa45a787011c001aeeddef1759c66f2ec5975b74
|
|
BLAKE2b-256 checksum How to use checksums |
14c4ccfaefcdc8885407e1976f3653a5065a05bb0c669cb48fe245ff616c1ca8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.0
|