example code from fmask results in an error

Issue #25 resolved
Will Cornwell created an issue

Pretty cool package! Thanks for this! Anyway was trying to run the example code from fmask, and this is the error I got. Not sure exactly why.

> m <- system.file("extdata", "L71015027_02720000730_MTL.txt", package="fmask")
> ext <- extent(c(462000, 500200, 5190000, 5230000))
> fmsk <- fmask(m, ext, filename = "FMASK.tif")
Error in FUN(X[[i]], ...) : 
  File <L71015027_02720000730_B10.tif> does not exist in metadata file directory

Comments (1)

  1. Log in to comment