Skip to content

sklearn_flatten in dea_tools/classification not working as expected #1260

@Kooie-cate

Description

@Kooie-cate

sklean_flattern appears to be dropping pixels.

Expected behaviour
when using this model to flatten an array I expect the resulting 1D array to have the same size and the original array (ie an array where x=200 and y = 400 should return a 1d array with a size of 80000 pixels.)

when I run this with data that has data masked out for cloud or shadow it seems to drop those pixels from the 1D array.

Environment information
DEA Sandbox

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions