简体   繁体   中英

I am trying to run mosaic on a band and at this stage while i am applying raster it is giving me this error

band1<-raster(B1)
Error in if (x == "" | x == ".") { : argument is of length zero

That suggests that B1 is an empty string

library(raster)
B1 <- character()
B1
# character(0)
raster(B1)
# Error in if (x == "" | x == ".") { : argument is of length zero

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM