WMS as Gridwms.as_gridInput:service – WMSbounds – Bboxpixel_size – FloatOutput:output – GridLoads the grid inside the defined bounds. pixel_size specifies the pixel size.