因为有一项目要用到ENVI-IDL,故粗浅学之,也当扩展视野
- IDL Interactive Data Language
- 与matlab有些相似
- 感到许多非特殊要求,nunpy matplotlib可以实现很多matlab需求,而没有那么庞大
- IDL程序都是过程 标准的模式是 rs 与文件名 项目名 相同 (demo.pro)
pro rs
print, "idl is cool"
Result = READ_TIFF("../412126/data1.l3a.swir4.tif")
end
pro MyProject
a = 10
help, a
print, "abc"
print, "idl"
resualt = dialog_MESSAGE($
"idl is cool", /question)
case resualt of
"Yes": m = dialog_message("yes it is", /info)
"No": n = dialog_message("you can believe me",$
/question)
endcase
end