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 directly from the github repo:
pip install git+git://github.com/sdtaylor/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.1.0.tar.gz
(322.5 kB
view details)
Built Distribution
unpackqa-0.1.0-py3-none-any.whl
(14.0 kB
view details)
File details
Details for the file unpackqa-0.1.0.tar.gz
.
File metadata
- Download URL: unpackqa-0.1.0.tar.gz
- Upload date:
- Size: 322.5 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 | 1873d0aefe8b24f1080c0c6f55319f5053a78b13a54ce6b654c59ee3ff0e60ca |
|
MD5 | ee62ae024a12ed2c3a4c3a3dc58c52bc |
|
BLAKE2b-256 | a899240b5b37138d09eb79f8f075ff27cd1a8530d45277480fd8007dd8aefe66 |
File details
Details for the file unpackqa-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: unpackqa-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.0 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 | daacdc59eff5838cd8e66f2bac24017fc72ff7a7ba67435c924621781f27edd1 |
|
MD5 | 930e02ee30919d2c5b8386900e03c5f5 |
|
BLAKE2b-256 | 9915c7a440a16cdd33911e51cf819fc68bdc394c6be06ab92a2ffba98caf0063 |