From 1c04f8ab8ec1094620ab474d94f00198de778adc Mon Sep 17 00:00:00 2001 From: Christoph Paulik Date: Tue, 12 May 2015 13:27:35 +0200 Subject: [PATCH] fix #18 by making pykdtree a optional requirement - add note about optional requirement to readme - modify changelog --- CHANGES.md | 1 + README.md | 4 ++++ requirements.txt | 1 - 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 6471c8b..5cfdc7c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,6 @@ # v0.1.2 # - fix issue #19 by refactoring the iterable checking into own function +- made pykdtree an optional requirement see issue #18 # v0.1.1 # - added support for saving more subsets and loading a certain one in/from a netcdf grid file diff --git a/README.md b/README.md index 0613396..3442318 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@ For now the main features are: - Storage of grids and loading grids from CF-compatible netCDF files - Calculation of lookup tables between grids +## Optional Requirements + +- [pykdtree](https://github.com/storpipfugl/pykdtree) or [scipy](http://www.scipy.org/) if you want to use the nearest neighbor search. pykdtree is much faster than the scipy implementation but it is at the moment not available for Windows systems. + # Documentation [![Documentation Status](https://readthedocs.org/projects/pygeogrids/badge/?version=latest)](http://pygeogrids.readthedocs.org/) diff --git a/requirements.txt b/requirements.txt index 73314dc..0bf586d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ # Add your requirements here like: numpy -pykdtree netcdf4 # scipy>=0.9