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.1.tar.gz
(329.3 kB
view hashes)
Built Distribution
unpackqa-0.2.1-py3-none-any.whl
(17.0 kB
view hashes)