|
|
# How to install
|
|
|
|
|
|
## Python version
|
|
|
HERMESv3_GR is built under Python version 3.7.X
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
__Requirements__:
|
|
|
|
|
|
Prior to the installation you have to manually install the following libraries and python packages:
|
|
|
* Git
|
|
|
* [NetCDF4](https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html#build_parallel) >= 4.3.3.1 (with --enable-parallel)
|
|
|
* [CDO](https://code.mpimet.mpg.de/projects/cdo/wiki) =1.6.3
|
|
|
* [ESMF](https://www.earthsystemcog.org/projects/esmf/) >= 7.1.0r
|
|
|
* [UDUNITS2](https://www.unidata.ucar.edu/software/udunits/) > 2.2.19
|
|
|
* [numpy](http://www.numpy.org/) >= 1.9.1
|
|
|
* [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.1.3
|
|
|
* [ESMPy](https://www.earthsystemcog.org/projects/esmpy/) >= 7.1.0
|
|
|
* [holidays](https://pypi.org/project/holidays/) >= 0.4.1
|
|
|
* [pytz](http://pytz.sourceforge.net/) = 2019.1
|
|
|
* [timezonefinder](https://pypi.org/project/timezonefinder/) = 4.2.0
|
|
|
* [mpi4py](https://pypi.org/project/mpi4py/) >= 3.0.0
|
|
|
* [pytest](https://docs.pytest.org/en/latest/) >= 3.6.1
|
|
|
|
|
|
Once installed, you can clone the GitLab repository:
|
|
|
|
|
|
```bash
|
|
|
git clone https://earth.bsc.es/gitlab/es/hermesv3_gr.git
|
|
|
```
|
|
|
|
|
|
And then run the setup.py to install HERMESv3_GR.
|
|
|
```bash
|
|
|
cd hermesv3_gr
|
|
|
python setup.py install
|
|
|
```
|
|
|
|
|
|
|
|
|
[Go to User guide page](user_guide) |