π Installation#
conda install#
The easiest way to install Herbie and its dependencies is with Conda from conda-forge.
conda install -c conda-forge herbie-data
pip install#
Herbie is published on PyPI and you can install it with pip, but it requires some dependencies that you will have to install yourself:
Python 3.9+
cURL
cfgrib, which requires eccodes (most easily installed with conda)
Optional: wgrib2
Optional: Carpenter Workshop
When those are installed within your environment, then you can install Herbie with pip.
# Install last published version
pip install herbie-data
or
# Install current main branch
pip install git+https://github.com/blaylockbk/Herbie.git
or
# Clone and install editable source code
git clone https://github.com/blaylockbk/Herbie.git
cd Herbie
pip install -e .
Carpenter Workshop π§°#
An optional dependency is my Carpenter Workshop package. This has some general tools that are useful for making maps and performing other tasks. You might see me use these tools in the tutorials.
pip install git+https://github.com/blaylockbk/Carpenter_Workshop.git