0

我正在使用MODISToolsR 中的包下载一些数据,但我遇到了错误。有时我的代码有效,有时则无效。我反复收到此错误,但找不到任何有关其含义的信息。这是我运行的代码:

coords <- c(lat = 38.4, lon = -121.0)

fPAR <- mt_subset(product = "MCD15A3H", 
                     lat = coords[1],
                     lon = coords[2],
                     band = "Fpar_500m", 
                     start = '2004-01-01',
                     end = '2010-01-01',
                     km_lr = 0,
                     km_ab = 0,
                     internal = TRUE,
                     progress = TRUE)

这是我运行代码后的错误:

Error: 7b0a20202274797065223a202261626f75743a626c616e6b222c0a2020227469746c65223a2022496e7465726e616c20536572766572204572726f72222c0a20202264657461696c223a20225468652073657276657220656e636f756e746572656420616e20696e7465726e616c206572726f7220616e642077617320756e61626c6520746f20636f6d706c65746520796f757220726571756573742e204569746865722074686520736572766572206973206f7665726c6f61646564206f7220746865726520697320616e206572726f7220696e20746865206170706c69636174696f6e2e222c0a202022737461747573223a203530300a7d0a

或者代码运行后的错误:

Downloading chunks:
  |============================================================================================          |  90%
Warning message:
7b0a20202274797065223a202261626f75743a626c616e6b222c0a2020227469746c65223a2022496e7465726e616c20536572766572204572726f72222c0a20202264657461696c223a20225468652073657276657220656e636f756e746572656420616e20696e7465726e616c206572726f7220616e642077617320756e61626c6520746f20636f6d706c65746520796f757220726571756573742e204569746865722074686520736572766572206973206f7665726c6f61646564206f7220746865726520697320616e206572726f7220696e20746865206170706c69636174696f6e2e222c0a202022737461747573223a203530300a7d0a 

然后它在下载整个数据集之前暂停执行。

我试过弄乱我的坐标、日期等的格式,但似乎没有任何效果。这些错误似乎非常随机。

任何想法将不胜感激!

4

0 回答 0