pyNITA is the python implementation of Noise Insensitive Trajectory Algorithm (NITA). It can be run from a user-friendly GUI (graphical user interface) or from control scripts. This software is for analysis of satellite imagery time series. One can establish pixel histories at every pixel at every available image date for Landsat imagery (and Sentinel-2 in beta). This can allow for mapping of phenomena such as disturbance (e.g., deforestation, fire), degradation (e.g., drought, charcoal harvest), and recovery.
Please refer to the Scientific Reports article for detailed description of NITA and its application. The below steps here will walk you through the installation procedure and package requirements necessary for pynita_GUI.
First, some general resources:
Full instructions. This document gives more detail on key workflows but more importantly, describes each parameter and software output in detail (https://docs.google.com/document/d/1FzLOKcsiEH7lZCHNceFDTj4dbTXjbTXq7-pwwin2Xyw/edit?usp=sharing)
Binary releases are available and it is also possible to run from source. \ If you don't know what that last line means, you should follow the "Binary distribution" instructions.
The binary of pynita_GUI for Windows and MacOS can be found in Releases.
First of all, clone this repository using git clone
.
Docker is recommended because you can run pynita_GUI in a dedicated container without any conflicts with your system. If you do not have Docker installed on your machine, please install Docker first.
Unfortunately, at the moment, there is no universal, out-of-the-box Docker way to show GUI. So we need to use different docker run commands for MacOS, Windows, and Linux.
prerequisites.bat
.docker_run_windows.bat
. This will start the pyNITA program.source prerequisites.sh
from terminal.open -a xquartz
from terminal and make sure the "Allow connections from network clients" is checked "on". You can find this option in preferences menu.
source docker_run_mac.sh
from terminal.bash docker_run_linux.sh
from terminal.NOTE: For this project, a dedicated docker image (pyqtgdal) was built and available at DockerHub.
First of all, make sure you have Python 3.7.x installed. You can download Python installer from the official website. To ensure processing big input data, you need to install 64-bit Python. Also, add Python to the system PATH on installation as follows.
install_win32.bat
or install_win64.bat
depending on your Python architecture.
You can check your Python architecture as follows.
pynita_gui_main.py
and run python pynita_gui_main.py
.source install_mac.sh
.python pynita_gui_main.py
.