obswx

A Python package for accessing observational meteorological data


License
MIT
Install
pip install obswx==0.0.1

Documentation

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.