跳转到主要内容

用于测试的多种遥感数据

项目描述

https://travis-ci.org/sat-utils/sat-testdata.svg?branch=develop

一个用于测试的卫星测试数据仓库。目前包括以下示例:

  • landsat8

  • sentinel2

示例

>>> 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']}

关于

Sat Testdata 由 Development Seed 制作。该工具可在 MIT 许可证 下使用。

此仓库中的数据可在 CC0 许可证下使用,并包含 Copernicus Sentinel数据 和来自 美国地质调查局 的Landsat数据。

项目详情


下载文件

下载适用于您平台文件的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。

源分布

stestdata-0.1.0.tar.gz (37.9 MB 查看散列)

上传时间: 来源

由以下支持