Skip to content

Add Simple Water Bodies' Mapping (SWBM) algorithm#53

Open
emmanuelmathot wants to merge 1 commit into
mainfrom
swbm
Open

Add Simple Water Bodies' Mapping (SWBM) algorithm#53
emmanuelmathot wants to merge 1 commit into
mainfrom
swbm

Conversation

@emmanuelmathot
Copy link
Copy Markdown
Contributor

What I am changing

  • Introduce parameter definitions for the Simple Water Bodies' Mapping (SWBM) algorithm, focusing on specific water bodies.

How I did it

  • Created a new Python file containing parameter sets for various locations, including bounding boxes, temporal ranges, required bands, and cloud cover specifications.

How you can test it

  • Review the parameter definitions in the new file and verify that they align with the intended locations and specifications for the SWBM algorithm.

Related Issues

@emmanuelmathot emmanuelmathot changed the title Add imple Water Bodies' Mapping (SWBM) algorithm Add Simple Water Bodies' Mapping (SWBM) algorithm May 21, 2026
@emmanuelmathot
Copy link
Copy Markdown
Contributor Author

image

@firzaariany
Copy link
Copy Markdown
Contributor

@emmanuelmathot I ran into an error in this block, I guess the label for "bands" should be bands to run the job in CDSE backend

swbm_image = s2cube.apply_dimension(
    dimension="spectral",
    process=swbm_visualization,
    context=[0.1, 0.2, 0.03],
)
swbm_image = swbm_image.linear_scale_range(
    input_min=0, input_max=1, output_min=0, output_max=255
)

Error:
Invalid dimension 'spectral'. Should be one of ['bands', 'x', 'y']

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

Successfully merging this pull request may close these issues.

2 participants