Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote Sensing RSEI ArcMap Skill

Codex skill and ArcPy workflow for remote-sensing ecological quality analysis with ArcMap 10.8.

It helps inspect Landsat or Sentinel image folders, identify bands and metadata, compute common RSEI indicators, run PCA, classify ecological quality, summarize area statistics, and export ArcMap layouts.

Contents

  • SKILL.md - Codex skill instructions.
  • scripts/inspect_folder.py - inspect image folders, metadata, bands, and boundary candidates.
  • scripts/rsei_arcmap10_8.py - compute NDVI, WET, NDBSI, LST, RSEI, classification, and statistics with ArcPy.
  • scripts/export_map_arcmap.py - export maps from an ArcMap .mxd template.
  • references/ - RSEI workflow notes and Landsat/Sentinel band rules.

Requirements

  • ArcGIS Desktop / ArcMap 10.8
  • ArcPy Python, usually C:\Python27\ArcGIS10.8\python.exe
  • Spatial Analyst extension

Example

Inspect an image folder:

python .\scripts\inspect_folder.py --input "D:\data\scene" --output "D:\data\scene\inspection.json"

Run RSEI with ArcMap 10.8:

& "C:\Python27\ArcGIS10.8\python.exe" .\scripts\rsei_arcmap10_8.py --input "D:\data\scene" --boundary "D:\data\aoi.shp" --output "D:\data\rsei_out"

Export a map:

& "C:\Python27\ArcGIS10.8\python.exe" .\scripts\export_map_arcmap.py --mxd-template "D:\maps\rsei_template.mxd" --rsei-raster "D:\data\rsei_out\RSEI_class.tif" --boundary "D:\data\aoi.shp" --output-mxd "D:\data\rsei_out\RSEI_map.mxd" --output-pdf "D:\data\rsei_out\RSEI_map.pdf"

Notes

Sentinel-2 has no thermal band, so full RSEI requires an external LST raster. For publication work, confirm formulas, coefficients, masks, and classification thresholds match the paper method.

About

ArcMap 10.8 remote sensing RSEI skill and ArcPy workflow.自动检查文件夹里的影像、波段、MTL 元数据、研究区边界; 判断 Landsat 5/7/8/9 或 Sentinel 数据; 调用 ArcMap 10.8 的 arcpy 做裁剪、波段计算、归一化、PCA、分级; 输出 .tif、.shp、.csv/.xlsx、.mxd 或 PDF/PNG 图件; 按论文常用 RSEI 流程生成:NDVI、WET、NDBSI、LST、RSEI; 给AI模板 .mxd,还可以批量替换图层并导出成论文图。

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages