geetools.batch.utils.convertDataType#

geetools.batch.utils.convertDataType(newtype)#

Convert an image to the specified data type.

Parameters:

newtype (str) – the data type. One of ‘float’, ‘int’, ‘byte’, ‘double’, ‘Uint8’,’int8’,’Uint16’, ‘int16’, ‘Uint32’,’int32’

Returns:

a function to map over a collection

Return type:

function