Skip to main content

QA bit unpacking for Landsat, MODIS, Sentinal, VIIRS, and more.

Project description

unpackqa

Methods for unpacking, labelling and masking all common remote sensing QA bands which are stored in bit-wise values.

  • Works with single QA values, 1D arrays (eg. time series), or 2D arrays (eg. full scenes).
  • Get a QA mask in a single line of code: unpackqa.unpack_to_array(qa,'LANDSAT_8_C2_L2_QAPixel','Cloud')
  • The same methods are used for all sensors, with specific product flags specified via arguments.
  • No file reading or writing, everything is handled as pre-loaded arrays.
  • Requires python 3.6+, with numpy and pyyaml as the only dependencies.

Installation

Install via pip:

pip install unpackqa

Documentation

https://sdtaylor.github.io/unpackqa

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

unpackqa-0.2.1.tar.gz (329.3 kB view hashes)

Uploaded Source

Built Distribution

unpackqa-0.2.1-py3-none-any.whl (17.0 kB view hashes)

Uploaded 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