UMEP-dev / UMEP

Urban Multi-scale Environmental Predictor
https://umep-docs.readthedocs.io/
59 stars 15 forks source link

Solweig processor (UMEP) from processing toolbox #437

Closed Axou973 closed 1 year ago

Axou973 commented 2 years ago

Hello, I have the same problem. With the UMEP processor from Processing ToolBox, The outdoor thermal comfort doesn't work. they show me that : Longitude derived from DSM: 4.78884444108657 Latitude derived from DSM: 45.77444574049266 Vegetation scheme activated Sky View Factor rasters loaded Meteorological data successfully loaded Calculating sun positions for each time step Isotropic sky Writing settings for this model run to specified output folder (Filename: RunInfoSOLWEIG_YYYY_DOY_HHMM.txt) Executing main model Traceback (most recent call last): File "C:\Users/admin-ddavid/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\processor\solweig_algorithm.py", line 955, in processAlgorithm dRad, Kside = so.Solweig_2022a_calc( File "C:\Users/admin-ddavid/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\functions\SOLWEIGpython\Solweig_2022a_calc_forprocessing.py", line 344, in Solweig_2022a_calc Lside, L_patches, CI_Tg, CI_TgG, KsideD, dRad, Kside UnboundLocalError: local variable 'L_patches' referenced before assignment Execution failed after 6.06 secondes

For the meteo data, I used the pre-processor Meteorolagical Data. I converted the data in epw to txt with the tool. But I don't understand why does the data change a lot ? (from epw to txt). For exemple it's not the same year. Where can I send my zip folder to check what is wrong ? I have the last version of UMEP an UMEP processing

Thank you for your help actual.txt actual_2.txt SOLWEIG_ERROR

nilswallenberg commented 2 years ago

Hi,

I have hopefully fixed this. There is a new version here at GitHub (will be available in the QGIS repository later).

Cheers, Nils

ML426 commented 2 years ago

Hi @nilswallenberg, I have the same problem, How to import the new version in Qgis?

nilswallenberg commented 2 years ago

Here's how you can install it from zip-file:

https://umep-docs.readthedocs.io/en/latest/Getting_Started.html#installing-development-release-could-be-unstable

Cheers, Nils