RasterReader: change a few vars to vals
remove snapshot dependency for spark