请帮忙看一下这段IDL程序哪里有错,为什么一直出不来结果

2025-01-04 10:57:32
推荐回答(1个)
回答1:

xFACTOR, yFACTOR是小数啊。。。只有0.几
应该是
image = fltarr(nb, xFACTOR*ns, yFACTOR*nl)
当然前面envi_file_query, fid, dims=dims,nb=nb也要改成
envi_file_query, fid, dims=dims,nb=nb,ns=ns,nl=nl