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.0.tar.gz (50.4 MB view details)

Uploaded Source

Built Distribution

insarviz-2.0.0-py3-none-any.whl (50.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: insarviz-2.0.0.tar.gz
  • Upload date:
  • Size: 50.4 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.0.tar.gz
Algorithm Hash digest
SHA256 9160c552c87f72445e3062672090e5e179300996e13fef9eec688abe3022fd4d
MD5 2d7efc9ad1034883d71961d188c73506
BLAKE2b-256 e80929ec47ba227fe6fcad6aacd43d22363d1c2b5d61900f1ec64c9dec5afdc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: insarviz-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 50.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e9256b2ed432e12d63c70a80d86e7b91ca34d81719a82f4e1e0fd52d6e3ccd7
MD5 10a83e3aba7cff41f52a966e422fb6a2
BLAKE2b-256 5aa3a8e5cc1afc3d46fa91c3abf9bef6bc4d38130a55454031dbf07adbb6b674

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