Updated code in raster and timeHorizontalAxis