Skip to content

Commit 49a6f70

Browse files
authored
DOC: Little formatting improvements in zonal_stats.ipynb (#74)
1 parent 795fbec commit 49a6f70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/zonal_stats.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4702,7 +4702,7 @@
47024702
"cell_type": "markdown",
47034703
"metadata": {},
47044704
"source": [
4705-
"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)."
4705+
"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)`."
47064706
]
47074707
},
47084708
{
@@ -5392,7 +5392,7 @@
53925392
"\n",
53935393
"### geocube\n",
53945394
"\n",
5395-
"[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",
5395+
"[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",
53965396
"\n",
53975397
"Load the data:"
53985398
]

0 commit comments

Comments
 (0)