Skip to main content

A Python package for accessing observational meteorological data

Project description

obswx: A Python package for accessing observational meteorological data

DOI Docs GitHub license

Contributors: Junjie Yu, Yuan Sun, Haofan Wang, Zhiyi Song, David Topping, Zhonghua Zheng (zhonghua.zheng@manchester.ac.uk)

Installation

Step 1: create an environment:

$ conda create -n obswx python=3.11

$ conda activate obswx

$ conda install -c conda-forge pandas geopy xarray -y

Step 2: install using pip:

$ pip install obswx

(optional) install from source:

$ git clone https://github.com/envdes/obswx.git
$ cd obswx
$ python setup.py install

How to use it?

Python

from obswx import *
import os

# Initialize
met = obswx(source='UK-hist_station')

# get meta data
met.get_meta(load=True).head()

# get data
met.get_data(station="Armagh")

How to ask for help

The GitHub issue tracker is the primary place for bug reports.

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

obswx-0.0.1.tar.gz (6.3 kB view hashes)

Uploaded Source

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