6S参数

4 篇文章 0 订阅
4 篇文章 0 订阅

6S模型:
https://blog.csdn.net/sam92/article/details/50390556
https://www.jianshu.com/p/6a5c63534158
https://wenku.baidu.com/view/11856e7c8f9951e79b89680203d8ce2f01666551.html
MinGW安装:
https://blog.csdn.net/u012278016/article/details/101101486
https://blog.csdn.net/ZHAOJUNWEI08/article/details/86602120

PRO temp
  COMPILE_OPT idl2
  ;几何条件
  Parameterxml='***********.xml'
  SOZ=90-float(getGF1PMS_Parameters(filename=Parameterxml,nodeName2='SolarZenith'))
  SOA=float(getGF1PMS_Parameters(filename=Parameterxml,nodeName2='SolarAzimuth'))
  SAZ=90-float(getGF1PMS_Parameters(filename=Parameterxml,nodeName2='SatelliteZenith'))
  SAA=float(getGF1PMS_Parameters(filename=Parameterxml,nodeName2='SatelliteAzimuth'))
  DATE=getGF1PMS_Parameters(filename=Parameterxml,nodeName2='ReceiveTime')
  DATE=strsplit(DATE,'-',/extract)
  MONTH=uint(DATE[1]);月
  DAY=uint(DATE[2]);;计算平均高程
  fid=ENVIRastertoFID(CalcuRaster)
  ENVI_FILE_QUERY,fid,dims=dims,ns=ns,nl=nl,nb=nb
  ENVI_CONVERT_FILE_COORDINATES,fid,0,0,minX,maxY,/to_map
  ENVI_CONVERT_FILE_COORDINATES,fid,ns-1,nl-1,maxX,minY,/to_map
  demraster=e.openraster('GMTED2010.jp2')
  rasterSub=ENVISubsetraster(demraster,spatialref=demraster.spatialref,sub_rect=[minX,minY,maxX,maxY])
  statistics=ENVIRasterStatistics(rasterSub)
  ground_elevation=float(statistics['MEAN']/1000)
  xps=-ground_elevation
  ;中心经纬度
  sLatitude = (minY+ maxY) / 2.0
  print,'中心纬度',sLatitude
  ; 大气模式类型
  if sLatitude gt -10 and sLatitude le 20 then idatm=1
  if sLatitude gt 20 and sLatitude le 30 then begin
    if Month gt 05 and Month le 09 then begin
      idatm=1
    endif else idatm=2
  endif
  if sLatitude gt 30 and sLatitude le 40 then begin
    if Month gt 05 and Month le 09 then begin
      idatm=2
    endif else idatm=4
  endif
  if sLatitude gt 40 and sLatitude le 50 then begin
    if Month gt 03 and Month le 11 then begin
      idatm=4
    endif else idatm=3
  endif
  if sLatitude gt 50 and sLatitude le 60 then begin
    if Month gt 05 and Month le 09 then begin
      idatm=4
    endif else idatm=3
  endif
  if sLatitude gt 60 and sLatitude le 70 then begin
    if Month gt 03 and Month le 09 then begin
      idatm=3
    endif else idatm=5
  endif
  if sLatitude gt 70 and sLatitude le 80 then begin
    if Month gt 05 and Month le 09 then begin
      idatm=3
    endif else idatm=5
  endif
  print,'大气模式',idatm
  ;光谱响应函数按波段定义
  ;输入数据类型
  ;-1<rapp<0输入的是表观反射率,rapp>0输入的是辐射亮度
  rapp=-0.5
  
  Parameter=[SOZ,SOA,SAZ,SAA,MONTH,DAY,paraID,xps,idatm,rapp]
  
END
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值