Skip to main content

Utility functions for using the SmartSMEAR API

Project description

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smear-api-tools-0.3.0.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

smear_api_tools-0.3.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file smear-api-tools-0.3.0.tar.gz.

File metadata

  • Download URL: smear-api-tools-0.3.0.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.0

File hashes

Hashes for smear-api-tools-0.3.0.tar.gz
Algorithm Hash digest
SHA256 33115448623c0434dae76edbc5966412cab6356e11f8f3b48e10197b5e870738
MD5 28b395fea0d1326c18ebd50ae414f798
BLAKE2b-256 6f2d07ab0fc3fed91db4d5d176170abc882303a252f40d14d1e0db6b1faecda6

See more details on using hashes here.

File details

Details for the file smear_api_tools-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for smear_api_tools-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5714834072df78fd0ab4a935fa45a787011c001aeeddef1759c66f2ec5975b74
MD5 6d235a0242ff0aff4be41718bdfe9707
BLAKE2b-256 14c4ccfaefcdc8885407e1976f3653a5065a05bb0c669cb48fe245ff616c1ca8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page