Commit b9514d4b authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Refactored command line interface 'arosics.py' to 'arosics_cli.py' to fix...

Refactored command line interface 'arosics.py' to 'arosics_cli.py' to fix import issues. Added 'features' to README.rst.

updated __version__ and __versionalias__
parent 6bc63f6c
Pipeline #454 passed with stages
in 1 minute and 56 seconds
......@@ -36,7 +36,7 @@ See also the latest coverage_ report.
Features
--------
* TODO
* Detection and correction of local or global geometric displacements between two input images.
Installation
......
......@@ -4,8 +4,8 @@
__author__ = """Daniel Scheffler"""
__email__ = 'daniel.scheffler@gfz-potsdam.de'
__version__ = '0.4.13'
__versionalias__ = '2017-07-19_01'
__version__ = '0.4.14'
__versionalias__ = '2017-07-20_01'
import warnings
......
......@@ -92,7 +92,7 @@ if __name__ == '__main__':
wfa('/misc/hy5/scheffler/tmp/crlf', '%s\t%s\t%s\t%s\n' % (dt.now(), getuser(), gethostname(), ' '.join(sys.argv)))
parser = argparse.ArgumentParser(
prog='arosics.py',
prog='arosics_cli.py',
description='Perform automatic subpixel co-registration of two satellite image datasets based on an image '
'matching approach working in the frequency domain, combined with a multistage workflow for '
......@@ -145,7 +145,7 @@ if __name__ == '__main__':
'calculated at a specific (adjustable) image position. Correction performs a global shifting in '
'X- or Y direction.',
help="detect and correct global X/Y shifts (sub argument parser) - "
"use '>>> python /path/to/arosics/bin/arosics.py global -h' for documentation and usage hints")
"use '>>> python /path/to/arosics/bin/arosics_cli.py global -h' for documentation and usage hints")
gloArg = parse_coreg_global.add_argument
gloArg('path_ref', type=str, help='source path of reference image (any GDAL compatible image format is supported)')
......@@ -252,7 +252,7 @@ if __name__ == '__main__':
'calculated shifts of each point in the grid as GCPs. Thus this class can be used to correct ' \
'for locally varying geometric distortions of the target image.',
help="detect and correct local shifts (sub argument parser)"
"use '>>> python /path/to/arosics/bin/arosics.py local -h' for documentation and usage hints")
"use '>>> python /path/to/arosics/bin/arosics_cli.py local -h' for documentation and usage hints")
locArg = parse_coreg_local.add_argument
locArg('path_ref', type=str, help='source path of reference image (any GDAL compatible image format is supported)')
......@@ -375,5 +375,5 @@ if __name__ == '__main__':
print('\ntotal processing time: %.2fs' %(time.time()-t0))
else:
warnings.warn("The script 'arosics.py' provides a command line argument parser for AROSICS and is not to be "
warnings.warn("The script 'arosics_cli.py' provides a command line argument parser for AROSICS and is not to be "
"used as a normal Python module.")
# -*- coding: utf-8 -*-
raise DeprecationWarning("The command line tool 'coreg_cmd.py' is deprecated. Use arosics.py instead!")
raise DeprecationWarning("The command line tool 'coreg_cmd.py' is deprecated. Use arosics_cli.py instead!")
......@@ -2,7 +2,7 @@
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXOPTS = -T
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
......
......@@ -27,7 +27,7 @@ test_requirements = ['coverage']
setup(
name='arosics',
version='0.4.13',
version='0.4.14',
description="An Automated and Robust Open-Source Image Co-Registration Software for Multi-Sensor Satellite Data",
long_description=readme + '\n\n' + history,
author="Daniel Scheffler",
......@@ -35,7 +35,7 @@ setup(
url='https://gitext.gfz-potsdam.de/danschef/arosics',
packages=find_packages(),
include_package_data=True,
scripts=["bin/arosics.py"],
scripts=["bin/arosics_cli.py"],
install_requires=requirements,
license="GNU General Public License v3",
zip_safe=False,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment