Skip to content

A big data-enabled high-performance computational framework for habitat suitability modeling and mapping

License

Notifications You must be signed in to change notification settings

Guiming/PyCLKDE

Repository files navigation

PyCLKDE

A big data-enabled high-performance computational framework for species habitat suitability modeling and mapping

Citation

Zhang, G. (2022). PyCLKDE: A big data-enabled high-performance computational framework for species habitat suitability modeling and mapping. Transactions in GIS, 26(4), 1754–1774. https://doi.org/10.1111/tgis.12901.

Compatible Operating Systems

Linux/Windows/Mac

Setting up Computing Environment:

  1. Install GPU drivers. If you are using NVIDIA GPUs, OpenCL support is included in the driver (https://developer.nvidia.com/opencl). If you are using AMD GPU/CPU, install appropriate OpenCL drivers from AMD (This link provides helpful pointers microsoft/LightGBM#1342). If you are using Intel GPU/CPU, install appropriate OpenCL drivers from Intel (e.g., https://software.intel.com/en-us/articles/opencl-drivers).
  2. It's assumed that you already have Python (version 2.7 or 3.x) installed. Anaconda is recommended for installing Python https://www.anaconda.com/distribution/.
  3. Install Python GDAL (https://pypi.org/project/GDAL/).
  4. Once OpenCL drivers, Python and Python GDAL are properly installed, you can use pip to install the PyOpenCL package (https://pypi.org/project/pyopencl/).
  5. Run pyopencl_test.py to test if PyOpenCL is working properly: python pyopencl_test.py (or pyopencl_test_py3.py).

Run PyCLKDE with Sample Data:

  1. Run pyopencl_test.py to see a list of available OpenCL computing platforms/devices on your computer: python pyopencl_test.py (or pyopencl_test_py3.py).
  2. Change configurations in the OPENCL_CONFIG variable in utility/config.py accordingly.
  3. Run PyCLKDE_main.py to get a sense of how to use PyCLKDE (using example data provided): python PyCLKDE_main.py

Use PyCLKDE for Your Own Application:

  1. Prepare species occurrence data and environmental covariate data following the example data in the "data" directory
  2. Change parameters (e.g., data directory, data file names, etc.) in PyCLKDE_main.py
  3. Run PyCLKDE_main.py: python PyCLKDE_main.py.py

License

Copyright 2022 Guiming Zhang. Distributed under GNU license.

Contact

guiming.zhang@du.edu

About

A big data-enabled high-performance computational framework for habitat suitability modeling and mapping

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published