From 4d8bbcedc74e7097a494864b629fdda9f94c3af6 Mon Sep 17 00:00:00 2001 From: Claire Simpson Date: Tue, 3 Dec 2024 18:45:48 -0700 Subject: [PATCH] updated docstring --- src/pygeoprocessing/geoprocessing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pygeoprocessing/geoprocessing.py b/src/pygeoprocessing/geoprocessing.py index ee603a61..b0a8b89a 100644 --- a/src/pygeoprocessing/geoprocessing.py +++ b/src/pygeoprocessing/geoprocessing.py @@ -2352,6 +2352,9 @@ def reclassify_raster( if ``values_required`` is ``True`` and a pixel value from ``base_raster_path_band`` is not a key in ``value_map``. + InvalidKeyError + if there is an "empty" or invalid key in ``value_map``, such as + `NA` or other values that represent missing data. """ if len(value_map) == 0: