Installation#
There are different ways to install easyclimate:
Pypi#
Using the pip package manager to obtain latest version of easyclimate:
$ pip install easyclimate
Development version#
You can use pip
to install the latest unreleased version from
GitHub (not recommended in most situations):
$ pip install --upgrade git+https://github.com/shenyulu/easyclimate@dev
Note
The commands above should be executed in a terminal. On Windows, use the
cmd.exe
or the “Anaconda Prompt” app if you’re using Anaconda.
Which Python?#
You’ll need Python \(\geq\) 3.10.
Dependencies#
The required dependencies should be installed automatically when you install
easyclimate using conda
or pip
.
Required:
numpy (1.24.3 or later)
xarray (2014.10.0 or later)
cartopy (0.20 or later)
xeofs (3.0.0 or later)
pandas (2.2.0 or later)
scipy (1.8.0 or later)
Our examples use other packages as well which are not used within easyclimate itself. If you wish to run the examples in the documentation, you will also have to install:
Acknowledgement#
point2mesh: MeteoSwiss/fast-barnes-py by MeteoSwiss.
windspharm: ajdawson/windspharm by ajdawson.
wavelets: ct6502/wavelets by ct6502 and A Practical Guide to Wavelet Analysis
pybarnes: LinOuyang/pybarnes by LinOuyang.