Skip to content

wateraccounting/IHEWAengine

Repository files navigation

CoverAlls Travis ReadTheDocs DockerHub PyPI

IHEWAengine

IHE WaterAccounting Engine Tool.

  • Engine1
  • Engine2

Old version

Windows for Python 3.7 and Anaconda3

Git clone

  • wa
    >>> git clone https://github.com/wateraccounting/wa.git
  • watools
    >>> git clone https://github.com/wateraccounting/watools.git
  • WA_Hyperloop
    >>> git clone https://github.com/wateraccounting/WA_Hyperloop.git

R, rpy2

r-base, r-base-dev

CRAN Mirrors Download

CairoSVG

GDAL

gdal

PyPi

>>> pip install GDAL>=3.0
>>> pip install netCDF4>=1.5
>>> pip install rpy2==2.8.0
>>> pip install geopy>=1.22

Conda

>>> conda install -c conda-forge gdal
>>> conda install netCDF4
>>> conda install -c conda-forge geopy
>>> conda install -c conda-forge cairosvg
>>> conda install -c r rpy2

Linux for Python 2.7 and Anaconda2

Docker, image

>>> docker pull continuumio/anaconda2
>>>
>>> docker run -it continuumio/anaconda2 bash

Docker, container

>>> apt-get update
>>>
>>> apt-get install vim

Git clone

  • wa
    >>> git clone https://github.com/wateraccounting/wa.git
  • watools
    >>> git clone https://github.com/wateraccounting/watools.git
  • WA_Hyperloop
    >>> git clone https://github.com/wateraccounting/WA_Hyperloop.git

R, rpy2

r-base, r-base-dev

>>> apt-get install r-base
>>> apt-get install r-base-dev

CairoSVG

>>> apt-get install libcairo2-dev
>>> apt-get install libffi-dev

GDAL

gdal-bin, libgdal-dev

>>> apt-get install gdal-bin
>>> apt-get install libgdal-dev
>>> ls /usr/include
>>> export CPLUS_INCLUDE_PATH=/usr/include/gdal
>>> export C_INCLUDE_PATH=/usr/include/gdal

Check GDAL version:

ogrinfo --version
gdalinfo --version
GDAL 2.4.0, released 2018/12/14

pip install GDAL==GDAL VERSION FROM OGRINFO

PyPi

>>> pip install GDAL==2.4.0
>>> pip install netCDF4==1.5.3
>>> pip install geopy==1.22.0
>>> pip install CairoSVG==1.0.22
>>> pip install rpy2==2.8.0

Run

>>> cp /WA_Hyperloop/hyperloop_example.py /
>>>
>>> cd /
>>> python hyperloop_example.py

Note

For details, see https://www.wateraccounting.org/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages