yahyatamim / pyidw Goto Github PK
View Code? Open in Web Editor NEWA standalone python library for inverse distance weighted (idw) interpolation
License: MIT License
A standalone python library for inverse distance weighted (idw) interpolation
License: MIT License
this is a demo issue
Hello!
First of all, that's for creating this package!
I'm having a problem that I can't find a solution. My code is the following:
idw.idw_interpolation(
input_point_shapefile = 'Feijão_2021-10.shp',
extent_shapefile = "Setores_Censit_SP_WGS84.shp",
column_name = '2021-10')
And the error is:
Traceback (most recent call last):
File "C:\Users\Felipe.dias\AppData\Local\Temp\ipykernel_3392\818229306.py", line 1, in <module>
idw.idw_interpolation(
File "C:\Users\Felipe.dias\Anaconda3\lib\site-packages\pyidw\idw.py", line 174, in idw_interpolation
blank_raster(extent_shapefile)
File "C:\Users\Felipe.dias\Anaconda3\lib\site-packages\pyidw\idw.py", line 110, in blank_raster
minX = floor(calculationExtent.bounds.minx)
File "C:\Users\Felipe.dias\Anaconda3\lib\site-packages\pandas\core\series.py", line 207, in wrapper
raise TypeError(f"cannot convert the series to {converter}")
TypeError: cannot convert the series to <class 'float'>
All files can be downloaded here: https://drive.google.com/drive/folders/19UTkWA4O6kfR-4sIaDTBbO2tc0hTCOjR?usp=sharing
Do you know who can I solve this problem?
Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.