'Set the geotransform for the data source.'

@geotransform.setter
def geotransform(self, values):

    if ((len(values) != 6) or (not all((isinstance(x, (int, float)) for x in values)))):
        raise ValueError('Geotransform    must    consist    of    6    numeric    values.')
    values = (c_double * 6)(*values)
    capi.set_ds_geotransform(self._ptr, byref(values))
    self._flush()
