Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support concatenation when using auto_inherit_properties #194

Open
supermarkion opened this issue Jul 23, 2021 · 0 comments
Open

Support concatenation when using auto_inherit_properties #194

supermarkion opened this issue Jul 23, 2021 · 0 comments

Comments

@supermarkion
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant