tar_terra_tiles function

Split a raster into tiles that can be iterated over with dynamic branching