我正在使用具有66024个像元和326层的多波段栅格。我可以将其读入内存并执行多种功能。但是,当我尝试使用较大的多波段栅格进行此操作时,内存不足。是否有一种简单的方法可以一次读取一个单独的块并同时进行计算?也许是栅格的前10到20行?
EightMileTest_HDW<-brick("Original_data/Test_imagery_HDW/EightMile_TSTIMG")
EightMileTest_HDW
class : RasterBrick
dimensions : 252, 262, 66024, 326 (nrow, ncol, ncell, nlayers)
resolution : 9.384046e-07, 4.131825e-07 (x, y)
extent : -149.2549, -149.2547, 63.87663, 63.87674 (xmin, xmax, ymin, ymax)
crs : +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0
source : F:/Alaska_Spectral_Library_KBRANCH/Original_data/Test_imagery_HDW/EightMile_TSTIMG
names : Resize..Resize..Band.1.raw_5968_rd_rf_or..EightMile_clipped...397.593000.Nanometers., Resize..Resize..Band.2.raw_5968_rd_rf_or..EightMile_clipped...399.444000.Nanometers., Resize..Resize..Band.3.raw_5968_rd_rf_or..EightMile_clipped...401.296000.Nanometers., Resize..Resize..Band.4.raw_5968_rd_rf_or..EightMile_clipped...403.148000.Nanometers., Resize..Resize..Band.5.raw_5968_rd_rf_or..EightMile_clipped...405.000000.Nanometers., Resize..Resize..Band.6.raw_5968_rd_rf_or..EightMile_clipped...406.851000.Nanometers., Resize..Resize..Band.7.raw_5968_rd_rf_or..EightMile_clipped...408.703000.Nanometers., ...
有人向我介绍了TileManager软件包,但我不确定如何读取多波段栅格的瓦片。