Fusion Result#

class core.FuseResult[source]#

Class containing the result of Client.fuse()

ok#

Status output of the fusion, True indicates a valid return of the fused result

reason#

Description of the ‘ok’ status

file_path#

Directory path to the saved result

fuse_id#

Unique ID generated by the fusion process, can be used in file naming

dataset#

The fusion result returned as a 3 dimensional (x, y, and time) Xarray Dataset containing all fused data layers and attributes properties (described below)

Type

Xarray Dataset

The Xarray Dataset created is a multi-dimensional array allowing for detailed encoding of the included information. Information such as time, geolocation, and the additional information and metadata needed to fully know what the information is that you are handelling. Finally, Xarray provides a powerful selection and processing interface allowing you to take the result of your data fusion, and transform it to your specific needs.

Example

>>> result = client.fuse(catalogs_list = [s1_search_result, s2_search_result],
                         to_fuse = [custom_raster, custom_vector],
                         )
>>> result.dataset
to_geotiff(file_path=None)[source]#

Save the result to a geotiff file

Parameters

file_path (optional) – Path to target save directory

Default: None

to_netcdf(file_path=None)[source]#

Save the result to a netcdf file

Parameters

file_path (optional) – Path to target save directory

Default: None