zonal stats on a categorical raster
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reading the linked rasterstats documentation for working with categorical rasters and locating the existing zonal_stats entry point in xvec. Determine whether categorical rasters are already supported and define how count or area statistics should behave. Done means the requested categorical-raster statistic is supported and verified by appropriate tests.
Written by the indexing model from the issue text.
Description
I just had someone ask about zonal_stats with a categorical raster where the only "stat" that makes sense is a count (or perhaps area). Example: https://pythonhosted.org/rasterstats/manual.html?highlight=categorical#working-with-categorical-rasters
Is this supported or straightforward to implement?
- Dominant language
- Python
- Stars
- 139
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from xarray-contrib/xvec
-
CI
Difficulty 3/5 1-2 days Newbie friendliness 35/100
xarray-contrib/xvec#145 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
xarray-contrib/xvec#141 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
xarray-contrib/xvec#129 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
xarray-contrib/xvec#113 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
xarray-contrib/xvec#100 ·
All issues in xarray-contrib/xvec
Similar issues
-
bug confirmed issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
open-webui/open-webui#30750 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 90/100