From 743dcacd834ca10cf5d494b8b3d541a077f75669 Mon Sep 17 00:00:00 2001 From: Dylan Pulver Date: Thu, 12 Nov 2026 09:14:24 -0500 Subject: [PATCH] DOC: name the write_gcps parameter as the signature defines it write_gcps takes `gcps`, and the Parameters entry called it `gcp`, so write_gcps(gcp=...) raises TypeError. The description already reads "The Ground Control Points", plural. --- rioxarray/rioxarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rioxarray/rioxarray.py b/rioxarray/rioxarray.py index 913bbba8..e3b32630 100644 --- a/rioxarray/rioxarray.py +++ b/rioxarray/rioxarray.py @@ -1005,7 +1005,7 @@ def write_gcps( Parameters ---------- - gcp: list of :obj:`rasterio.control.GroundControlPoint` + gcps: list of :obj:`rasterio.control.GroundControlPoint` The Ground Control Points to integrate to the dataset. gcp_crs: str, :obj:`rasterio.crs.CRS`, or dict Coordinate reference system for the GCPs.