omarseleem92 / Machine_learning_for_flood_susceptibility

32 stars 7 forks source link

data processing error #1

Open zafor44 opened 1 year ago

zafor44 commented 1 year ago

Extracting the raster values to the points shapefile

count=0

for index,row in points.iterrows(): #iterate over the points in the shapefile longitude=row['geometry'].x #get the longitude of the point latitude=row['geometry'].y #get the latitude of the point

#print("Longitude="+str(longitude))
#print(count)
#count +=1

rowIndex, colIndex=TWI_raster.index(longitude,latitude) # the corresponding pixel to the point (longitude,latitude)

# Extract the raster values at the point location
points['TWI'].loc[index]=TWI_arr[rowIndex, colIndex]

when run this code please give me a solution

AttributeError: 'numpy.float32' object has no attribute 'is_integer'

omarseleem92 commented 1 year ago

Hi,

Thank you for your question. I would recommend first that you run the code with the sample data which I used (https://github.com/omarseleem92/flood_susceptibility_mapping). Please run it and see if you will get the same error.

zafor44 commented 1 year ago

Thank you so much for your reply. I am trying with your sample data file and these errors are seen . I am trying to run the code both in jupiter and google collab also but the error is the same. is there any version-related problem there? sir please share the Study_area.shp file if possible.

waleedgeo commented 1 year ago

Hello Zafor, I run this script and I did not face any of such issues.

Can you please share the error log here, so I can analyze your issues? Also, share your dependencies versions. Thanks.

zafor44 commented 1 year ago

Screenshot 2023-02-14 001115 Package Version


absl-py 1.4.0 affine 2.4.0 appdirs 1.4.4 arcgis 2.0.1 asn1crypto 1.4.0 astunparse 1.6.3 atomicwrites 1.4.0 attrs 21.4.0 azure-core 1.12.0 azure-storage-blob 12.8.0 backcall 0.2.0 black 0.0.0 bleach 4.1.0 blinker 1.4 Bottleneck 1.3.4 brotlipy 0.7.0 cached-property 1.5.2 cachetools 4.2.2 certifi 2021.10.8 cffi 1.15.0 cftime 1.5.0 chardet 4.0.0 charset-normalizer 2.0.4 click 8.0.4 click-plugins 1.1.1 cligj 0.7.2 colorama 0.4.4 cryptography 37.0.2 cycler 0.11.0 decorator 5.1.1 defusedxml 0.7.1 despatch 0.2.0 entrypoints 0.3 et-xmlfile 1.1.0 fastcache 1.1.0 Fiona 1.8.22 flake8 4.0.1 flatbuffers 23.1.21 future 0.18.2 gast 0.4.0 geomet 0.3.0 geopandas 0.12.2 google-auth 2.16.0 google-auth-oauthlib 0.4.6 google-pasta 0.2.0 grpcio 1.51.1 h5py 3.6.0 html5lib 1.1 idna 3.3 importlib-metadata 4.11.3 iniconfig 1.1.1 ipykernel 5.3.4 ipython 7.21.0 ipython-genutils 0.2.0 ipywidgets 7.6.5 isodate 0.6.0 jdcal 1.4.1 jedi 0.18.0 Jinja2 3.0.3 joblib 1.2.0 json5 0.9.5 jsonschema 3.2.0 jupyter-client 6.1.7 jupyter-console 6.4.0 jupyter-contrib-core 0.3.3 jupyter-contrib-nbextensions 0.5.1 jupyter-core 4.6.3 jupyter-highlight-selected-word 0.2.0 jupyter-latex-envs 1.4.6 jupyter-nbextensions-configurator 0.4.1 jupyterlab 2.2.10 jupyterlab-server 1.2.0 jupyterlab-widgets 1.0.0 keras 2.11.0 keyring 23.4.0 kiwisolver 1.3.2 lerc 3.0 libclang 15.0.6.1 lxml 4.8.0 Markdown 3.4.1 MarkupSafe 2.1.2 matplotlib 3.4.3 mccabe 0.7.0 mistune 0.8.4 mkl-fft 1.3.0 mkl-random 1.2.2 mkl-service 2.3.0 mlxtend 0.21.0 mpmath 1.2.1 msrest 0.6.21 munch 2.5.0 mypy-extensions 0.4.3 nbconvert 5.6.1 nbformat 5.1.3 netCDF4 1.5.7 networkx 2.7.1 nose 1.3.7 notebook 5.7.10 ntlm-auth 1.4.0 numexpr 2.8.1 numpy 1.22.4 oauthlib 3.2.0 olefile 0.46 opencv-python 4.7.0.68 openpyxl 3.0.9 opt-einsum 3.3.0 packaging 21.3 pandas 1.3.5 pandocfilters 1.5.0 parso 0.8.3 pathspec 0.9.0 patsy 0.5.3 pefile 2019.4.18 pickleshare 0.7.5 Pillow 9.1.0 pip 21.2.4 platformdirs 2.4.0 pluggy 0.13.1 pooch 1.6.0 pro-notebook-integration 2.5 prometheus-client 0.8.0 prompt-toolkit 3.0.5 protobuf 3.19.1 psutil 5.8.0 py 1.11.0 pyasn1 0.4.8 pyasn1-modules 0.2.8 pycodestyle 2.8.0 pycparser 2.21 pyflakes 2.4.0 Pygments 2.9.0 PyJWT 2.4.0 pyodbc 4.0.32 pyOpenSSL 22.0.0 pyparsing 3.0.4 PyPDF2 1.26.0 pyproj 3.4.1 pyrsistent 0.18.0 pyshp 2.1.3 PySocks 1.7.1 pytest 6.2.4 python-certifi-win32 1.7.dev1+g24a5d1b python-dateutil 2.8.2 pytz 2022.1 pywin32-ctypes 0.2.0 pywinpty 2.0.1 PyYAML 6.0 pyzmq 22.2.1 rasterio 1.3.5.post1 rasterstats 0.17.1 regex 2022.3.15 regionmask 0.9.0 requests 2.27.1 requests-kerberos 0.12.0 requests-negotiate-sspi 0.0.0 requests-ntlm 1.1.0 requests-oauthlib 1.3.0 requests-toolbelt 0.9.1 rsa 4.9 saspy 3.7.8 scikit-learn 1.2.1 scipy 1.6.2 seaborn 0.12.2 Send2Trash 1.8.0 setuptools 60.10.0 shapely 2.0.1 simplegeneric 0.8.1 simplejson 3.18.3 six 1.16.0 snuggs 1.4.7 SQLAlchemy 1.3.12 statsmodels 0.13.5 swat 1.9.3 sympy 1.9 tensorboard 2.11.2 tensorboard-data-server 0.6.1 tensorboard-plugin-wit 1.8.1 tensorflow 2.11.0 tensorflow-estimator 2.11.0 tensorflow-intel 2.11.0 tensorflow-io-gcs-filesystem 0.30.0 termcolor 2.2.0 terminado 0.13.1 testpath 0.5.0 threadpoolctl 3.0.0 toml 0.10.2 tomli 1.2.2 tornado 6.1 traitlets 5.1.1 typed-ast 1.4.3 typing_extensions 4.1.1 ujson 5.1.0 urllib3 1.26.8 UTide 0.3.0 wcwidth 0.2.5 webencodings 0.5.1 Werkzeug 2.2.2 wheel 0.37.1 widgetsnbextension 3.5.2 win-inet-pton 1.1.0 wincertstore 0.2 winkerberos 0.8.0 wrapt 1.13.3 x86cpu 0.4 xarray 0.20.1 xgboost 1.7.3 xlrd 2.0.1 xlwt 1.3.0 zipp 3.7.0

1

zafor44 commented 1 year ago

Hi Mirza Would you please share the python version and IDE that you have used? I am stuck in this errors.

waleedgeo commented 1 year ago

Try to make a new env, and add everything using conda forge, use jupyter lab as IDE

these are my packages

Name Version Build Channel

_tflow_select 2.3.0 mkl absl-py 1.4.0 pyhd8ed1ab_0 conda-forge affine 2.4.0 pyhd8ed1ab_0 conda-forge aiohttp 3.8.3 py39ha55989b_1 conda-forge aiosignal 1.3.1 pyhd8ed1ab_0 conda-forge anyio 3.6.2 pyhd8ed1ab_0 conda-forge aom 3.5.0 h63175ca_0 conda-forge appdirs 1.4.4 pyh9f0ad1d_0 conda-forge argon2-cffi 21.3.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py39ha55989b_3 conda-forge asttokens 2.2.1 pyhd8ed1ab_0 conda-forge astunparse 1.6.3 pyhd8ed1ab_0 conda-forge async-timeout 4.0.2 pyhd8ed1ab_0 conda-forge attrs 22.2.0 pyh71513ae_0 conda-forge babel 2.11.0 pyhd8ed1ab_0 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 pyhd8ed1ab_3 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.11.1 pyha770c72_0 conda-forge bleach 6.0.0 pyhd8ed1ab_0 conda-forge blinker 1.5 pyhd8ed1ab_0 conda-forge bqplot 0.12.36 pyhd8ed1ab_0 conda-forge branca 0.6.0 pyhd8ed1ab_0 conda-forge brotli 1.0.9 hcfcfb64_8 conda-forge brotli-bin 1.0.9 hcfcfb64_8 conda-forge brotlipy 0.7.0 py39ha55989b_1005 conda-forge bzip2 1.0.8 h8ffe710_4 conda-forge ca-certificates 2022.12.7 h5b45459_0 conda-forge cachetools 5.3.0 pyhd8ed1ab_0 conda-forge certifi 2022.12.7 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py39h68f70e3_3 conda-forge cfitsio 3.470 h2bbff1b_7 charset-normalizer 2.1.1 pyhd8ed1ab_0 conda-forge click 8.1.3 win_pyhd8ed1ab_2 conda-forge click-plugins 1.1.1 py_0 conda-forge cligj 0.7.2 pyhd8ed1ab_1 conda-forge colorama 0.4.6 pyhd8ed1ab_0 conda-forge colour 0.1.5 py_0 conda-forge comm 0.1.2 pyhd8ed1ab_0 conda-forge contourpy 1.0.7 py39h1f6ef14_0 conda-forge cryptography 39.0.0 py39h58e9bdb_0 conda-forge cudatoolkit 11.3.1 h59b6b97_2 anaconda cudnn 8.2.1 cuda11.3_0 anaconda curl 7.87.0 h68f0423_0 conda-forge cycler 0.11.0 pyhd8ed1ab_0 conda-forge debugpy 1.6.6 py39h99910a6_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge earthengine-api 0.1.337 pyhd8ed1ab_0 conda-forge ee_extra 0.0.15 pyhd8ed1ab_0 conda-forge eerepr 0.0.4 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge et_xmlfile 1.1.0 py39haa95532_0 anaconda executing 1.2.0 pyhd8ed1ab_0 conda-forge expat 2.5.0 h1537add_0 conda-forge ffmpeg 5.1.2 gpl_h02edd2a_102 conda-forge ffmpeg-python 0.2.0 py_0 conda-forge filelock 3.9.0 pyhd8ed1ab_0 conda-forge flatbuffers 22.12.06 h63175ca_2 conda-forge flit-core 3.8.0 pyhd8ed1ab_0 conda-forge folium 0.14.0 pyhd8ed1ab_0 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 hab24e00_0 conda-forge fontconfig 2.14.1 hbde0cde_0 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fonttools 4.38.0 py39ha55989b_1 conda-forge freetype 2.12.1 h546665d_1 conda-forge freexl 1.0.6 h67ca5e6_1 conda-forge frozenlist 1.3.3 py39ha55989b_0 conda-forge future 0.18.3 pyhd8ed1ab_0 conda-forge gast 0.4.0 pyh9f0ad1d_0 conda-forge gdal 3.0.2 pypi_0 pypi gdown 4.6.0 pyhd8ed1ab_0 conda-forge geeadd 0.5.6 pyhd8ed1ab_0 conda-forge geemap 0.19.6 pyhd8ed1ab_0 conda-forge geocoder 1.38.1 py_1 conda-forge geojson 2.5.0 py_0 conda-forge geos 3.8.0 h33f27b4_0 geotiff 1.7.0 h4545760_0 gettext 0.21.1 h5728263_0 conda-forge giflib 5.2.1 h8d14728_2 conda-forge glib 2.74.1 h12be248_1 conda-forge glib-tools 2.74.1 h12be248_1 conda-forge google-api-core 2.11.0 pyhd8ed1ab_0 conda-forge google-api-python-client 2.74.0 pyhd8ed1ab_0 conda-forge google-auth 2.16.0 pyh1a96a4e_1 conda-forge google-auth-httplib2 0.1.0 pyhd8ed1ab_1 conda-forge google-auth-oauthlib 0.4.6 pyhd8ed1ab_0 conda-forge google-cloud-core 2.3.2 pyhd8ed1ab_0 conda-forge google-cloud-storage 2.7.0 pyh1a96a4e_0 conda-forge google-crc32c 1.1.2 py39h0def995_4 conda-forge google-pasta 0.2.0 pyh8c360ce_0 conda-forge google-resumable-media 2.4.1 pyhd8ed1ab_0 conda-forge googleapis-common-protos 1.57.1 pyhd8ed1ab_0 conda-forge graphviz 2.38 hfd603c8_2 anaconda grpcio 1.42.0 py39hc60d5dd_0 gst-plugins-base 1.18.5 he07aa86_3 conda-forge gstreamer 1.18.5 hdff456e_3 conda-forge h5py 2.10.0 nompi_py39hf27771d_106 conda-forge hdf4 4.2.13 h712560f_2 hdf5 1.10.6 nompi_h5268f04_1114 conda-forge httplib2 0.21.0 pyhd8ed1ab_0 conda-forge icu 58.2 ha925a31_3 idna 3.4 pyhd8ed1ab_0 conda-forge importlib-metadata 6.0.0 pyha770c72_0 conda-forge importlib_resources 5.10.2 pyhd8ed1ab_0 conda-forge intel-openmp 2023.0.0 h57928b3_25922 conda-forge ipyevents 2.0.1 pyhd8ed1ab_0 conda-forge ipyfilechooser 0.6.0 pyhd8ed1ab_0 conda-forge ipykernel 6.20.2 pyh025b116_0 conda-forge ipyleaflet 0.17.2 pyhd8ed1ab_0 conda-forge ipysheet 0.7.0 pyhd8ed1ab_0 conda-forge ipython 8.8.0 pyh08f2357_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipytree 0.2.2 pyhd8ed1ab_0 conda-forge ipywidgets 7.7.2 pyhd8ed1ab_0 conda-forge jedi 0.18.2 pyhd8ed1ab_0 conda-forge jinja2 3.1.2 pyhd8ed1ab_1 conda-forge joblib 1.2.0 pyhd8ed1ab_0 conda-forge jpeg 9e h8ffe710_2 conda-forge json5 0.9.5 pyh9f0ad1d_0 conda-forge jsonschema 4.17.3 pyhd8ed1ab_0 conda-forge jupyter_client 7.4.9 pyhd8ed1ab_0 conda-forge jupyter_core 5.1.5 py39hcbf5309_0 conda-forge jupyter_events 0.6.3 pyhd8ed1ab_0 conda-forge jupyter_server 2.1.0 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.4.4 pyhd8ed1ab_1 conda-forge jupyterlab 3.5.3 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge jupyterlab_server 2.19.0 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 1.1.1 pyhd8ed1ab_0 conda-forge kaleido 0.1.0.post1 pypi_0 pypi kaleido-core 0.2.1 h8ffe710_0 conda-forge kealib 1.4.14 hde4a422_1 keras 2.10.0 py39haa95532_0 keras-preprocessing 1.1.2 pyhd8ed1ab_0 conda-forge kiwisolver 1.4.4 py39h1f6ef14_1 conda-forge krb5 1.20.1 h6609f42_0 conda-forge lcms2 2.14 ha5c8aab_1 conda-forge leafmap 0.15.0 pyhd8ed1ab_0 conda-forge lerc 4.0.0 h63175ca_0 conda-forge libblas 3.9.0 16_win64_mkl conda-forge libbrotlicommon 1.0.9 hcfcfb64_8 conda-forge libbrotlidec 1.0.9 hcfcfb64_8 conda-forge libbrotlienc 1.0.9 hcfcfb64_8 conda-forge libcblas 3.9.0 16_win64_mkl conda-forge libclang 12.0.0 default_h627e005_2 libcrc32c 1.1.2 h0e60522_0 conda-forge libcurl 7.87.0 h68f0423_0 conda-forge libdeflate 1.17 hcfcfb64_0 conda-forge libffi 3.4.2 h8ffe710_5 conda-forge libgdal 3.0.2 hc12e7b7_6 libglib 2.74.1 he8f3873_1 conda-forge libhwloc 2.8.0 h039e092_1 conda-forge libiconv 1.17 h8ffe710_0 conda-forge libjpeg-turbo 2.1.4 hcfcfb64_0 conda-forge liblapack 3.9.0 16_win64_mkl conda-forge libnetcdf 4.8.1 h6685c40_2 libogg 1.3.4 h8ffe710_1 conda-forge libpng 1.6.39 h19919ed_0 conda-forge libpq 12.9 hb652d5d_3 libprotobuf 3.20.2 h12be248_0 conda-forge libsodium 1.0.18 h8d14728_1 conda-forge libspatialite 4.3.0a h14feca5_20 libsqlite 3.40.0 hcfcfb64_0 conda-forge libssh2 1.10.0 h680486a_3 conda-forge libtiff 4.5.0 hf8721a0_2 conda-forge libvorbis 1.3.7 h0e60522_0 conda-forge libwebp 1.2.4 hcfcfb64_1 conda-forge libwebp-base 1.2.4 h8ffe710_0 conda-forge libxcb 1.13 hcd874cb_1004 conda-forge libxml2 2.9.14 hc3477c8_4 conda-forge libxslt 1.1.35 h2bbff1b_0 libzip 1.9.2 hfed4ece_1 conda-forge libzlib 1.2.13 hcfcfb64_4 conda-forge logzero 1.7.0 py39hcbf5309_4 conda-forge lz4-c 1.9.3 h8ffe710_1 conda-forge m2w64-expat 2.1.1 2 conda-forge m2w64-gcc-libgfortran 5.3.0 6 conda-forge m2w64-gcc-libs 5.3.0 7 conda-forge m2w64-gcc-libs-core 5.3.0 7 conda-forge m2w64-gettext 0.19.7 2 conda-forge m2w64-gmp 6.1.0 2 conda-forge m2w64-libiconv 1.14 6 conda-forge m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge m2w64-xz 5.2.2 2 conda-forge markdown 3.4.1 pyhd8ed1ab_0 conda-forge markupsafe 2.1.2 py39ha55989b_0 conda-forge mathjax 2.7.7 h57928b3_3 conda-forge matplotlib 3.6.3 py39hcbf5309_0 conda-forge matplotlib-base 3.6.3 py39haf65ace_0 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mistune 2.0.4 pyhd8ed1ab_0 conda-forge mkl 2022.1.0 h6a75c08_874 conda-forge msys2-conda-epoch 20160418 1 conda-forge multidict 6.0.4 py39ha55989b_0 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge nbclassic 0.4.8 pyhd8ed1ab_0 conda-forge nbclient 0.7.2 pyhd8ed1ab_0 conda-forge nbconvert 7.2.9 pyhd8ed1ab_0 conda-forge nbconvert-core 7.2.9 pyhd8ed1ab_0 conda-forge nbconvert-pandoc 7.2.9 pyhd8ed1ab_0 conda-forge nbformat 5.7.3 pyhd8ed1ab_0 conda-forge nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge notebook 6.5.2 pyha770c72_1 conda-forge notebook-shim 0.2.2 pyhd8ed1ab_0 conda-forge numpy 1.23.5 py39hbccbffa_0 conda-forge oauthlib 3.2.2 pyhd8ed1ab_0 conda-forge openh264 2.3.1 h63175ca_1 conda-forge openjpeg 2.5.0 ha2aaf27_2 conda-forge openpyxl 3.0.9 pyhd3eb1b0_0 anaconda openssl 1.1.1s hcfcfb64_1 conda-forge opt_einsum 3.3.0 pyhd8ed1ab_1 conda-forge packaging 23.0 pyhd8ed1ab_0 conda-forge pandas 1.5.3 py39h2ba5b7c_0 conda-forge pandoc 2.19.2 h57928b3_1 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge patsy 0.5.3 pyhd8ed1ab_0 conda-forge pcre2 10.40 h17e33f8_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 9.4.0 py39h9767c21_0 conda-forge pip 22.3.1 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_0 conda-forge platformdirs 2.6.2 pyhd8ed1ab_0 conda-forge plotly 5.13.0 pyhd8ed1ab_0 conda-forge plotly-orca 1.3.1 1 plotly ply 3.11 py_1 conda-forge pooch 1.6.0 pyhd8ed1ab_0 conda-forge proj 6.2.1 h3758d61_0 prometheus_client 0.16.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.36 pyha770c72_0 conda-forge protobuf 3.20.2 py39hcbf5309_1 conda-forge pscript 0.7.7 pyhd8ed1ab_0 conda-forge psutil 5.9.4 py39ha55989b_0 conda-forge pthread-stubs 0.4 hcd874cb_1001 conda-forge pthreads-win32 2.9.1 hfa6e2cd_3 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pyasn1 0.4.8 py_0 conda-forge pyasn1-modules 0.2.7 py_0 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pycrs 1.0.2 py_0 conda-forge pydot 1.4.2 py39hcbf5309_3 conda-forge pygments 2.14.0 pyhd8ed1ab_0 conda-forge pyjwt 2.6.0 pyhd8ed1ab_0 conda-forge pyopenssl 23.0.0 pyhd8ed1ab_0 conda-forge pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge pyperclip 1.8.2 pyhd8ed1ab_2 conda-forge pyqt 5.15.7 py39hd77b12b_0 pyqt5-sip 12.11.0 py39hd77b12b_0 pyreadline 2.1 py39hcbf5309_1007 conda-forge pyrsgis 0.4.1 pypi_0 pypi pyrsistent 0.19.3 py39ha55989b_0 conda-forge pyshp 2.3.1 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyh0701188_6 conda-forge pystac 1.6.1 pyhd8ed1ab_1 conda-forge pystac-client 0.5.1 pyhd8ed1ab_0 conda-forge python 3.9.15 h0269646_0_cpython conda-forge python-box 6.1.0 py39ha55989b_0 conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.16.2 pyhd8ed1ab_0 conda-forge python-flatbuffers 23.1.21 pyhd8ed1ab_0 conda-forge python-graphviz 0.12 py_0 conda-forge python-json-logger 2.0.4 pyhd8ed1ab_0 conda-forge python_abi 3.9 3_cp39 conda-forge pytz 2022.7.1 pyhd8ed1ab_0 conda-forge pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge pywin32 304 py39h99910a6_2 conda-forge pywinpty 2.0.10 py39h99910a6_0 conda-forge pyyaml 6.0 py39ha55989b_5 conda-forge pyzmq 25.0.0 py39hea35a22_0 conda-forge qt-main 5.15.2 he8e5bd7_7 qt-webengine 5.15.9 hb9a9bb5_5 qtwebkit 5.212 h3ad3cdb_4 rasterio 1.2.10 py39h17c1fa0_0 ratelim 0.1.6 py_2 conda-forge requests 2.28.2 pyhd8ed1ab_0 conda-forge requests-oauthlib 1.3.1 pyhd8ed1ab_0 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rsa 4.9 pyhd8ed1ab_0 conda-forge ruamel.yaml 0.17.21 py39ha55989b_2 conda-forge ruamel.yaml.clib 0.2.7 py39ha55989b_1 conda-forge sankee 0.2.1 pyhd8ed1ab_0 conda-forge scikit-learn 1.2.1 py39h6fe01c0_0 conda-forge scipy 1.10.0 py39hfbf2dce_0 conda-forge scooby 0.7.1 pyhd8ed1ab_0 conda-forge seaborn 0.12.2 hd8ed1ab_0 conda-forge seaborn-base 0.12.2 pyhd8ed1ab_0 conda-forge send2trash 1.8.0 pyhd8ed1ab_0 conda-forge setuptools 66.1.1 pyhd8ed1ab_0 conda-forge sip 6.6.2 py39h415ef7b_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge snappy 1.1.9 hfb803bf_2 conda-forge sniffio 1.3.0 pyhd8ed1ab_0 conda-forge snuggs 1.4.7 py_0 conda-forge soupsieve 2.3.2.post1 pyhd8ed1ab_0 conda-forge sqlite 3.40.1 h2bbff1b_0 stack_data 0.6.2 pyhd8ed1ab_0 conda-forge statsmodels 0.13.5 py39hc266a54_2 conda-forge svt-av1 1.3.0 h63175ca_0 conda-forge tbb 2021.7.0 h91493d7_1 conda-forge tenacity 8.1.0 pyhd8ed1ab_0 conda-forge tensorboard 2.10.0 py39haa95532_0 tensorboard-data-server 0.6.1 py39hcbf5309_4 conda-forge tensorboard-plugin-wit 1.8.1 pyhd8ed1ab_0 conda-forge tensorflow 2.10.0 mkl_py39ha510bab_0 tensorflow-base 2.10.0 mkl_py39h6a7f48e_0 tensorflow-estimator 2.10.0 py39haa95532_0 termcolor 2.2.0 pyhd8ed1ab_0 conda-forge terminado 0.15.0 py39hcbf5309_0 conda-forge threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge tiledb 2.3.3 h3649cd2_2 tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.12 h8ffe710_0 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tornado 6.2 py39ha55989b_1 conda-forge tqdm 4.64.1 pyhd8ed1ab_0 conda-forge traitlets 5.8.1 pyhd8ed1ab_0 conda-forge traittypes 0.2.1 pyh9f0ad1d_2 conda-forge typing-extensions 4.4.0 hd8ed1ab_0 conda-forge typing_extensions 4.4.0 pyha770c72_0 conda-forge tzdata 2022g h191b570_0 conda-forge ucrt 10.0.22621.0 h57928b3_0 conda-forge unicodedata2 15.0.0 py39ha55989b_0 conda-forge uritemplate 4.1.1 pyhd8ed1ab_0 conda-forge urllib3 1.26.14 pyhd8ed1ab_0 conda-forge vc 14.3 hb6edc58_10 conda-forge vs2015_runtime 14.34.31931 h4c5c07a_10 conda-forge wcwidth 0.2.6 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 py_1 conda-forge websocket-client 1.4.2 pyhd8ed1ab_0 conda-forge werkzeug 2.2.2 pyhd8ed1ab_0 conda-forge wheel 0.38.4 pyhd8ed1ab_0 conda-forge whitebox 2.2.0 pyhd8ed1ab_0 conda-forge whiteboxgui 2.2.0 pyhd8ed1ab_0 conda-forge widgetsnbextension 3.6.1 pyha770c72_0 conda-forge win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge winpty 0.4.3 4 conda-forge wrapt 1.14.1 py39ha55989b_1 conda-forge x264 1!164.3095 h8ffe710_2 conda-forge x265 3.5 h2d74725_3 conda-forge xerces-c 3.2.4 h63175ca_1 conda-forge xorg-kbproto 1.0.7 hcd874cb_1002 conda-forge xorg-libx11 1.7.2 hcd874cb_0 conda-forge xorg-libxau 1.0.9 hcd874cb_0 conda-forge xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge xorg-xproto 7.0.31 hcd874cb_1007 conda-forge xyzservices 2022.9.0 pyhd8ed1ab_0 conda-forge xz 5.2.6 h8d14728_0 conda-forge yaml 0.2.5 h8ffe710_2 conda-forge yarl 1.8.2 py39ha55989b_0 conda-forge zeromq 4.3.4 h0e60522_1 conda-forge zipp 3.11.0 pyhd8ed1ab_0 conda-forge zlib 1.2.13 hcfcfb64_4 conda-forge zstd 1.5.2 h12be248_6 conda-forge

waleedgeo commented 1 year ago

Previously I was using VS code, but my computer freezes when I run processing code (my study area is very large).

When I tried with jupyter lab, no issue at all. Thanks.

zafor44 commented 1 year ago

Hi Mirza Thank you so much for your reply. Would you please show me the procedure in a tutorial video?

wujiaors commented 8 months ago

Hello Zafor, I run this script and I did not face any of such issues.

Can you please share the error log here, so I can analyze your issues? Also, share your dependencies versions. Thanks.

I'm having a little trouble running the model.py, can you please advise me?