Way to specify band in python version? #109
Answered
by
dbaston
tm-jc-nacpil
asked this question in
Q&A
-
Hi @dbaston ! I'd like to ask if there's currently a way to specify which band to aggregate when using the python functions? I see there's a way when using the CLI, but would be great if we can specify the band in Python as well also thanks for the great work 😄 we've been trying out this package and we see a lot of upsides vs other zonal statistic packages 🙌 |
Beta Was this translation helpful? Give feedback.
Answered by
dbaston
May 15, 2024
Replies: 1 comment 1 reply
-
You can create a
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tm-jc-nacpil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can create a
RasterSource
and pass that toexact_extract
instead of the filename. For example, if you are using rasterio, you could do