sat-testdata
A repository of satellite testdata for use in testing. Currently includes samples for
landsat8
sentinel2
Example
>>> import pprint
>>> from stestdata import TestData
>>> t = TestData('landsat8')
>>> t.names
['small_full_data_cloudy']
>>> pprint.pprint(t.examples)
{'small_full_data_cloudy': {'B1': {'band_name': 'B1',
'band_type': 'coastal',
'filename': 'test_B1.tif',
'path': '/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B1.tif'},
'B2': {'band_name': 'B2',
'band_type': 'blue',
'filename': 'test_B2.tif',
'path': '/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B2.tif'},
'B3': {'band_name': 'B3',
'band_type': 'green',
'filename': 'test_B3.tif',
'path': '/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B3.tif'},
'B4': {'band_name': 'B4',
'band_type': 'red',
'filename': 'test_B4.tif',
'path': '/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B4.tif'},
'B5': {'band_name': 'B5',
'band_type': 'nir',
'filename': 'test_B5.tif',
'path': '/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B5.tif'},
'B6': {'band_name': 'B6',
'band_type': 'swir1',
'filename': 'test_B6.tif',
'path': '/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B6.tif'},
'B7': {'band_name': 'B7',
'band_type': 'swir2',
'filename': 'test_B7.tif',
'path': '/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B7.tif'},
'B8': {'band_name': 'B8',
'band_type': 'pan',
'filename': 'test_B8.tif',
'path': '/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B8.tif'},
'B9': {'band_name': 'B9',
'band_type': 'cirrus',
'filename': 'test_B9.tif',
'path': '/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B9.tif'},
'BQA': {'band_name': 'BQA',
'band_type': 'quality',
'filename': 'test_BQA.tif',
'path': '/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_BQA.tif'}}}
>>> t.files_bands
{'small_full_data_cloudy': {'/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B6.tif': ['swir1'], '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B8.tif': ['pan'], '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B1.tif': ['coastal'], '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B9.tif': ['cirrus'], '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B2.tif': ['blue'], '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B4.tif': ['red'], '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_BQA.tif': ['quality'], '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B3.tif': ['green'], '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B5.tif': ['nir'], '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B7.tif': ['swir2']}}
>>> t.files
{'small_full_data_cloudy': ['/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B1.tif', '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B2.tif', '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B3.tif', '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B4.tif', '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B5.tif', '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B6.tif', '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B7.tif', '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B8.tif', '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_B9.tif', '/Users/ajdevseed/lib/repos/sat/sat-testdata/stestdata/data/landsat8/small_full_data_cloudy/test_BQA.tif']}
About
Sat Testdata was made by Development Seed. The tool is available under a MIT license.
The data in this repository is available under a CC0 license and contains Copernicus Sentinel data and Landsat data from the US Geological Survey.
Metadata
Release files for stestdata 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stestdata-0.1.0.tar.gz | 37.9 MB | Without provenance | Details for stestdata-0.1.0.tar.gz |
Release files / stestdata-0.1.0.tar.gz
| Download URL | stestdata-0.1.0.tar.gz |
|---|---|
| Size | 37.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b99ec8eac055809609ba804a0518774ebe50e3c6b6c276067c6b23d2d5929753
|
|
BLAKE2b-256 checksum How to use checksums |
14d7a2514385321cc08d42175cb3bc6b1786aefa25e588c6808446a866d03706
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for stestdata 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.