move all raster variables onto state