Google Earth Engine ——数据全解析专辑(COPERNICUS/S2_SR)20154至今哨兵-2号(SR) 数据集

Sentinel-2 is a wide-swath, high-resolution, multi-spectral imaging mission supporting Copernicus Land Monitoring studies, including the monitoring of vegetation, soil and water cover, as well as observation of inland waterways and coastal areas.

The Sentinel-2 L2 data are downloaded from scihub. They were computed by running sen2cor. WARNING: ESA did not produce L2 data for all L1 assets, and earlier L2 coverage is not global.

The assets contain 12 UINT16 spectral bands representing SR scaled by 10000 (unlike in L1 data, there is no B10). There are also several more L2-specific bands (see band list for details). See the Sentinel-2 User Handbook for details. In addition, three QA bands are present where one (QA60) is a bitmask band with cloud mask information. For more details, see the full explanation of how cloud masks are computed.

EE asset ids for Sentinel-2 L2 assets have the following format: COPERNICUS/S2_SR/20151128T002653_20151128T102149_T56MNN. Here the first numeric part represents the sensing date and time, the second numeric part represents the product generation date and time, and the final 6-character string is a unique granule identifier indicating its UTM grid reference (see MGRS).

Clouds can be removed by using COPERNICUS/S2_CLOUD_PROBABILITY. See this tutorial explaining how to apply the cloud mask.

For more details on Sentinel-2 radiometric resolution, see this page.

Sentinel-2 是一个宽幅、高分辨率、多光谱成像任务,支持哥白尼土地监测研究,包括监测植被、土壤和水覆盖,以及观察内陆水道和沿海地区。

Sentinel-2 L2 数据从 scihub 下载。它们是通过运行 sen2cor 来计算的。警告:ESA 没有为所有 L1 资产生成 L2 数据,早期的 L2 覆盖范围不是全球性的。

资产包含 12 个 UINT16 光谱带,代表按 10000 缩放的 SR(与 L1 数据不同,没有 B10)。还有几个特定于 L2 的频段(有关详细信息,请参阅频段列表)。有关详细信息,请参阅 Sentinel-2 用户手册。此外,存在三个 QA 带,其中一个 (QA60) 是具有云掩码信息的位掩码带。有关更多详细信息,请参阅有关如何计算云掩码的完整说明。

Sentinel-2 L2 资产的 EE 资产 ID 具有以下格式:COPERNICUS/S2_SR/20151128T002653_20151128T102149_T56MNN。这里的第一个数字部分表示感应日期和时间,第二个数字部分表示产品生成日期和时间,最后的 6 个字符串是一个唯一的颗粒标识符,表示其 UTM 网格参考(参见 MGRS)。

可以使用 COPERNICUS/S2_CLOUD_PROBABILITY 去除云。请参阅本教程,解释如何应用云遮罩。

有关 Sentinel-2 辐射分辨率的更多详细信息,请参阅此页面。

Dataset Availability

2017-03-28T00:00:00 - 2021-09-04T00:00:00

Dataset Provider

European Union/ESA/Copernicus

Collection Snippet

ee.ImageCollection("COPERNICUS/S2_SR")

Bands Table

NameDescriptionMinMaxResolutionUnitsWavelengthScale
B1Aerosols60 meters443.9nm (S2A) / 442.3nm (S2B)0.0001
B2Blue10 meters496.6nm (S2A) / 492.1nm (S2B)0.0001
B3Green10 meters560nm (S2A) / 559nm (S2B)0.0001
B4Red10 meters664.5nm (S2A) / 665nm (S2B)0.0001
B5Red Edge 120 meters703.9nm (S2A) / 703.8nm (S2B)0.0001
B6Red Edge 220 meters740.2nm (S2A) / 739.1nm (S2B)0.0001
B7Red Edge 320 meters782.5nm (S2A) / 779.7nm (S2B)0.0001
B8NIR10 meters835.1nm (S2A) / 833nm (S2B)0.0001
B8ARed Edge 420 meters864.8nm (S2A) / 864nm (S2B)0.0001
B9Water vapor60 meters945nm (S2A) / 943.2nm (S2B)0.0001
B11SWIR 120 meters1613.7nm (S2A) / 1610.4nm (S2B)0.0001
B12SWIR 220 meters2202.4nm (S2A) / 2185.7nm (S2B)0.0001
AOTAerosol Optical Thickness10 meters0.001
WVPWater Vapor Pressure. The height the water would occupy if the vapor were condensed into liquid and spread evenly across the column.10 meterscm0.001
SCLScene Classification Map (The "No Data" value of 0 is masked out)11120 meters0
TCI_RTrue Color Image, Red channel10 meters0
TCI_GTrue Color Image, Green channel10 meters0
TCI_BTrue Color Image, Blue channel10 meters0
MSK_CLDPRBCloud Probability Map (missing in some products)010020 meters0
MSK_SNWPRBSnow Probability Map (missing in some products)010010 meters0
QA10Always empty10 meters0
QA20Always empty20 meters0
QA60Cloud mask60 meters0
QA60 Bitmask
  • Bit 10: Opaque clouds
    • 0: No opaque clouds
    • 1: Opaque clouds present
  • Bit 11: Cirrus clouds
    • 0: No cirrus clouds
    • 1: Cirrus clouds present

Class Table: SCL

ValueColorColor ValueDescription
1#ff0004Saturated or defective
2#868686Dark Area Pixels
3#774b0aCloud Shadows
4#10d22cVegetation
5#ffff52Bare Soils
6#0000ffWater
7#818181Clouds Low Probability / Unclassified
8#c0c0c0Clouds Medium Probability
9#f1f1f1Clouds High Probability
10#bac5ebCirrus
11#52fff9Snow / Ice

影像属性:

NameTypeDescription
AOT_RETRIEVAL_ACCURACYDoubleAccuracy of Aerosol Optical thickness model
CLOUDY_PIXEL_PERCENTAGEDoubleGranule-specific cloudy pixel percentage taken from the original metadata
CLOUD_COVERAGE_ASSESSMENTDoubleCloudy pixel percentage for the whole archive that contains this granule. Taken from the original metadata
CLOUDY_SHADOW_PERCENTAGEDoublePercentage of pixels classified as cloud shadow
DARK_FEATURES_PERCENTAGEDoublePercentage of pixels classified as dark features or shadows
DATASTRIP_IDStringUnique identifier of the datastrip Product Data Item (PDI)
DATATAKE_IDENTIFIERStringUniquely identifies a given Datatake. The ID contains the Sentinel-2 satellite, start date and time, absolute orbit number, and processing baseline.
DATATAKE_TYPEStringMSI operation mode
DEGRADED_MSI_DATA_PERCENTAGEDoublePercentage of degraded MSI and ancillary data
FORMAT_CORRECTNESSStringSynthesis of the On-Line Quality Control (OLQC) checks performed at granule (Product_Syntax) and datastrip (Product Syntax and DS_Consistency) levels
GENERAL_QUALITYStringSynthesis of the OLQC checks performed at the datastrip level (Relative_Orbit_Number)
GENERATION_TIMEDoubleProduct generation time
GEOMETRIC_QUALITYStringSynthesis of the OLQC checks performed at the datastrip level (Attitude_Quality_Indicator)
GRANULE_IDStringUnique identifier of the granule PDI (PDI_ID)
HIGH_PROBA_CLOUDS_PERCENTAGEDoublePercentage of pixels classified as high probability clouds
MEAN_INCIDENCE_AZIMUTH_ANGLE_B1DoubleMean value containing viewing incidence azimuth angle average for band B1 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B2DoubleMean value containing viewing incidence azimuth angle average for band B2 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B3DoubleMean value containing viewing incidence azimuth angle average for band B3 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B4DoubleMean value containing viewing incidence azimuth angle average for band B4 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B5DoubleMean value containing viewing incidence azimuth angle average for band B5 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B6DoubleMean value containing viewing incidence azimuth angle average for band B6 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B7DoubleMean value containing viewing incidence azimuth angle average for band B7 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B8DoubleMean value containing viewing incidence azimuth angle average for band B8 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B8ADoubleMean value containing viewing incidence azimuth angle average for band B8a and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B9DoubleMean value containing viewing incidence azimuth angle average for band B9 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B10DoubleMean value containing viewing incidence azimuth angle average for band B10 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B11DoubleMean value containing viewing incidence azimuth angle average for band B11 and for all detectors
MEAN_INCIDENCE_AZIMUTH_ANGLE_B12DoubleMean value containing viewing incidence azimuth angle average for band B12 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B1DoubleMean value containing viewing incidence zenith angle average for band B1 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B2DoubleMean value containing viewing incidence zenith angle average for band B2 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B3DoubleMean value containing viewing incidence zenith angle average for band B3 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B4DoubleMean value containing viewing incidence zenith angle average for band B4 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B5DoubleMean value containing viewing incidence zenith angle average for band B5 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B6DoubleMean value containing viewing incidence zenith angle average for band B6 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B7DoubleMean value containing viewing incidence zenith angle average for band B7 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B8DoubleMean value containing viewing incidence zenith angle average for band B8 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B8ADoubleMean value containing viewing incidence zenith angle average for band B8a and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B9DoubleMean value containing viewing incidence zenith angle average for band B9 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B10DoubleMean value containing viewing incidence zenith angle average for band B10 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B11DoubleMean value containing viewing incidence zenith angle average for band B11 and for all detectors
MEAN_INCIDENCE_ZENITH_ANGLE_B12DoubleMean value containing viewing incidence zenith angle average for band B12 and for all detectors
MEAN_SOLAR_AZIMUTH_ANGLEDoubleMean value containing sun azimuth angle average for all bands and detectors
MEAN_SOLAR_ZENITH_ANGLEDoubleMean value containing sun zenith angle average for all bands and detectors
MEDIUM_PROBA_CLOUDS_PERCENTAGEDoublePercentage of pixels classified as medium probability clouds
MGRS_TILEStringUS-Military Grid Reference System (MGRS) tile
NODATA_PIXEL_PERCENTAGEDoublePercentage of No Data pixels
NOT_VEGETATED_PERCENTAGEDoublePercentage of pixels classified as non-vegetated
PROCESSING_BASELINEStringConfiguration baseline used at the time of the product generation in terms of processor software version and major Ground Image Processing Parameters (GIPP) version
PRODUCT_IDStringThe full id of the original Sentinel-2 product
RADIATIVE_TRANSFER_ACCURACYDoubleAccuracy of radiative transfer model
RADIOMETRIC_QUALITYStringBased on the OLQC reports contained in the Datastrips/QI_DATA with RADIOMETRIC_QUALITY checklist name
REFLECTANCE_CONVERSION_CORRECTIONDoubleEarth-Sun distance correction factor
SATURATED_DEFECTIVE_PIXEL_PERCENTAGEDoublePercentage of saturated or defective pixels
SENSING_ORBIT_DIRECTIONStringImaging orbit direction
SENSING_ORBIT_NUMBERDoubleImaging orbit number
SENSOR_QUALITYStringSynthesis of the OLQC checks performed at granule (Missing_Lines, Corrupted_ISP, and Sensing_Time) and datastrip (Degraded_SAD and Datation_Model) levels
SOLAR_IRRADIANCE_B1DoubleMean solar exoatmospheric irradiance for band B1
SOLAR_IRRADIANCE_B2DoubleMean solar exoatmospheric irradiance for band B2
SOLAR_IRRADIANCE_B3DoubleMean solar exoatmospheric irradiance for band B3
SOLAR_IRRADIANCE_B4DoubleMean solar exoatmospheric irradiance for band B4
SOLAR_IRRADIANCE_B5DoubleMean solar exoatmospheric irradiance for band B5
SOLAR_IRRADIANCE_B6DoubleMean solar exoatmospheric irradiance for band B6
SOLAR_IRRADIANCE_B7DoubleMean solar exoatmospheric irradiance for band B7
SOLAR_IRRADIANCE_B8DoubleMean solar exoatmospheric irradiance for band B8
SOLAR_IRRADIANCE_B8ADoubleMean solar exoatmospheric irradiance for band B8a
SOLAR_IRRADIANCE_B9DoubleMean solar exoatmospheric irradiance for band B9
SOLAR_IRRADIANCE_B10DoubleMean solar exoatmospheric irradiance for band B10
SOLAR_IRRADIANCE_B11DoubleMean solar exoatmospheric irradiance for band B11
SOLAR_IRRADIANCE_B12DoubleMean solar exoatmospheric irradiance for band B12
SNOW_ICE_PERCENTAGEDoublePercentage of pixels classified as snow or ice
SPACECRAFT_NAMEStringSentinel-2 spacecraft name: Sentinel-2A, Sentinel-2B
THIN_CIRRUS_PERCENTAGEDoublePercentage of pixels classified as thin cirrus clouds
UNCLASSIFIED_PERCENTAGEDoublePercentage of unclassified pixels
VEGETATION_PERCENTAGEDoublePercentage of pixels classified as vegetation
WATER_PERCENTAGEDoublePercentage of pixels classified as water
WATER_VAPOUR_RETRIEVAL_ACCURACYDoubleDeclared accuracy of the Water Vapor model

代码:

function maskS2clouds(image) {
  var qa = image.select('QA60');

  // Bits 10 and 11 are clouds and cirrus, respectively.
  var cloudBitMask = 1 << 10;
  var cirrusBitMask = 1 << 11;

  // Both flags should be set to zero, indicating clear conditions.去云操作
  var mask = qa.bitwiseAnd(cloudBitMask).eq(0)
      .and(qa.bitwiseAnd(cirrusBitMask).eq(0));

  return image.updateMask(mask).divide(10000);
}

// Map the function over one year of data and take the median.
// Load Sentinel-2 TOA reflectance data.
var dataset = ee.ImageCollection('COPERNICUS/S2')
                  .filterDate('2018-01-01', '2018-06-30')
                  // Pre-filter to get less cloudy granules.
                  .filter(ee.Filter.lt('CLOUDY_PIXEL_PERCENTAGE', 20))
                  .map(maskS2clouds);

var rgbVis = {
  min: 0.0,
  max: 0.3,
  bands: ['B4', 'B3', 'B2'],
};

Map.setCenter(-9.1695, 38.6917, 12);
Map.addLayer(dataset.median(), rgbVis, 'RGB');

影像:

 

 

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

此星光明

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值