Skip to main content

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.

https://smear.avaa.csc.fi/

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)

Source distribution for smear-api-tools 0.3.0
File Size Uploaded
smear-api-tools-0.3.0.tar.gz 34.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smear-api-tools 0.3.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.4

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page