-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #295 from GeoscienceAustralia/develop
Release 0.5.0
- Loading branch information
Showing
90 changed files
with
3,095 additions
and
1,650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
Dependencies | ||
------------ | ||
|
||
The following dependencies need to be on your system prior to `PyRate` installation: | ||
The following dependencies need to be on your system (or in your working | ||
environment) prior to `PyRate` installation: | ||
|
||
- Python_, versions 3.6, 3.7 or 3.8. | ||
- GDAL_, versions 3.0.2 or 3.0.4 | ||
- `Open MPI`_, versions 2.1.6, 3.0.4, 3.1.4 or 4.0.2 | ||
|
||
The versions of each package stated above have been tested to work. | ||
The versions of each package stated above have been tested to work using | ||
`Travis CI`_ continuous integration testing. | ||
|
||
.. _Python: https://www.python.org/downloads/ | ||
.. _GDAL: https://gdal.org/download.html | ||
.. _`Open MPI`: https://www.open-mpi.org/software/ompi/v4.0/ | ||
.. _`Travis CI`: https://travis-ci.org/github/GeoscienceAustralia/PyRate | ||
|
||
Other Python dependencies that will be installed are listed in ``PyRate/requirements.txt``. | ||
Other Python dependencies that will be installed are listed in | ||
``PyRate/requirements.txt``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,46 @@ | ||
Docker | ||
^^^^^^ | ||
|
||
Docker can be used to run `PyRate` on Linux, Windows and MacOS. | ||
Please follow the instructions at https://hub.docker.com/ to download | ||
and install Docker on your machine. Then run: | ||
Docker can be used to run `PyRate` on Linux, Windows and MacOS systems. | ||
|
||
:: | ||
.. note:: | ||
|
||
- Docker is the recommended method to use `PyRate` under Windows. | ||
|
||
The only system pre-requisites for using docker are Git and Docker Desktop | ||
(e.g. for Windows https://docs.docker.com/docker-for-windows/ ). | ||
The other system dependencies required by PyRate are installed in to the | ||
docker container itself during the build operation. | ||
Once Git and Docker Desktop are installed, and Docker Desktop is running, | ||
execute the following at a command line prompt (e.g. PowerShell in Windows 10):: | ||
|
||
git clone [email protected]:GeoscienceAustralia/PyRate.git | ||
cd PyRate | ||
docker build -t pyrate-image:1.0 . | ||
docker run -it --rm -v %cd%:/PyRate pyrate-image:1.0 /bin/bash | ||
docker build -t pyrate-image . | ||
docker run -it pyrate-image | ||
|
||
.. note:: | ||
|
||
- The image name “pyrate-image” is not mandatory. | ||
You are free to name the docker image whatever you choose. | ||
|
||
The ``docker build`` command builds the docker container described in the | ||
``Dockerfile`` in the `PyRate` repo. It first starts by setting up an Ubuntu linux | ||
system image, and then installs the required system and python dependencies. | ||
|
||
Once the docker container is running (you will see a different-looking command | ||
prompt in the PowerShell), execute the following commands:: | ||
|
||
source /usr/local/bin/virtualenvwrapper.sh | ||
workon pyrate | ||
cd PyRate | ||
python3 setup.py install | ||
pyrate --help | ||
pyrate workflow -f input_parameters.conf | ||
|
||
The ``pyrate`` executable program is built as part of the ``docker build`` step. | ||
If the ``pyrate`` executable is reported as "not found", re-run the compilation:: | ||
|
||
cd PyRate | ||
python3 setup.py install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PyRate Process Script | ||
PyRate Correct Script | ||
======================== | ||
|
||
.. automodule:: pyrate.process | ||
.. automodule:: pyrate.correct | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
PyRate Main Script | ||
================== | ||
|
||
.. automodule:: pyrate.__main__ | ||
.. automodule:: pyrate.main | ||
|
||
.. rubric:: Functions | ||
.. autosummary:: | ||
|
||
conv2tif | ||
prepifg | ||
process | ||
correct | ||
timeseries | ||
stack | ||
merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.