Tools for testing rasters
Project description
raster-tester
=============
|PyPI| |Circle CI| |codecov.io|
::
_______________ _______________
|_|_|_|_|_|_|_|_| |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| HIRU |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| DIFF |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| FROM |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| ===> |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| |_|_|_|_|_|_|_|_|
::
raster-tester [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
compare
crossesdateline
isaligned
isempty
istiled
``compare``
-----------
::
Usage: raster-tester compare [OPTIONS] INPUT_1 INPUT_2
Options:
-p, --pixel-threshold INTEGER Threshold for pixel diffs [default=0]
-d, --downsample INTEGER Downsample via decimated read for faster
comparison, and to handle variation in
compression artifacts [default=1]
-u, --upsample INTEGER Upsample to handle variation in compression
artifacts [default=1]
--compare-masked Only compare masks + unmasked areas of RGBA
rasters
--no-error Compare in non stderr mode: echos "(ok|not
ok) - <input_1> is (within|not within)
<pixel-threshold> pixels of <input 2>"
--debug Print ascii preview of errors
--flex-mode Allow comparison of masked RGB + RGBA
--help Show this message and exit.
``crossesdateline``
-------------------
::
Usage: raster-tester crossesdateline [OPTIONS] INPUT
Options:
--help Show this message and exit.
``isaligned``
-------------
::
Usage: raster-tester isaligned [OPTIONS] SOURCES...
Options:
--help Show this message and exit.
``isempty``
-----------
::
Usage: raster-tester isempty [OPTIONS] INPUT_1
Options:
-b, --bidx INTEGER Check one band
--randomize Iterate through windows in a psuedorandom fashion
--help Show this message and exit.
``istiled``
-----------
::
Usage: raster-tester istiled [OPTIONS] SOURCES...
Options:
--blocksize / --no-blocksize assert that sources are internally tiled
--help Show this message and exit.
.. |PyPI| image:: https://img.shields.io/pypi/v/raster-tester.svg
:target:
.. |Circle CI| image:: https://circleci.com/gh/mapbox/raster-tester.svg?style=shield&circle-token=b160fc4bebd1e032df32fe8c4aff4bbea685701d
:target: https://circleci.com/gh/mapbox/raster-tester
.. |codecov.io| image:: https://codecov.io/github/mapbox/raster-tester/coverage.svg?branch=master&token=Gz7rJmDH5d
:target: https://codecov.io/github/mapbox/raster-tester?branch=master
=============
|PyPI| |Circle CI| |codecov.io|
::
_______________ _______________
|_|_|_|_|_|_|_|_| |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| HIRU |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| DIFF |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| FROM |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| ===> |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| |_|_|_|_|_|_|_|_|
::
raster-tester [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
compare
crossesdateline
isaligned
isempty
istiled
``compare``
-----------
::
Usage: raster-tester compare [OPTIONS] INPUT_1 INPUT_2
Options:
-p, --pixel-threshold INTEGER Threshold for pixel diffs [default=0]
-d, --downsample INTEGER Downsample via decimated read for faster
comparison, and to handle variation in
compression artifacts [default=1]
-u, --upsample INTEGER Upsample to handle variation in compression
artifacts [default=1]
--compare-masked Only compare masks + unmasked areas of RGBA
rasters
--no-error Compare in non stderr mode: echos "(ok|not
ok) - <input_1> is (within|not within)
<pixel-threshold> pixels of <input 2>"
--debug Print ascii preview of errors
--flex-mode Allow comparison of masked RGB + RGBA
--help Show this message and exit.
``crossesdateline``
-------------------
::
Usage: raster-tester crossesdateline [OPTIONS] INPUT
Options:
--help Show this message and exit.
``isaligned``
-------------
::
Usage: raster-tester isaligned [OPTIONS] SOURCES...
Options:
--help Show this message and exit.
``isempty``
-----------
::
Usage: raster-tester isempty [OPTIONS] INPUT_1
Options:
-b, --bidx INTEGER Check one band
--randomize Iterate through windows in a psuedorandom fashion
--help Show this message and exit.
``istiled``
-----------
::
Usage: raster-tester istiled [OPTIONS] SOURCES...
Options:
--blocksize / --no-blocksize assert that sources are internally tiled
--help Show this message and exit.
.. |PyPI| image:: https://img.shields.io/pypi/v/raster-tester.svg
:target:
.. |Circle CI| image:: https://circleci.com/gh/mapbox/raster-tester.svg?style=shield&circle-token=b160fc4bebd1e032df32fe8c4aff4bbea685701d
:target: https://circleci.com/gh/mapbox/raster-tester
.. |codecov.io| image:: https://codecov.io/github/mapbox/raster-tester/coverage.svg?branch=master&token=Gz7rJmDH5d
:target: https://codecov.io/github/mapbox/raster-tester?branch=master
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
raster-tester-0.7.0.tar.gz
(6.2 kB
view details)
File details
Details for the file raster-tester-0.7.0.tar.gz
.
File metadata
- Download URL: raster-tester-0.7.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1ca9c721100d12d60c1ec12cd25cee40e1815267f2d51a3fe155ad8330a4da5 |
|
MD5 | 2a06545ca036062b881c3345ecc0a96c |
|
BLAKE2b-256 | 1994c9df4eaf67e5d5f181047cad3ac5f8ef022a93f863e91a60b6a6243fcf54 |