sentinel-2 大气校正方法
参考文章:
哨兵2号(Sentinel-2)介绍、下载、预处理及批处理_GeoSuper的博客-CSDN博客_哨兵2号
Sentinel-2批量大气校正_基于Sen2Cor_GeoSuper的博客-CSDN博客_sen2cor批量大气校正
sentinel-2数据下载 大气校正 转ENVI格式_乌梅呓声的博客-CSDN博客_snap转envi
sen2cor下载地址: Sen2Cor – STEP
Two different versions of Sen2Cor are available:
Sen2Cor_v2.8 is the latest release supporting Sentinel-2 L1C data generated with the current (14.5) and previous (14.2) Products Specification Document, as input. Sen2Cor_v2.8 release contains new features and improvements respect to Sen2Cor_v2.5.5.
Sen2Cor_v2.5.5 is the previous release and it is needed if the user intends to process old Sentinel-2 L1C data generated with the Products Specification Document older than 14.2 and not reprocessed by ESA.
下载zip,解压后进入文件夹,如图。按shift同时右键选择在此处进入命令行。
大气校正后:
大气校正之后可在SNAP进行后续的应用,当然也可以在SNAP里针对特定波段进行导出成tif格式,在其他平台例如erdas、envi中进行操作。
SNAP下载:Download – STEP
Windows 64-Bit | Windows 32-Bit | Mac OS X | Unix 64-bit | |
Sentinel Toolboxes | These installers contain the Sentinel-1, Sentinel-2, Sentinel-3Toolboxes | |||
Download | Download | Download | Download | |
SMOS Toolbox |
These installer contains only the SMOS Toolbox. Download also the Format Conversion Tool (Earth Explorer to NetCDF) and the user manual. |
|||
Download | Download | Download | Download | |
All Toolboxes | These installers contain the Sentinel-1, Sentinel-2, Sentinel-3Toolboxes, SMOS and PROBA-V Toolbox | |||
Download | Download | Download | Download |
输入L2A_Process.bat –help,得到如下图所示结果即为成功。下一步即可进行大气校正Microsoft Windows [版本 10.0.14393]
(c) 2016 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>cd Sen2Cor-02.08.00-win64
C:\Users\Administrator\Sen2Cor-02.08.00-win64>L2A_Process --help
usage: L2A_Process.py [-h] [--mode MODE] [--resolution {10,20,60}][--datastrip DATASTRIP] [--tile TILE][--output_dir OUTPUT_DIR] [--work_dir WORK_DIR][--img_database_dir IMG_DATABASE_DIR][--res_database_dir RES_DATABASE_DIR][--processing_centre PROCESSING_CENTRE][--archiving_centre ARCHIVING_CENTRE][--processing_baseline PROCESSING_BASELINE] [--raw][--tif] [--sc_only] [--cr_only] [--debug][--GIP_L2A GIP_L2A] [--GIP_L2A_SC GIP_L2A_SC][--GIP_L2A_AC GIP_L2A_AC] [--GIP_L2A_PB GIP_L2A_PB]input_dirSentinel-2 Level 2A Processor (Sen2Cor). Version: 2.8.0, created: 2019.02.20,
supporting Level-1C product version 14.2 - 14.5.positional arguments:input_dir Directory of Level-1C inputoptional arguments:-h, --help show this help message and exit--mode MODE Mode: generate_datastrip, process_tile--resolution {10,20,60}Target resolution, can be 10, 20 or 60m. If omitted,only 20 and 10m resolutions will be processed--datastrip DATASTRIPDatastrip folder--tile TILE Tile folder--output_dir OUTPUT_DIROutput directory--work_dir WORK_DIR Work directory--img_database_dir IMG_DATABASE_DIRDatabase directory for L1C input images--res_database_dir RES_DATABASE_DIRDatabase directory for results and temporary products--processing_centre PROCESSING_CENTREProcessing centre as regex: ^[A-Z_]{4}$, e.g "SGS_"--archiving_centre ARCHIVING_CENTREArchiving centre as regex: ^[A-Z_]{4}$, e.g. "SGS_"--processing_baseline PROCESSING_BASELINEProcessing baseline in the format: "dd.dd", whered=[0:9]--raw Export raw images in rawl format with ENVI hdr--tif Export raw images in TIFF format instead of JPEG-2000--sc_only Performs only the scene classification at 60 or 20mresolution--cr_only Performs only the creation of the L2A product tree, noprocessing--debug Performs in debug mode--GIP_L2A GIP_L2A Select the user GIPP--GIP_L2A_SC GIP_L2A_SCSelect the scene classification GIPP--GIP_L2A_AC GIP_L2A_ACSelect the atmospheric correction GIPP--GIP_L2A_PB GIP_L2A_PBSelect the processing baseline GIPP大气校正 步骤如下:
对10m的数据进行大气校正,进入数据所在文件夹下,键入命令:
C:\Users\Administrator\Sen2Cor-02.08.00-win64>L2A_Process.bat --resolution 10 C:\Users\Administrator\Sen2Cor-02.08.00-win64\S2A_MSIL1C_20191005T030601_N0208_R075_T49RFL_20191005T060401\S2A_MSIL1C_20191005T030601_N0208_R075_T49RFL_20191005T060401.SAFE 对所有数据进行大气校正,命令如下:
C:\Users\Administrator\Sen2Cor-02.08.00-win64>L2A_Process C:\Users\Administrator\Sen2Cor-02.08.00-win64\S2A_MSIL1C_20191005T030601_N0208_R075_T49RFL_20191005T060401\S2A_MSIL1C_20191005T030601_N0208_R075_T49RFL_20191005T060401.SAFE
Sentinel-2 Level 2A Processor (Sen2Cor). Version: 2.8.0, created: 2019.02.20, supporting Level-1C product version 14.2 - 14.5 started ...
Product version: 14.5
Operation mode: TOOLBOX
Processing baseline: 99.99
Progress[%]: 0.00 : Generating datastrip metadata
L1C datastrip found, L2A datastrip successfully generated
No resolution specified, will process 20 and 10 m resolution
20 m resolution will be downsampled to 60 m
Progress[%]: 0.09 : PID-11104, L2A_ProcessTile: processing with resolution 20 m, elapsed time[s]: 2.353, total: 0:00:08.932000
Progress[%]: 0.09 : PID-11104, L2A_ProcessTile: start of pre processing, elapsed time[s]: 0.001, total: 0:00:08.933000
Progress[%]: 0.09 : PID-11104, L2A_Tables: start import, elapsed time[s]: 0.044, total: 0:00:08.977000
Progress[%]: 0.11 : PID-11104, L2A_Tables: band B01 imported, elapsed time[s]: 0.281, total: 0:00:09.258000
Progress[%]: 0.27 : PID-11104, L2A_Tables: band B02 imported, elapsed time[s]: 4.137, total: 0:00:13.395000
Progress[%]: 0.46 : PID-11104, L2A_Tables: band B03 imported, elapsed time[s]: 4.832, total: 0:00:18.227000
Progress[%]: 0.66 : PID-11104, L2A_Tables: band B04 imported, elapsed time[s]: 5.062, total: 0:00:23.289000
Progress[%]: 0.79 : PID-11104, L2A_Tables: band B05 imported, elapsed time[s]: 3.494, total: 0:00:26.783000
Progress[%]: 0.87 : PID-11104, L2A_Tables: band B06 imported, elapsed time[s]: 1.903, total: 0:00:28.686000
Progress[%]: 0.94 : PID-11104, L2A_Tables: band B07 imported, elapsed time[s]: 1.940, total: 0:00:30.626000
Progress[%]: 1.02 : PID-11104, L2A_Tables: band B8A imported, elapsed time[s]: 1.908, total: 0:00:32.534000
C:\Users\Administrator\Sen2Cor-02.08.00-win64>
安装该软件,打开页面如下:
安装后可以在SNAP中将数据转为ENVI等格式输出,操作流程为打开SNAP,点击file-open product,选择需要转格式输出的数据.safe文件,选择MTD开头的.xml文件。
打开后不能直接用file-export-ENVI进行转换,这样做会弹出错误信息:
应当首先进行resampling。点击raster- geometric operations- resampling,选择resampling parameters,调节参数,点击run。
完成后SNAP左侧会出现操作完成后的结果。选中它再点击file - export- ENVI即可完成。转出后的格式可以用ENVI打开。
切记!切记!!!
情况缓冲在系统盘中的数据
记住一定要及时情清空文件中的缓冲数据,太占用内存了,如下是路径
C:\Users\Administrator\.snap\var\cache\s2tbx\l2a-reader\7.0.0
把里面新生产的产物删除即可。这个bagel不知道为什么欧空局不纠正。
补充(转换成ENVI格式)
ENVI5.1无法直接打开Sentinel数据,但大家对ENVI操作会更加熟练,这里补充说明下如何用ENVI5.1打开Sentinel数据,主要就是重采样并转换格式。
这里建议以10m重采样。若以B1波段重采样的话,结果所有波段都会为60m分辨率,数据质量会下降。而设置为10m或者以B2波段重采样,结果波段的空间分辨率变为10m,这对于非10m分辨率的波段,虽然分辨率提高了,但实质并无变化。
重采样后的结果就可以导入ENVI5.1中显示了,但其存储方式是一个波段一个文件,在ENVI中融合一下(ENVI中搜索layer stacking工具)就可以得到多波段文件了。
sentinel-2 大气校正方法相关推荐
- python大气校正_Sentinel-2卫星影像的大气校正方法
4 结果分析 为了初步分析三种大气校正方法的结果, 选取10 m分辨率(B2, B3, B4, B8)及20 m分辨率(B5, B6, B7, B8a)8个波段, 并选择冬小麦.裸土.水泥路和油菜地4 ...
- python大气校正_全自动多源遥感影像大气校正方法
之前一直想开发一种全自动的大气矫正方法,但是基于6s等模型方法,需要气溶胶等各种参数问题,导致开发一直处于停滞状态,最近看到了南京信息工程大学的Muhammad Bilal教授2019年发表在Remo ...
- python 大气校正_基于6s模型的遥感影像大气校正方法
基于6s模型的遥感影像大气校正工程化实现 目的:针对光学遥感影像(Landsat-8.Sentinel-2.GF-1.GF-2)的大气校正自动化实现方法,大多数是使用ENVI的FLASSH模块进行大气 ...
- 基于6s模型的遥感影像大气校正方法
目的:针对光学遥感影像(Landsat-8.Sentinel-2.GF-1.GF-2)的大气校正自动化实现方法,大多数是使用ENVI的FLASSH模块进行大气校正,虽然现在ENVI提供了FLASSH模 ...
- GEE|在GEE对Sentinel-2、Landsat7、Landsat8进行批量大气校正、去云,并进行均值融合、裁剪、显示和数据下载
前言: 由于我要使用S2在2016-2020年时序数据进行作物分类,但GEE仅提供2018年后的S2 L2A数据('COPERNICUS/S2_SR'),因此需要进行大气校正,同时由于需要的数据量大, ...
- python大气校正_Python 处理遥感图像:光谱辐射定标、大气校正和计算反射率
唔,最近在做作业的时候,一些实验内容涉及到了用ENVI处理遥感图像,然后自己手动操作软件一遍遍的输入各种参数神马的感觉挺无聊....然后决定自己用python里面的opencv库写个脚本批处理图像反射 ...
- 辐射定标、辐射校正、大气校正、正射校正等相关概念
作为初学者,容易将这几个概念搞混.为了较好地理解这几个概念,先介绍一下相关的术语 terminology. DN值(Digital Number ):遥感影像像元亮度值,记录地物的灰度值.无单位,是一 ...
- 大气校正6S与FLAASH计算与对比
(1)FLAASH大气校正 大气校正的目的是消除大气和光照等因素对地物反射的影响,获得地物反射率和辐射率.地表温度等真实物理模型参数,用来消除大气中水蒸气.氧气.二氧化碳.甲烷和臭氧对地物反射的影响, ...
- 高分1(GF1)、高分2(GF2)卫星数据大气校正
KEYWORDS:GF1,GF2,RSD,大气校正,遥感软件 0. RSD大气校正 RSD是李国春教授团队开发的一款遥感数处理软件.其大气校正模块是参照USGS LaSRC大气校正流程,使用VC++重 ...
最新文章
- 道路场景语义分割算法
- 顶级Java多线程面试题及回答
- C++ cin不支持录入空格
- Python 多进程异常处理的方法,你会吗
- iOS9 : Storyboard References
- 2. with check option能起什么作用?_家装要选择第三方装修监理吗?为什么?
- 【kafka】Consumer is not subscribed to any topics
- php无需鉴权的接口,thinkphp5-restfulapi 博客 接口鉴权应用
- CGO磁盘管理For流星无语
- hwui opengl VS skia opengl VS skia vulkan?
- Jenkins 构建触发器操作详解
- java 限制文件大小_java上传文件大小限制
- 华硕xhci灰色_[安装实录] 零基础完美黑苹果安装之华硕篇
- EXCEL图表 横坐标日期格式无法修改问题
- Linux学习笔记——~/.bash_profile文件
- Diskpart 工具个人总结
- public static void main解释
- linux怎样收集系统信息,Linux下收集系统和硬件信息的10个实用命令
- 软件综合实践专题作业--墨刀的使用
- 寄存器总结之通用寄存器