Skip to content

Commit

Permalink
updated docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-simpson committed Dec 4, 2024
1 parent 861f8ba commit 4d8bbce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pygeoprocessing/geoprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4d8bbce

Please sign in to comment.