From 9115db2dc9f107191a803bd49c37aee48158f88b Mon Sep 17 00:00:00 2001 From: Volodymyr Borysenko Date: Sun, 9 Aug 2026 03:02:27 -0700 Subject: [PATCH] DOC: Explain rioxarray import --- docs/getting_started/getting_started.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/getting_started/getting_started.rst b/docs/getting_started/getting_started.rst index 01d62cb0..f78c379a 100644 --- a/docs/getting_started/getting_started.rst +++ b/docs/getting_started/getting_started.rst @@ -13,7 +13,11 @@ with the `rio` accessor. The `rio` accessor is activated by importing rioxarray .. code-block:: python - import rioxarray + import rioxarray # noqa: F401 + +Importing rioxarray registers the ``rio`` accessor, even though the module is not +used directly in this example. The ``# noqa: F401`` comment keeps linters from +removing the import as unused. You can learn how to `clip`, `merge`, and `reproject` rasters in the :ref:`usage_examples`