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
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(324.8 kB
view details)
Built Distribution
unpackqa-0.2.0-py3-none-any.whl
(15.8 kB
view details)
File details
Details for the file unpackqa-0.2.0.tar.gz
.
File metadata
- Download URL: unpackqa-0.2.0.tar.gz
- Upload date:
- Size: 324.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8302d13366a7a14961be42069a499b374afae13088f92078bc6fc52b5aa34a9f |
|
MD5 | 7f4d31f57c9e81084d6c4fb75c4cce79 |
|
BLAKE2b-256 | 47dd1d0ec758589072248d23faba3d0782fba86f6897801ee4cf97c332e59d58 |
File details
Details for the file unpackqa-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: unpackqa-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65eb8139cee2f234153f1f8055f05ccd1651957d412ff97d2282249c24a97596 |
|
MD5 | a66579bf579de4a3c7d4647cff09bb5f |
|
BLAKE2b-256 | 34d8b34f4767ddd2211818515b0fce6d25a10bb4be5846b2e26742d52a435b02 |