Switched to using rasterio to save time grids in geotiff format