formatting of raster.py