Skip to main content

Scrape CO2 data from Mauna Loa Observatory off of NOAA Earth Science Research Lab

Project description

Mauna Loa Observatory Carbon Dioxide Data Scraper

This Python package includes a script to scrape the NOAA Earth Science Research Lab for Carbon Dioxide (CO2) readings from the Mauna Loa Observatory in Hawai'i.

Installation

pip install mlo_co2

Usage

>>> from datetime import datetime
>>> from mlo_co2 import (
...     monthly_mean, annual_mean,
...     annual_mean_increase, weekly_mean
... )

>>> mean = monthly_mean()
>>> mean.keys()
dict_keys(['url', 'license', 'description', 'headers', 'raw', 'data'])
>>> mean = monthly_mean(start=datetime(year=1985, day=1, month=1), end=datetime(year=2014, day=1, month=1))

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

mlo_co2-0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

mlo_co2-0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file mlo_co2-0.1.tar.gz.

File metadata

  • Download URL: mlo_co2-0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

File hashes

Hashes for mlo_co2-0.1.tar.gz
Algorithm Hash digest
SHA256 fcccdf324bf14693810b7d3bb4f9e5c409d3759bf6cfba7ab7809a6e7039b8aa
MD5 0ddca10b191fedaf3834fe20ef0e2e4b
BLAKE2b-256 ee4bc19cb626e58c4f0cee4f85e2ab514ad0969c193ef0e9cb06d7c343775a4e

See more details on using hashes here.

File details

Details for the file mlo_co2-0.1-py3-none-any.whl.

File metadata

  • Download URL: mlo_co2-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1

File hashes

Hashes for mlo_co2-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6de18b0ddb0bf769bceb51fe5277549df0d98ad74984d2fa3cdc6b8534000b6d
MD5 be0ddadb1e0128134286c978aa6ee181
BLAKE2b-256 3481a5208d42e1e85fcd65b8e061579148211c5fcd58195db016be10ced6d763

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