Installation

Dependencies

Dependencies of Hydrodata are as listed below:

The following optional libraries are recommended to improve performance of xarray:

Additionally, CartoPy can be installed to support more projections when plotting geospatial data with matplotlib. This library is specifically useful for plotting Daymet data.

Stable release

You can install Hydrodata using pip:

$ pip install hydrodata

Please note that installationa with pip fails if libgdal is not installed on your system. You should install this package manually beforehand. For example, on Ubuntu-based distros the required package is libgdal-dev. If this package is installed on your system you should be able to run gdal-config --version successfully.

Alternatively, Hydrodata and all its dependencies can be installed from conda-forge using Conda:

$ conda install -c conda-forge hydrodata

From sources

The sources for Hydrodata can be downloaded from its Github repo.

You can either clone this public repository:

$ git clone https://github.com/cheginit/hydrodata.git

Or download the tarball:

$ curl -OJL https://github.com/cheginit/hydrodata/tarball/master

Once you have a copy of the source, you can install it with:

$ python -m pip install .

Please refer to the note for installation with pip above, regarding the libgdal requirement.