Python and shell scripts for co-registration of rasters, specifically digital elevation models (DEMs).
All DEMs have some horizontal and vertical geolocation error. It is important to remove relative offsets when differencing multiple DEMs for elevation change analyses. These tools offer several options to solve this problem. Most solve for the sub-pixel horizontal shift and vertical offset required to minimize errors over "static" control surfaces. The ASP pc_align tool can also solve for more complex transformations with rotations and scaling.
http://demcoreg.readthedocs.io
To install the latest release from PyPI (does not include latest updates and bugfixes):
`pip install demcoreg`
Clone the repository and install:
`git clone https://github.com/dshean/demcoreg.git`
If you want to copy exectuable scripts to a local directory (e.g., /usr/local/bin), uncomment the scripts lines in demcoreg/setup.py. Alternatively, append the demcoreg subdirectory to your PATH:
`export PATH=${PATH}:$PWD/demcoreg/demcoreg`
To make this permanent, add that line to your shell config file (e.g., ~/.bashrc), but replace the $PWD with the full path to the cloned demcoreg repository.
Then run:
`pip install -e demcoreg`
The -e flag ("editable mode", setuptools "develop mode") will allow you to modify source code and immediately see changes.
This project is licensed under the terms of the MIT License.
If you use any of this software for research applications that result in publications, please cite:
Shean, D. E., O. Alexandrov, Z. Moratto, B. E. Smith, I. R. Joughin, C. C. Porter, Morin, P. J., An automated, open-source pipeline for mass production of digital elevation models (DEMs) from very high-resolution commercial stereo satellite imagery, ISPRS J. Photogramm. Remote Sens, 116, 101-117, doi: 10.1016/j.isprsjprs.2016.03.012, 2016.
Version | Tag | Published |
---|---|---|
0.5.0 | 3yrs ago | |
0.4.0 | 5yrs ago | |
0.3.0 | 5yrs ago | |
0.2.0 | 6yrs ago |