Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make focal work on 3d-arrays#708

sebiegli started this conversation inIdeas
Discussion options

I'd like to use the focal-functionalities of xarray-spatial to calculate some statistics for a raster with multiple bands (in my case R, G and B). Unfortunately, so far, focal seems to be limited to 2d-arrays, eg. when handing over a RGB-3d-array tofocal.apply() I get this error message:

ValueError:raster must be 2D

Is there a way of calculating focal statistics on multiple bands? Or are there plans to include this functionality in the future?

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Ideas
Labels
None yet
1 participant
@sebiegli

[8]ページ先頭

©2009-2025 Movatter.jp