Skip to content

Commit

Permalink
DOC: Little formatting improvements in zonal_stats.ipynb (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
clausmichele authored Aug 2, 2024
1 parent 795fbec commit 49a6f70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/zonal_stats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4702,7 +4702,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Another option is to use method=\"exactextract\", which is using exactextract.exact_extract. It provides a fast and accurate statistcs by determining the fraction of each pixel that is covered by the polygon. On the other hand, the aggregation options limited to be string or list of strings (e.g., \"mean\",\"sum\"), the quantile option should be in this pattern quantile(q=0.20)."
"Another option is to use `method=\"exactextract\"`, which is using `exactextract.exact_extract`. It provides a fast and accurate statistcs by determining the fraction of each pixel that is covered by the polygon. On the other hand, the aggregation options limited to be string or list of strings (e.g., `\"mean\"`,`\"sum\"`), the quantile option should be in this pattern `quantile(q=0.20)`."
]
},
{
Expand Down Expand Up @@ -5392,7 +5392,7 @@
"\n",
"### geocube\n",
"\n",
"[Geocube's method](https://corteva.github.io/geocube/stable/examples/zonal_statistics.html) for zonal statistics using `make_geocube` is in principle very similar to the implemenation using `method=\"rasterize`. Xvec's method is a bit more generic and does not require a rioxarray CRS attached to the object but requires a user to ensure that the data are using the same projection. The same zonal statistics from geocube documentation can be done using a single line of code.\n",
"[Geocube's method](https://corteva.github.io/geocube/stable/examples/zonal_statistics.html) for zonal statistics using `make_geocube` is in principle very similar to the implemenation using `method=\"rasterize\"`. Xvec's method is a bit more generic and does not require a rioxarray CRS attached to the object but requires a user to ensure that the data are using the same projection. The same zonal statistics from geocube documentation can be done using a single line of code.\n",
"\n",
"Load the data:"
]
Expand Down

0 comments on commit 49a6f70

Please sign in to comment.