|
|
|
# How to install
|
|
|
|
|
|
|
|
## Python version
|
|
|
|
HERMESv3_BU is built under Python version 3.X
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
__Requirements__:
|
|
|
|
|
|
|
|
Prior to the installation you have to manually install the following libraries and python packages:
|
|
|
|
* Git
|
|
|
|
* [HDF5](https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html#build_parallel) >= 1.10.5 (with parallel enabled)
|
|
|
|
* [NetCDF4](https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html#build_parallel) >= 4.4.1.1 (with --enable-parallel)
|
|
|
|
* [CDO](https://code.mpimet.mpg.de/projects/cdo/wiki) = 1.6.3
|
|
|
|
* [UDUNITS2](https://www.unidata.ucar.edu/software/udunits/) > 2.2.19
|
|
|
|
* [numpy](http://www.numpy.org/) >= 1.16.0
|
|
|
|
* [netCDF4](http://unidata.github.io/netcdf4-python/) >= 1.3.1
|
|
|
|
* [cdo](https://code.mpimet.mpg.de/projects/cdo/wiki/Cdo%7Brbpy%7D) >= 1.3.3
|
|
|
|
* [pandas](https://pandas.pydata.org/) >= 0.22.0
|
|
|
|
* [geopandas](http://geopandas.org/) >= 0.4.0
|
|
|
|
* [pyproj](https://pypi.org/project/pyproj/) >= 1.9.5.1
|
|
|
|
* [configargparse](https://pypi.org/project/ConfigArgParse/) >= 0.11.0
|
|
|
|
* [cf_units](https://pypi.org/project/cf_units/) >= 1.2.0
|
|
|
|
* [timezonefinder](https://pypi.org/project/timezonefinder/) >= 4.0.0
|
|
|
|
* [mpi4py](https://pypi.org/project/mpi4py/) >= 3.0.0
|
|
|
|
* [pytest](https://docs.pytest.org/en/latest/) >= 3.6.1
|
|
|
|
* [shapely](https://shapely.readthedocs.io/en/latest/) >= 1.6.4
|
|
|
|
* [rasterio](https://github.com/mapbox/rasterio) >= 1.0.21
|
|
|
|
|
|
|
|
|
|
|
|
Once installed, you can clone the GitLab repository:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git clone https://earth.bsc.es/gitlab/es/hermesv3_bu.git -b production
|
|
|
|
```
|
|
|
|
|
|
|
|
And then run the setup.py to install HERMESv3_BU.
|
|
|
|
```bash
|
|
|
|
cd hermesv3_bu
|
|
|
|
python setup.py install
|
|
|
|
```
|
|
|
|
|
|
|
|
[Go to User guide page](user_guide) |
|
|
|
\ No newline at end of file |