批量读取Landsat九宫格像元DN值的ENVI程序
pro txtpoints e = ENVI(/headless) envi,/restore_base_save_files;恢复ENVI sav文件 your_tif=dialog_pickfile(/read,/multiple_files,$ filter=’*_sr_band2.tif’,title=’pleasechoose your tif’,$ path=’J:\Anderson_lab\for_Xudong\Landsat8_surface_reflectance’);读取影像文件路径 n= N_ELEMENTS(your_tif) data=make_array(n) data1=make_array(n) data2=make_array(n) data3=make_array(n) data4=make_array(n) data5=make_array(n) […]