a_scale parameter for writing GTiff file



I'm trying to transform the dtype of my input raster from float32 to int16 (I'm using dask, dask-rasterio and rasterio). So I multiplied the data in my matrix by 100 and convert the dtype of my dask array to rasterio.int16. 
def multiply(array):
multipliedArray = np.where(array >= 14, 100*array, -9999)
multipliedDaskArray = da.from_array(multipliedArray, chunks=(1, 5, 365))
multipliedDaskArray.dtype = rasterio.int16
return multipliedDaskArray

Now, I want to write a new GTiff file with scale 0.01 using rasterio.open and the equivalent in rasterio of the a_scale parameter from gdal_translate function. But I don't find this equivalent yet.

After numerous tests and researches, I still haven't found the a_scale option in rasterio... So can someone explain to me if this is possible ? And if so, how ?

Thank you in advance :)

Join main@rasterio.groups.io to automatically receive all group messages.