gpt4 book ai didi

r - 从MODISSummaries函数返回错误(R包MODISTools)

转载 作者:行者123 更新时间:2023-12-03 08:29:11 25 4
gpt4 key购买 nike

有人知道如何处理此错误吗?它在我的PC(“Windows”“7 x64”“内部版本7601,Service Pack 1”“x86-64”)和Mac(“Darwin”“Darwin”“12.5.0”“Darwin内核版本12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12〜1/RELEASE_X86_64“)

library(MODISTools)

data(SubsetExample)

MODISSubsets(LoadDat = SubsetExample, Products = "MOD13Q1", Bands = c("250m_16_days_EVI",
"250m_16_days_pixel_reliability"), Size = c(0,0), StartDate = TRUE)

MODISSummaries(LoadDat = SubsetExample, Product = "MOD13Q1", Bands = "250m_16_days_EVI",
ValidRange = c(-2000,10000), NoDataFill = -3000, ScaleFactor = 0.0001,
StartDate = TRUE, QualityScreen = TRUE, QualityThreshold = 0,
QualityBand = "250m_16_days_pixel_reliability")

错误:
Error in matrix(band.data.site$mean.band[band.data.site$ID == lat.long$SubsetID[i]],  : 
non-numeric matrix extent

最佳答案

感谢您突出显示此错误。我已将修补程序推送到我的GitHub存储库(https://github.com/seantuck12/MODISTools/)。我将尽快在CRAN上更新版本,但同时请使用GitHub版本。

关于r - 从MODISSummaries函数返回错误(R包MODISTools),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30704178/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com