[GRASS-user] Status of ITZI in GRASS?

Venka venka.osgeo at gmail.com
Thu Jun 13 17:19:34 PDT 2024


Hi,

Thanks to Markus and Song for their feedback.

We succeeded in installing ITZI on Ubuntu 22.04

Steps to install GRASS and ITZI are as below;

--------------------------------------

############ Install GRASS
#adding GRASS repository  into ubuntu22.04
#https://grass.osgeo.org/download/linux/#GRASS-GIS-current
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt update

#installing GRASS 8.3.2
sudo apt-get install grass
sudo apt-get install grass
#check grass well-done?
grass -v
grass -h


########### Python virtual environment
conda info --envs
#conda create --name py38venka python=3.8
conda create --name py310venka python=3.10
conda activate py310venka
conda info --envs


############installing itzi
#https://itzi.readthedocs.io/en/latest/installation.html#installation-on-gnu-linux

#numpy required
conda install -c conda-forge pysal rioxarray cartopy

#cython, setuptools required
conda install -c conda-forge setuptools cython

#Compiling itzi first
unzip itzi-20.5.zip
cd itzi-master

cython -3 itzi/swmm/swmm_c.pyx itzi/flow.pyx
python setup.py build
python setup.py install

--------------------------------------

Best,

Venka




On 6/14/2024 1:55 AM, Markus Neteler via grass-user wrote:
> Hi,
> 
> FWIW, I was able to compile ITZI today on Fedora 39 (gcc version
> 13.3.1 20240522; Python 3.12.3), using
> 
> # install dependencies
> pip install numpy setuptools cython
> 
> # generate some needed C files
> cython -3 itzi/swmm/swmm_c.pyx itzi/flow.pyx
> 
> # build
> python setup.py build
> 
> # install
> python setup.py install --user
> 
> # test if it starts
> itzi version
> 20.5
> 
> # pytest (see docs/prog_manual.rst)
> pytest -v
> [...]
> 
> Due to lack of time I could not continue yet.
> 
> Perhaps I can try these days during the
> https://grasswiki.osgeo.org/wiki/GRASS_Community_Meeting_Prague_2024
> 
> Best
> Markus
> 
> --
> Markus Neteler, PhD
> https://www.mundialis.de - company
> https://grass.osgeo.org - FOSS
> https://neteler.org - freelancing & blog
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user



More information about the grass-user mailing list