CityScope / CS_Urban_Indicators

Scripts for getting urban data and building urban indicators. A module for computing urban indicators in response to real-time CityScope inputs.
GNU General Public License v3.0
7 stars 4 forks source link

Reporting Issues #31

Open Daaira0811 opened 1 year ago

Daaira0811 commented 1 year ago

Hi, I am having several issues trying to deploy this project locally for testing purposes, I hope you can help us, please. After running the project, an error appears reading the xlsx file national_M2018_dl.xlsx (we downloaded the file manually since the URL is not allowing services to automatically download it):

image

After that, I tried running it with the innovation indicator commented, but now the economy indicator shows issues, this time with a different file (we don’t see it inside the GitHub project): FileNotFoundError: [Errno 2] No such file or directory: './tables/innovation_data/USA_industry_output.csv' Is there any chance to access/download that csv file or a similar example file so we can test the project? Finally, when I try to run the project ignoring the innovation and economy indicators, it doesn’t execute correctly, returning the following warning: UserWarning: Indicator not working Despite that, the console shows the following errors after executing:

image

Regarding that Keyerror: ‘name’, We see the ‘name’ variable is missing in the id 3723 of the GEOGRIDDATA file in the “corktown” table.

image

We would appreciate if you could give me some guidance on the issues presented, please. The libraries I have installed in my conda environment are these: attrs==22.2.0 backports.zoneinfo==0.2.1 beautifulsoup4==4.12.2 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 click-plugins==1.1.1 cligj==0.7.2 colorama==0.4.5 config==0.5.1 cycler==0.11.0 decorator==4.4.2 docopt==0.6.2 docutils==0.18.1 Fiona==1.8.22 GDAL @ %addressfile%/GDAL-3.1.4-cp36-cp36m-win_amd64.whl Geohash==1.0 geopandas==0.9.0 idna==3.4 importlib-metadata==4.8.3 importlib-resources==5.4.0 joblib==1.1.1 Js2Py==0.74 kiwisolver==1.3.1 matplotlib==3.3.4 munch==3.0.0 networkx==2.5.1 numpy==1.19.5 osmnx==1.1.1 packaging==21.3 pandas==1.1.5 Pillow==8.4.0 pipwin==0.5.2 pyjsparser==2.7.1 pyparsing==3.0.9 PyPrind==2.11.3 pyproj==3.0.1 pyroj==0.0.3 pySmartDL==1.3.4 python-dateutil==2.8.2 pytz==2023.3 pytz-deprecation-shim==0.1.0.post0 requests==2.27.1 Rtree==0.9.4 scikit-learn==0.22.2.post1 scipy==1.5.4 Shapely==1.8.5.post1 six==1.16.0 soupsieve==2.3.2.post1 threadpoolctl==3.1.0 typing_extensions==4.1.1 tzdata==2023.3 tzlocal==4.2 urllib3==1.26.15 wincertstore==0.2 zipp==3.6.0