Open-EO / Open-EO/openeo-python-driver

to_scl_dilation_mask: only one band allowed

Open
#270 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12
Forks
8
Avg merge
6d 3h
Merged PRs (30d)
4

Description

to_scl_dilation_mask currently specifies
https://github.com/Open-EO/openeo-python-driver/blob/faeb345b26dde4894bac9dced5d7a061740b1761/openeo_driver/specs/openeo-processes/experimental/to_scl_dilation_mask.json#L13

But user can accidentally provide input cube with multiple bands (e.g. B02, B03, SCL), which gives weird results

this should trigger an error howerver

(FYI: this was initial issue in https://github.com/Open-EO/openeo-geopyspark-driver/issues/715 )

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.