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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file unpackqa-0.2.1.tar.gz.

File metadata

  • Download URL: unpackqa-0.2.1.tar.gz
  • Upload date:
  • Size: 329.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.11

File hashes

Hashes for unpackqa-0.2.1.tar.gz
Algorithm Hash digest
SHA256 eb7b1e2acf4b6c216a080d611e535e65292f30d8daeff88362e854b6530f5098
MD5 1d6646362534a47869182c62ab49be28
BLAKE2b-256 85fe5eb49fd10d19bf9b290fcfd0b2db357fdbf6565303b9e5e5bdb5c9453aa9

See more details on using hashes here.

File details

Details for the file unpackqa-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: unpackqa-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.11

File hashes

Hashes for unpackqa-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5749583d4abb63e1a0bfa4c4b7f5b88877ab9807b91af1b399f157556942fb37
MD5 80aa039b27cfb38677e60492cbf386b0
BLAKE2b-256 66476b0e3e62f495f6065368dff6a4949a6c0275f13ac32eccc9eeaebc18f3af

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