Skip to main content

Tools for testing rasters

Project description

Build Status

 _______________        _______________
|_|_|_|_|_|_|_|_|      |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| HIRU |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| DIFF |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| FROM |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| ===> |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|      |_|_|_|_|_|_|_|_|

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.

isempty

Usage: raster-tester isempty [OPTIONS] INPUT_1

Options:
  -b, --bidx INTEGER            Bands to blob [default = 4]
  --randomize                   Iterate through windows in a psuedorandom fashion
  --help                        Show this message and exit.

Project details


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.6.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file raster-tester-0.6.0.tar.gz.

File metadata

File hashes

Hashes for raster-tester-0.6.0.tar.gz
Algorithm Hash digest
SHA256 b6f6dd4d5a5b2c252644e5ee90986f7eb0c55da945d462395f8fe3a96152cb82
MD5 8bad9db96ecf28ede9e0bc0f5788ac8e
BLAKE2b-256 19b65f3a10e14d077e2a56b28ac0e6f26185b21437ba8dc811a440a3910a8c06

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page