11.. image :: docs/PyRate_logo_50.png
2+ :alt: PyRate logo
23
34Python tool for InSAR Rate and Time-series Estimation
45=====================================================
@@ -21,21 +22,16 @@ The full PyRate documentation is available at http://geoscienceaustralia.github.
2122Dependencies
2223------------
2324
24- The following dependencies need to be on your system prior to PyRate installation :
25+ The following system dependencies are required by PyRate:
2526
2627- `Python <https://www.python.org/downloads/ >`_, versions 3.6, 3.7 or 3.8.
2728- `GDAL <https://gdal.org/download.html >`_, versions 3.0.2 or 3.0.4
2829- `Open MPI <https://www.open-mpi.org/software/ompi/v4.0/ >`_, versions 2.1.6, 3.0.4, 3.1.4 or 4.0.2
2930
3031The versions of each package stated above have been tested to work.
3132
32- Python dependencies are:
33+ Python dependencies for PyRate are: :
3334
34- ::
35-
36- Cython==0.29.16
37- Pillow==7.1.1
38- glob2==0.7
3935 joblib==0.14.1
4036 mpi4py==3.0.3
4137 networkx==2.4
@@ -49,15 +45,11 @@ Install
4945
5046Details of all install options are given in the `PyRate documentation <http://geoscienceaustralia.github.io/PyRate >`_.
5147
52- `PyRate ` and its Python dependencies can be installed directly from the `Python Package Index (PyPI) <https://pypi.org/project/Py-Rate/ >`_:
53-
54- ::
48+ PyRate and its Python dependencies can be installed directly from the `Python Package Index (PyPI) <https://pypi.org/project/Py-Rate/ >`_::
5549
5650 pip install Py-Rate
5751
58- To install from source in Linux, enter these commands in a terminal:
59-
60- ::
52+ Alternatively, to install from source and create an executable program in Linux, enter these commands in a terminal::
6153
6254 cd ~
6355 git clone https://github.com/GeoscienceAustralia/PyRate.git
@@ -66,34 +58,49 @@ To install from source in Linux, enter these commands in a terminal:
6658 cd ~/PyRate
6759 python3 setup.py install
6860
69- This will install the above-listed Python dependencies and compile the executable program ``pyrate ``:
70-
71- ::
61+ This will install the above-listed Python dependencies and compile the executable program ``pyrate ``.
62+ To learn more about using PyRate, type ``pyrate `` command in the terminal::
7263
7364 >> pyrate --help
7465 usage: pyrate [-h] [-v {DEBUG,INFO,WARNING,ERROR}]
75- {conv2tif,prepifg,process ,merge,workflow} ...
66+ {conv2tif,prepifg,correct,timeseries,stack ,merge,workflow} ...
7667
7768 PyRate workflow:
7869
7970 Step 1: conv2tif
8071 Step 2: prepifg
81- Step 3: process
82- Step 4: merge
72+ Step 3: correct
73+ Step 4: timeseries
74+ Step 5: stack
75+ Step 6: merge
8376
8477 Refer to https://geoscienceaustralia.github.io/PyRate/usage.html for
8578 more details.
8679
8780 positional arguments:
88- {conv2tif,prepifg,process ,merge,workflow}
81+ {conv2tif,prepifg,correct,timeseries,stack ,merge,workflow}
8982 conv2tif Convert interferograms to geotiff.
90- prepifg Perform multilooking and cropping on geotiffs.
91- process Main processing workflow including corrections, time series and stacking computation.
83+ prepifg Perform multilooking, cropping and coherence masking to interferogram geotiffs.
84+ correct Calculate and apply corrections to interferogram phase data.
85+ timeseries Timeseries inversion of interferogram phase data.
86+ stack Stacking of interferogram phase data.
9287 merge Reassemble computed tiles and save as geotiffs.
93- workflow Run all the PyRate processes
88+ workflow Sequentially run all the PyRate processing steps.
9489
9590 optional arguments:
9691 -h, --help show this help message and exit
9792 -v {DEBUG,INFO,WARNING,ERROR}, --verbosity {DEBUG,INFO,WARNING,ERROR}
9893 Increase output verbosity
9994
95+ Test
96+ ----
97+
98+ To run the test suite, enter these commands in the terminal::
99+
100+ pip install -r requirements-test.txt
101+ python3 -m pytest -m "not slow" tests/
102+
103+ To run the tests for a single module (e.g. test_timeseries.py), use this command::
104+
105+ python3 -m pytest tests/test_timeseries.py
106+
0 commit comments