Satellite Products Metadata Parser
Project description
spmp
An easy to use Satellite Product Metadata Parser
Installation
spmp
uses only built-in packages.
pip install spmp
Usage
The package can be used both as a module and a cli which invoke the same function.
module
>>> from spmp import parse
>>> product = parse('path/to/LC08_L1TP_187021_20140328_20170424_01_T1.tar.gz')
>>> product.tile = '187021'
command-line
$ python spmp -p LC08_L1TP_187021_20140328_20170424_01_T1.tar.gz
ProductName(program='L', sensor='C', mission='08', processing_level='L1TP', tile='187021', sensing_date='20140328', processing_year='20170424', collection_number='01', collection_category='T1')
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
spmp-0.1.4.tar.gz
(43.7 kB
view hashes)
Built Distribution
spmp-0.1.4-py3-none-any.whl
(31.9 kB
view hashes)