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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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