SUEWS Database Prepare Question

Hi all!

We are updating our analysis from early 2025 using the most recent updates of UMEP 4.4.3 and SUEWSv2025. A new grid, building and vegetation morphologies, land cover and meteorological data were all formatted using these versions of the tools.

When placing the reformatted vector, raster, met and morphology data into the prepare tool, it would begin to process for a few minutes and then return this error:

2026-01-21T23:23:53 WARNING Traceback (most recent call last):
File “C:\Users/smi21/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\suews_prepare_database\suews_prepare_database.py”, line 753, in generate
self.generateSiteSelect(settings_dict)
File “C:\Users/smi21/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\suews_prepare_database\suews_prepare_database.py”, line 999, in generateSiteSelect
df_build_frac = df_build_frac.set_index(‘ID’) # Set ID as index in df to be able to slice in df
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\PROGRA~1\QGIS34~1.14\apps\Python312\Lib\site-packages\pandas\core\frame.py”, line 6129, in set_index
raise KeyError(f"None of {missing} are in the columns")
KeyError: “None of [‘ID’] are in the columns”

I know this is forum is more geared to the Python versions of SUEWS, but any insight on what the error could be caused by would be really useful!

Thank you in advance!

1 Like

We did not yet update the tool in the QGIS repo so please use the development release accessed from here: 2. Getting Started — UMEP Manual documentation .

Later, I recommend to post UMEP/QGIS related issues to this Discussion site instead: UMEP-dev/UMEP · Discussions · GitHub

2 Likes

This is very helpful! thank you for your reply. I have posted a question regarding the install of the QGIS plugin (version 4.4.5). Thank you again!