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
conda install -c conda-forge cdo curl
- 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
Built Distribution
File details
Details for the file maesters-nwp-0.0.9.tar.gz
.
File metadata
- Download URL: maesters-nwp-0.0.9.tar.gz
- Upload date:
- Size: 56.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 533042554ac8606f02ff4b8f0f094259f6e25d52ce26db71c036c6ad3b49dae5 |
|
MD5 | d3e3b3b539d150ec5780fa99cf2614c4 |
|
BLAKE2b-256 | ce7e01dae981b2ddbacbf9e6759a577372412fc5014960aaee49b2f60c4fea61 |
File details
Details for the file maesters_nwp-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: maesters_nwp-0.0.9-py3-none-any.whl
- Upload date:
- Size: 56.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a37b648ae8e909543d0c6ea543c31fa4d54505e6e2eaedca21e92c3c35abf10e |
|
MD5 | 24a034a4988ff87afeb9e8eec335f602 |
|
BLAKE2b-256 | 0b469e8da0c5c44725ccbf8305147c154a803b7012f0fbe0820ea6b29f056b40 |