From dd858a0492f63bad61cada0fd20f9c396ed386a1 Mon Sep 17 00:00:00 2001 From: Rich Sharp Date: Tue, 19 May 2020 11:23:31 -0700 Subject: [PATCH] fixing indention error in history and adding the description content type --- HISTORY.rst | 2 ++ setup.py | 1 + 2 files changed, 3 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index bd938e9c..15cae18d 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -45,11 +45,13 @@ Release History * Removed most of the `pygeoprocessing.testing` module and added the following convenience functions to ``pygeoprocessing``, which should not be used for production code but are useful for testing and scripting: + * ``raster_to_numpy_array`` - read a single band of a raster into a ``numpy`` array, runs the risk of memory error if the raster is too large. * ``numpy_array_to_raster`` - writes a ``numpy`` array to a raster on disk. * ``shapely_geometry_to_vector`` - creates a vector from a list of ``Shapely`` geometry. + * Fixed an issue in ``flow_dir_mfd`` that would cause invalid flow directions on DEMs that had very small numerical delta heights. * Fixes an issue in ``convolve_2d`` that would occasionally cause undefined diff --git a/setup.py b/setup.py index 62235216..4b5197b2 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ name='pygeoprocessing', description="PyGeoprocessing: Geoprocessing routines for GIS", long_description=LONG_DESCRIPTION, + long_description_content_type='text/x-rst', maintainer='Rich Sharp', maintainer_email='richpsharp@gmail.com', url='https://github.com/natcap/pygeoprocessing',