Skip to main content

raster-tester

https://img.shields.io/pypi/v/raster-tester.svg https://circleci.com/gh/mapbox/raster-tester.svg?style=svg&circle-token=b160fc4bebd1e032df32fe8c4aff4bbea685701d https://codecov.io/gh/mapbox/raster-tester/branch/master/graph/badge.svg?token=Gz7rJmDH5d
 _______________        _______________
|_|_|_|_|_|_|_|_|      |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_| 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.

Metadata

Release files for raster-tester 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raster-tester 0.11.0
File Size Uploaded Provenance Actions
raster-tester-0.11.0.tar.gz 6.9 kB Without provenance Details for raster-tester-0.11.0.tar.gz

Release files / raster-tester-0.11.0.tar.gz

Download URL raster-tester-0.11.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ae8191f50f149b72feb2b74135347961a7e4b5ef5b1cd00e5c82c930382c8007
BLAKE2b-256 checksum
How to use checksums
1ae920cad9183ad5a490a7e115812da157094a1bed8d63e468043c87d06df513
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for raster-tester 0.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page