Download numerical weather prediction datasets (HRRR, RAP, GFS, IFS, etc.) from NOMADS, NODD partners (Amazon, Google, Microsoft), ECMWF open data, and the University of Utah Pando Archive System.
Wow, I had no idea so many people would find Herbie useful. Thanks everyone.
from herbie import Herbie
instead of from herbie.archive import Herbie
find_grib
and find_idx
)__init__.py
and some Easter eggs (because every project needs cool ASCII art and Easter eggs 😎)Full Changelog: https://github.com/blaylockbk/Herbie/compare/0.0.9...0.0.10
hrrrb
API and old documentation.Full Changelog: https://github.com/blaylockbk/Herbie/compare/0.0.8...0.0.9
The main feature of this release is the ability to retrieve ECMWF open data forecast products (see tweet)
The big change was implementing a method to read the grib_ls-style index files to get the byte ranges for specific variables/parameters. This means that the searchString
argument will need to be specified differently than that used for other models. Read more about the searchString
argument for grib_ls-style index files: https://blaylockbk.github.io/Herbie/_build/html/user_guide/searchString.html#grib-ls-style-index-files
For example:
from herbie.archive import Herbie
# Create Herbie object to discover ECMWF operational forecast product
H = Herbie("2022-01-26", model="ecmwf", product="oper", fxx=12)
# Download the full grib2 file
H.download()
# Download just the 10-m u and v winds
H.download(searchString=":10(u|v):")
# Retrieve the 500 hPa temperature as an xarray.Dataset
ds = H.xarray(searchString=":t:500:")
Full Changelog: https://github.com/blaylockbk/Herbie/compare/0.0.7...0.0.8
priority
is now None, which will make the download source priority to be the order of the SOURCE in the models template files..idx
appended to the file name.
rap_ncei
. This is poorly implemented because the NCEI data doesn't match the other RAP model URLs.herbie.tools.bulk_download
will return a dict of Herbie objects that were successful and those that failed.Full Changelog: https://github.com/blaylockbk/Herbie/compare/0.0.6...0.0.7
hrrrb
to herbie-data
HRRR-B
🠖 Herbie
I updated the GitHub repository name to Herbie and I'm slowly removing the old hrrrb API (but it's still there).
The most significant change is that the vision of Herbie has expanded. Herbie is being built do download many different model types, not just the HRRR model.
herbie
. "Herbie is your model output download assistant with a mind of its own." Yes, this is named after a favorite childhood movie series.There are a few things about the hrrrb API that make it difficult to update, so I started changing things under the new name "herbie." But don't worry, both the hrrrb
and herbie
APIs are included. The setup.py file also is fixed.
To use the new Herbie API, refer to the documentation for some usage examples.
This is my first initial GitHub release ever! I have published on PyPi before, but this is my first here on GitHub. Certainly, a happy birthday for the HRRR-B package.
Be aware, this is v0.0.3, meaning it is subject to change at my leisure. The purpose of this repository is to serve as an example of how you can download HRRR data from archives, but I try to keep this package in a workable state that might be useful for you.