def METHOD_NAME(self, grid, origins, sizes):
    return CIS('envelope', *[
            self.encode_axis_extent(axis, origin, size)
            for axis, origin, size in izip_longest(grid, origins, sizes)
        ],
        axisLabels=' '.join(axis.name for axis in grid),
        srsName=grid.coordinate_reference_system,
        srsDimension=str(len(grid))
    )