Guest User

Untitled

a guest
Mar 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. files1 = list.files(path2, pattern = "*.tif", full.names = TRUE)
  2. files2 = list.files(path4, pattern = "*_cmask.tif", full.names = TRUE)
  3.  
  4. for (f1 in files1) {
  5. f1Stack = stack(f1)
  6. do stuff with f1Stack
  7. for (f2 in files2) {
  8. f2Raster = raster(f2)
  9. do stuff with f2Raster
  10. }
  11. }
Add Comment
Please, Sign In to add comment