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 py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page