Skip to main content

Utilities for handling nodata

Project description

Circle CI

nodata

miles-davis7

miles-davis7

Usage

Nodata blobbing

        UNBLOBBED         BLOBBED

ALPHA -------------    ~-----------~
      |           |    |           |
RGB   -------------  ~~-------------~~
                     ^               ^
                     |_ _ _ _ _ _ _ _|
                      Lossy Artifacts
                           Hidden
nodata blob [OPTIONS] SRC_PATH DST_PATH

Options:
-b, --bidx TEXT                   Bands to blob [default = all]
-m, --max-search-distance INTEGER Maximum blobbing radius [default = 4]
-n, --nibblemask                  Nibble blobbed nodata areas [default=False]
--co NAME=VALUE                   Driver specific creation options.See the
                                  documentation for the selected output driver
                                  for more information.
-d, --mask-threshold INTEGER      Alpha pixel threshold upon which to regard
                                  data as masked (ie, for lossy you'd want an
                                  aggressive threshold of 0) [default=None]
-a, --alphafy                     If a RGB raster is found, blob + add alpha
                                  band where nodata is
-j, --jobs                        Number of workers for multiprocessing [default=4]
--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

nodata-0.5.0.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

nodata-0.5.0-py2.py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 2 Python 3

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