homonim.RasterFuse.create_out_profile
- static RasterFuse.create_out_profile(driver: str = 'GTiff', dtype: str = 'float32', nodata: float = nan, creation_options: Dict | None = None) Dict
Utility method to create a profile for the output image(s) that can be passed to
RasterFuse.process(). Without arguments, the default profile is returned.- Parameters:
driver (str, optional) – Output format driver. See the GDAL docs for available options.
dtype (str, optional) – Output image data type. One of: uint8|uint16|int16|uint32|int32|float32|float64. Data values are rounded and clipped to integer
dtyperanges.nodata (float, optional) – Output image nodata value. If set to None, an internal mask is written (recommended when
creation_optionsare configured for lossy, e.g. JPEG, compression).creation_options (dict, optional) –
Driver specific creation options e.g.
dict(compress='deflate'). See the GDAL docs for available keys and values.
- Returns:
Output image profile.
- Return type:
dict