Skip to main content

Python package for analysis of (InSar) data cubes

Project description

InsarViz is a project dedicated to the visualisation of InSar data.

The ts_viz app is designed to visualize and interactively analyze time-series (datacubes) from InSAR data processing chains.

The full documentation is available here:

https://deformvis.gricad-pages.univ-grenoble-alpes.fr/insarviz

Installation

Downloading source code

First, download the source code, typically using git:

With a gitlab account:

git clone git@gricad-gitlab.univ-grenoble-alpes.fr:deformvis/insarviz.git
  • Without a gitlab account:

git clone https://gricad-gitlab.univ-grenoble-alpes.fr/deformvis/insarviz

Setting up the environment

  • With Anaconda

We recommend you install the Insarviz tool in a virtual environment. If you have installed the Anaconda distribution, navigate to within the top-level insarviz folder and create a conda environment with the required dependencies, and activate it :

conda env create -f environment.yaml
conda activate insarviz-env
  • Without Anaconda

Without Anaconda, create a python virtual environment, activate it and install the required packages using the following commands:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Install according to your usage

Finally, install the Insarviz module. If you do not want to modify the source code, follow the Regular installation instructions. If you would like to be able to modify the code, follow the Developper install instructions.

  • Regular installation

Installing Insarviz in a virtual environment, or system-wide, is just a one-line command:

pip install .
  • Developper install instructions

If you intend to change the source code, you should install the tool in a editable mode:

pip install -e .

Check your installation

You can check your installation by doing:

ts_viz --help

This should print the help message. If not, your install failed.

Running InsarViz

Simply run InsarViz from the following command line:

ts_viz

Debug

If the install hangs, try updating pip:

python -m pip install --upgrade pip

If you get errors mentioning rasterio, try:

python3
>> import rasterio

If this fails with an error mentioning that rasterio cannot find the libgdal.so.XX, you should try either changing the version of rasterio (in the requirements.txt file) or the gdal version you are using.

InsarViz has rasterio (https://rasterio.readthedocs.io) as dependency. Rasterio depends upon the gdal library and assumes gdal is already installed. We recommend using version 1.2.10 of rasterio which is compatible with gdal 3.4.1 (on linux, use the command gdalinfo –version to figure out which version of gdal you have).

Contact

If you need help or have ideas for further developments, you can contact: insarviz-sos@univ-grenoble-alpes.fr

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

insarviz-2.0.1.tar.gz (72.5 MB view details)

Uploaded Source

Built Distribution

insarviz-2.0.1-py3-none-any.whl (72.5 MB view details)

Uploaded Python 3

File details

Details for the file insarviz-2.0.1.tar.gz.

File metadata

  • Download URL: insarviz-2.0.1.tar.gz
  • Upload date:
  • Size: 72.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.17.3 CPython/3.12.4 Linux/6.10.3-amd64

File hashes

Hashes for insarviz-2.0.1.tar.gz
Algorithm Hash digest
SHA256 948e463926ca0f56b3ed7b6ab3d768880d9230564baa1663a7f6fb15d308a31c
MD5 d24fdf310eeef32fe837574f60340b2f
BLAKE2b-256 013e837cae0216836c8c4f25ed4ced8a712f2b45db95305754bdb6406abd54a0

See more details on using hashes here.

File details

Details for the file insarviz-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: insarviz-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 72.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.17.3 CPython/3.12.4 Linux/6.10.3-amd64

File hashes

Hashes for insarviz-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae0d3f42b69b3ffe123d0404e0750eaac89c333234423ddcaa3c3c24392d10bd
MD5 06ed701cfdf5815f3aec5b5db3545d56
BLAKE2b-256 89611cb0ab0981527e76fe1eaa3f7b56db6cfefbc82b348445e7a6078d2d8af6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page