ladybug-tools / uwg

:city_sunrise: The Urban Weather Generator (uwg) is a Python application for modeling the urban heat island effect.
https://www.ladybug.tools/uwg/docs/
GNU General Public License v3.0
56 stars 26 forks source link

DIR_DOE_PATH issue #274

Open simonmarti1992 opened 2 years ago

simonmarti1992 commented 2 years ago

Dear uwg users,

I faced an issue when I downloaded uwg with pip install. Indeed, I have noticed that the "resources" folder is not downloaded autmatically, so I can't uses readDOE.py 

My solution :

  1. copy/paste "resources" folder from github to my "site-packages/uwg" folder
  2. modify line 27 in readDOE.py  DIR_DOE_PATH = os.path.join(DIR_CURR, "..", "resources", "DOERefBuildings") to DIR_DOE_PATH = os.path.join(DIR_CURR, "resources", "DOERefBuildings")

I guess there is a better way to figure it out