from osgeo import gdal
import matplotlib.pyplot as plt
ds = gdal.Open(r"C:\Users\HP\Desktop\raster\GLASS01B02.V04.A2015225.2017269.hdfout.LAI.tif").ReadAsArray()#需要注意后面的.ReadAsArray()
im = plt.imshow(ds)
plt.colorbar(im)
from osgeo import gdal
import matplotlib.pyplot as plt
ds = gdal.Open(r"C:\Users\HP\Desktop\raster\GLASS01B02.V04.A2015225.2017269.hdfout.LAI.tif").ReadAsArray()#需要注意后面的.ReadAsArray()
im = plt.imshow(ds)
plt.colorbar(im)
本文标题:2.3 显示遥感影像
本文链接:https://www.haomeiwen.com/subject/pwsyuqtx.html
网友评论