Git Product home page Git Product logo

atmosphericcorrection's Introduction

基于6s模型的影像大气校正工程

OVERVIEW

调用py6s接口,自动读取影像头文件信息,对遥感影像进行大气校正批处理。

环境 & 依赖

python版本3.6
conda install gdal
conda install -c conda-forge py6s

脚本说明

  • AtmosphericCorrection_Landsat8.py 针对landsat8影像,已经可以工程化使用。
  • AtmosphericCorrection_Sentinel.py 针对Sentinel影像,已经可以工程化使用。
  • AtmosphericCorrection_GF.py 针对GF1、2影像,已经可以工程化使用。
    为了减少校正结果存储空间,程序中将大气校正的结果放大了10000倍。

测试

python .../AtmosphericCorrection/AtmosphericCorrection_Lansat8.py Input_dir=输入路径 Output_dir=输出路径
python .../AtmosphericCorrection/AtmosphericCorrection_Sentinel.py Input_dir=输入路径 Output_dir=输出路径
python .../AtmosphericCorrection/AtmosphericCorrection_GF.py Input_dir=输入路径 Output_dir=输出路径

更新说明:针对标准存储格式的sentinel-2大气校正做了修改
1、文件存储结构图

2、参数使用
输入参数中的输入路径需要到L1C_T51TUE_A004877_20180211T025320这一级(与压缩文件同名),这一级下的IMG_DATA文件夹存储了 各波段影像文件,MTD_TL.xml是影像元文件

注意

直接在pycharm测试可能会有bug,建议windows用户直接在conda自带的Anaconda Prompt工具中测试,mac可直接在终端里测试。

atmosphericcorrection's People

Contributors

zhaoguanhua avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.