Skip to main content

A package to get open NWP data in a elegant way

Project description

Maesters - Numercial Weather Prediction

A package focus on fecth open-source global numerical weather prediction product in a elegant way.

The following data sources are supported.

✔︎ Deutscher Wetterdientst - ICON

✔︎ European Centre for Medium-Range Weather Forecasts - OPER / ENFO

✔︎ Canadian Meteorological Center - GEM / GEPS

The following data sources support is coming. 🚀🚀🚀

National Oceanic and Atmospheric Adminstration - GFS

Met Office - MOGREPS (not open-source anymore)

How to install

maesters-nwp depends on cdo. And as cdo is not supported on Windows platform, maesters-nwp fail to install on Windows.

Instal via conda (Recommended)

conda install -c conda-forge maesters-nwp

Install via pip

  1. Install dependence cdo,curl (install cdo, curl)
conda install -c conda-forge cdo curl
  1. Install maesters-nwp
pip install maesters-nwp

Usage

from maester import Maesters

ec = Maester(source='ecmwf', product='oper', batch='2022-06-29 12:00',hour=[6,30],varname='TP_SFC')

# get xarray object
ec.xarray()

# or only download (if lcoal_dir is not given, default download to current dir)
ec.download(local_dir='./') 

# or operation download all data of the newest batch, default download to $HOME/data/{source}/{product}/{batch:%Y%m%d%H0000}
ec.operation(local_dir='./')

Variable Name

Source Variable
ecmwf variables
dwd variables
cmc variables

Problem List

P1: pyporj instal fail on M1 chip

S1:

brew install proj
pip install pyproj

Citation

If this package give helps to your research or work, it will be a enjoyable thing to the contributors of this package. And if you are willing to cite the contribution of this package in your publication, you can find the DOI information at https://doi.org/10.5281/zenodo.6796046.

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

maesters-nwp-0.0.9.tar.gz (56.2 MB view hashes)

Uploaded Source

Built Distribution

maesters_nwp-0.0.9-py3-none-any.whl (56.2 MB 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