当前位置:网站首页>IDL MODIS 生成查找表
IDL MODIS 生成查找表
2022-07-17 05:04:00 【一只大笨猪】
author:PQ
PRO MODIS_LUT;,month,day,iwave,idatm,iaer,lutpath,lutname
igeom=0;自定义几何条件
phi0=0;卫星方位角
month=10;月份
day=27;;日期
idatm=2;:大气模式中纬度夏季
iaer=1;:气溶胶模式大陆型
v=0;;能见度
xps=-0.4;;目标物高度
xpp=-1000;;星测
iwave=44;:自定义1输入波段范围和反射相函数42为modis的red
inhomo=0;;地表反射率均一地表
idirect=0;;无方向效应
igroun=1;:绿色植被
rapp=-2;:无大气校正
tao=[0.0001,0.25,0.5,1.0,1.5,1.95];;550nm气溶胶光学厚度
asol=[0,12,24,36,48,60];;太阳天顶角
avis=[0,12,24,36,48,60];;卫星天顶角
phiv=[0,24,48,72,96,120,144,168,180];;太阳方位角(卫星方位角为0,即相对方位角为O.180)
cd,'*********\6SV2.1';自己更改6s.exe所在的文件夹路径
lutname='modis_lut.txt'
OPENW,lutlun,lutname,/get_lun
;设置循环过程
;for a=0,2 do begin;蓝红两个通道
FOR b=0,5 DO BEGIN;550nm气溶胶光学厚度
FOR c=0,5 DO BEGIN;太阳天顶角
FOR d=0,5 DO BEGIN;;卫星天顶角
FOR e=0,8 DO BEGIN;;太阳方位角(卫星方位角为0,即相对方位角为0-180)
txtname='in.txt'
OPENW,lun,txtname,/get_lun
PRINTF,lun,igeom
PRINTF,lun,asol[c],phiv[e],avis[d],phi0,month,day
PRINTF,lun,idatm
PRINTF,lun,iaer
PRINTF,lun,v
PRINTF,lun,tao[b]
PRINTF,lun,xps
PRINTF,lun,xpp
PRINTF,lun,iwave
PRINTF,lun,inhomo
PRINTF,lun,idirect
PRINTF,lun,igroun
PRINTF,lun,rapp
FREE_LUN,lun
SPAWN,'sixsV2.1.exe<in.txt>out.txt',/hide;调用6s <>符号为dos系统下的重定向符号 <从文件读取命令输入>将输出结果写入文件
txtname='out.txt'
OPENR,lun,txtname,/get_lun
temp=STRARR(1,146)
READF,lun,temp
tt=STRMID(temp[0,123],61,8)
sA=STRMID(temp[0,129],61,8)
rou=STRMID(temp[0,132],61,8)
FREE_LUN,lun
;依次为辐射方程中的P T S参数、太阳天顶角,卫星天顶角,相对方位角、气溶胶光学厚度
PRINTF,lutlun,sA,tt,rou,asol[c],avis[d],phiv[e],tao[b]
ENDFOR
ENDFOR
ENDFOR
ENDFOR
; endfor
FREE_LUN,lutlun
END
边栏推荐
猜你喜欢

DSL搜索结果处理,包括排序,分页,高亮

Pygame:外星人入侵

es的一些概念

How to upload qiniu cloud

Hire the server, and the pytorch environment training yolov5 model tutorial deployed on pycharm professional edition. Server environment installation library file:

One article to understand Zipkin

sleuth入门

一个问题的探讨

DSL search results processing, including sorting, paging, highlighting

Restclient operation document
随机推荐
用户-注册/登录
FanoutExchange交换机简单使用
MySQL fuzzy matching 1, 11111 similar string problems
POC——DVWA‘s File Inclusion
RestAPI
简单快速建立pytorch环境YOLOv5目标检测 模型跑起来(超简单)
Wechat docking mechanism memo
MD5 password encryption
CVE-2021-44228 Log4j 复现及原理
mysql数据库实验实训6,数据视图(详细)
图片上传的逻辑
Add SSL certificate for load balancing
CVE-2017-12635 Couchdb 垂直权限绕过漏洞复现
用户登录-以及创建验短信证码
DSL查询文档
解决[email protected]: `node install.js` 的问题
Notes de formation pour la deuxième fois des modèles
天道酬勤,保持热爱
Conception finale: système distribué de gestion de la santé pour la prévention des épidémies hautement simultanées basé sur vue + socket + redis
Attendance check-in and leave system based on SSM framework