本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
数据集合
Amazon SageMaker 地理空间支持以下栅格数据集合。在以下数据集合中,您可以在开始地球观测作业 (EOJ) 时使用USGS Landsat和Sentinel-2云优化的GeoTIFF数据集合。要了解有关 EOJ 的更多信息,请参阅地球观测作业。
要在中查找可用栅格数据集合的列表 Amazon Web Services 区域,请使用ListRasterDataCollections
。在 ListRasterDataCollections
响应中,您将获得一个 RasterDataCollectionMetadata
对象,其中包含有关可用栅格数据集合的详细信息。
例 示例-使用调用 ListRasterDataCollections
API Amazon SDK for Python (Boto3)
当你使用适用于 Python 的 SDK (Boto3) 和 SageMaker 地理空间时,你必须创建一个地理空间客户端。geospatial_client
使用以下 Python 代码段调用 list_raster_data_collections
API:
import boto3 import sagemaker import sagemaker_geospatial_map import json ## SageMaker Geospatial Capabilities is currently only avaialable in US-WEST-2 session = boto3.Session(region_name='us-west-2') execution_role = sagemaker.get_execution_role() ## Creates a SageMaker Geospatial client instance geospatial_client = session.client(service_name="sagemaker-geospatial") # Creates a resusable Paginator for the list_raster_data_collections API operation paginator = geospatial_client.get_paginator("list_raster_data_collections") # Create a PageIterator from the Paginator page_iterator = paginator.paginate() # Use the iterator to iterate throught the results of list_raster_data_collections results = [] for page in page_iterator: results.append(page['RasterDataCollectionSummaries']) print (results)
在 JSON 响应中,您将收到以下内容,为清晰起见,这些内容已被截断:
{ "Arn": "arn:aws:sagemaker-geospatial:us-west-2:555555555555:raster-data-collection/public/dxxbpqwvu9041ny8", "Description": "Copernicus DEM is a Digital Surface Model which represents the surface of the Earth including buildings, infrastructure, and vegetation. GLO-30 is instance of Copernicus DEM that provides limited worldwide coverage at 30 meters.", "DescriptionPageUrl": "https://registry.opendata.aws/copernicus-dem/", "Name": "Copernicus DEM GLO-30", "Tags": {}, "Type": "PUBLIC" }
来自USGS Landsat和Sentinel-2数据集合的图像波段信息
下表提供了来自 USGS Landsat 8 和 Sentinel-2 数据集合的图像波段信息。
USGS Landsat | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
波段名称 | 波长范围 (nm) | 单位 | 有效范围 | 填充值 | 空间分辨率 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
沿海 | 435-451 | 无单位 | 1-65455 | 0(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
蓝色 | 452-512 | 无单位 | 1-65455 | 0(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
绿色 | 533-590 | 无单位 | 1-65455 | 0(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
red | 636-673 | 无单位 | 1-65455 | 0(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nir | 851-879 | 无单位 | 1-65455 | 0(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
swir16 | 1566-1651 | 无单位 | 1-65455 | 0(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
swir22 | 2107-2294 | 无单位 | 1-65455 | 0(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
qa_aerosol | NA | Bit Index | 0-255 | 1 | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
qa_pixel | NA | Bit Index | 1-65455 | 1(位 0) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
qa_radsat | NA | Bit Index | 1-65455 | NA | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
t | 10600-11190 | Scaled Kelvin | 1-65455 | 0(无数据) | 30m(按 100m 缩放) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
atran | NA | 无单位 | 0-10000 | -9999(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cdist | NA | Kilometers | 0-24000 | -9999(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
drad | NA | W/(m^2 sr µm)/DN | 0-28000 | -9999(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
urad | NA | W/(m^2 sr µm)/DN | 0-28000 | -9999(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
trad | NA | W/(m^2 sr µm)/DN | 0-28000 | -9999(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
emis | NA | 辐射率 | 1-10000 | -9999(无数据) | 30m | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
emsd | NA | 辐射率 | 1-10000 | -9999(无数据) | 30m |
波段名称 | 波长范围 (nm) | 比例 | 有效范围 | 填充值 | 空间分辨率 |
---|---|---|---|---|---|
沿海 | 443 | 0.0001 | NA | 0(无数据) | 60m |
蓝色 | 490 | 0.0001 | NA | 0(无数据) | 10m |
绿色 | 560 | 0.0001 | NA | 0(无数据) | 10m |
red | 665 | 0.0001 | NA | 0(无数据) | 10m |
rededge1 | 705 | 0.0001 | NA | 0(无数据) | 20m |
rededge2 | 740 | 0.0001 | NA | 0(无数据) | 20m |
rededge3 | 783 | 0.0001 | NA | 0(无数据) | 20m |
nir | 842 | 0.0001 | NA | 0(无数据) | 10m |
nir08 | 865 | 0.0001 | NA | 0(无数据) | 20m |
nir08 | 865 | 0.0001 | NA | 0(无数据) | 20m |
nir09 | 940 | 0.0001 | NA | 0(无数据) | 60m |
swir16 | 1610 | 0.0001 | NA | 0(无数据) | 20m |
swir22 | 2190 | 0.0001 | NA | 0(无数据) | 20m |
aot | 气溶胶光学厚度 | 0.001 | NA | 0(无数据) | 10m |
wvp | 海面感热 | 0.001 | NA | 0(无数据) | 10m |
scl | 场景分类数据 | NA | 1-11 | 0(无数据) | 20m |