gdal 2.1 Rasterize

É possível definir o tipo de dados (Byte, Float32) ao usar o gdal.Rasterize no gdal 2.1? Atualmente, eu uso gdal.Translate para converter para Byte, mas isso é ineficiente.

tif = my/target.tif
shp = my/source.shp
tiftemp = my/temp/solution.tif
rasterizeOptions = gdal.RasterizeOptions(xRes=20, yRes=20, allTouched=True etc.)
gdal.Rasterize(tiftemp, shp, options=rasterizeOptions)
#translate to Byte data type (not supported by Rasterize?)
gdal.Translate(tif, tiftemp, outputType=gdal.GDT_Byte,
                       creationOptions=['COMPRESS=PACKBITS')

Estou ciente de que é possível usar

subprocess.check_call('gdal_rasterize', '-ot', 'byte' ...)

mas eu preferiria evitar isso, se possível. Alguma ideia?

questionAnswers(2)

yourAnswerToTheQuestion