Skip to main content

IDW interpolation library for python

Project description

All in one IDW package for python

This is an example map created using pyidw library.idw interpolated map using pyidw

Features

  1. Simple IDW
  2. IDW with external raster (eg, elevation raster) covariable.
  3. Accuracy Score.
  4. Builtin raster visualisation with co-ordinate and colour bar.

Why pyidw ?

Inverse distance weighted interpolation is one of the simplest geospatial interpolations available in GIS. Although it is easy to produce an idw raster using conventional desktop GIS software (eg. ArcGIS, QGIS). It was never straightforward to create such a beautiful map image using python. This is why I have created the pyidw library where you can create beautiful idw maps of your desired location using your favourite programming language 🐍

pyidw also incorporates a clever technique to use additional raster data as a covariable using simple linear regression. For example, if you are working with temperature data, it is widely known that temperature is inversely proportional to elevation, the higher the elevation, the lower the temperature is. With pyidw, you can easily add elevation data with traditional idw calculation and improve your interpolation accuracy.

Installation

pyidw library can be installed using simple pip install pyidw. However, if you are facing trouble installing pyidw on your windows machine, please try the commands below on the windows command line.

pip install wheel
pip install pipwin
pipwin refresh
pipwin install numpy
pipwin install pandas
pipwin install shapely
pipwin install gdal
pipwin install fiona
pipwin install pyproj
pipwin install six
pipwin install rtree
pipwin install geopandas
pipwin install rasterio
pip install pyidw
pipwin refresh

If you have any questions or facing any problems, feel free to contact me at: yahyatamim0@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyidw-0.0.64.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file pyidw-0.0.64.tar.gz.

File metadata

  • Download URL: pyidw-0.0.64.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.7

File hashes

Hashes for pyidw-0.0.64.tar.gz
Algorithm Hash digest
SHA256 22620bb915168f9db3d02bc165b60c8eebe3e4a5dc8d182e752e0abcad2b1b75
MD5 416cece26488a9ace617fa32ba4c0fb5
BLAKE2b-256 f3d0570eb98d538b0f5401fae41ee69c18e2600a16a59b5ae0709e5f5584071f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page