eo-datasets icon indicating copy to clipboard operation
eo-datasets copied to clipboard

Support concatenation when using auto_inherit_properties

Open supermarkion opened this issue 3 years ago • 0 comments

Hi, @jeremyh ,

How are you.

The method add_source_dataset() supports auto_inherit_properties option, which can pass the properties from source dataset to metadata. When has more than one source datasets, the same property values (e.g. platform) from different datasets will be replaced by each other.

E.g.

  • source_dataset_1: "platform": "landsat-8"
  • source_dataset_2: "platform": "landsat-7"

Expected result:

  • output_dataset: "platform": "landsat-8;landsat-7" or
  • output_dataset: "platform": "landsat-8,landsat-7"

Actual result:

  • output_dataset: "platform": "landsat-7"

Cheers

Sai

supermarkion avatar Jul 23 '21 05:07 supermarkion