Replies: 2 comments 7 replies
-
Try the following:
|
Beta Was this translation helpful? Give feedback.
-
Hello, I have the same problem. With the UMEP processor from Processing ToolBox, The outdoor thermal comfort doesn't work. 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. |
Beta Was this translation helpful? Give feedback.
-
**Hi there,
I have tried to run SOLWEIG model but I am receiving the following error:**
Algorithm started at: 2022-07-07T14:53:38
Algorithm 'Outdoor Thermal Comfort: SOLWEIG' starting…
Input parameters:
{ 'ABS_L' : 0.95, 'ABS_S' : 0.7, 'ACTIVITY' : 80, 'AGE' : 35, 'ALBEDO_GROUND' : 0.15, 'ALBEDO_WALLS' : 0.2, 'CLO' : 0.9, 'CYL' : True, 'EMIS_GROUND' : 0.95, 'EMIS_WALLS' : 0.9, 'HEIGHT' : 180, 'INPUTMET' : 'D:\Newsha\LiDAR\for qgis\grid1\met_solweig.txt', 'INPUT_ANISO' : '', 'INPUT_ASPECT' : 'D:/Newsha/LiDAR/for qgis/grid1/WallA_grid1.tif', 'INPUT_CDSM' : 'D:/Newsha/LiDAR/lidar_dataset/CDSM_grid1.tif', 'INPUT_DEM' : 'D:/Newsha/LiDAR/lidar_dataset/DEM_grid1.tif', 'INPUT_DSM' : 'D:/Newsha/LiDAR/lidar_dataset/DSMb_grid1.tif', 'INPUT_HEIGHT' : 'D:/Newsha/LiDAR/for qgis/grid1/WallH_grid1.tif', 'INPUT_LC' : None, 'INPUT_SVF' : 'D:\Newsha\LiDAR\for qgis\grid1\SVF_g1\svfs.zip', 'INPUT_TDSM' : None, 'INPUT_THEIGHT' : 25, 'ONLYGLOBAL' : False, 'OUTPUT_DIR' : 'D:\Newsha\LiDAR\for qgis\grid1\MRT_g1', 'OUTPUT_KDOWN' : True, 'OUTPUT_KUP' : True, 'OUTPUT_LDOWN' : True, 'OUTPUT_LUP' : True, 'OUTPUT_SH' : True, 'OUTPUT_TMRT' : True, 'OUTPUT_TREEPLANTER' : False, 'POI_FIELD' : '', 'POI_FILE' : None, 'POSTURE' : 0, 'SAVE_BUILD' : False, 'SENSOR_HEIGHT' : 10, 'SEX' : 0, 'TRANS_VEG' : 3, 'USE_LC_BUILD' : False, 'UTC' : 1, 'WEIGHT' : 75 }
Longitude derived from DSM: -4.392889406995406
Latitude derived from DSM: 55.77399297898338
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/nmodjr200/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/nmodjr200/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\functions\SOLWEIGpython\Solweig_2022a_calc_forprocessing.py", line 133, in Solweig_2022a_calc
lv, pc_, pb_ = Perez_v3(zenDeg, azimuth, radD, radI, jday, patchchoice, patch_option) # Relative luminance
File "C:\Users/nmodjr200/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\util\SEBESOLWEIGCommonFiles\Perez_v3.py", line 193, in Perez_v3
skyvaultalt, skyvaultazi, _, _, _, _, _ = create_patches(patch_option)
File "C:\Users/nmodjr200/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_umep\util\SEBESOLWEIGCommonFiles\create_patches.py", line 41, in create_patches
skyvaultaziint = np.array([360/patches for patches in patches_in_band])
UnboundLocalError: local variable 'patches_in_band' referenced before assignment
Execution failed after 4.41 seconds
Loading resulting layers
Algorithm 'Outdoor Thermal Comfort: SOLWEIG' finished
Could you please help me with this issue? and here is the output in the directory folder:
This file provides run settings for the SOLWEIG run initiated at: Thu, 07 Jul 2022 14:53:42
Version: SOLWEIG v2021a
SURFACE DATA
Digital surface model (DSM): D:/Newsha/LiDAR/lidar_dataset/DSMb_grid1.tif
Model domain: rows = 3000, columns = 3501
Projected reference system: British_National_Grid
Geographical coordinate system: OSGB36
Latitude: 55.77399297898338
Longitude: -4.392889406995406
UTC: 1.0
Transmissivity of light through vegetation: 0.03
Digital vegetation canopy model (CDSM): D:/Newsha/LiDAR/lidar_dataset/CDSM_grid1.tif
Trunkzone estimated from CDSM
Trunkzone as percent of canopy height: 0.25
Landcover scheme inactive
DEM used to identify buildings
METEOROLOGICAL FORCING DATA
Meteorological file: D:\Newsha\LiDAR\for qgis\grid1\met_solweig.txt
HUMAN EXPOSURE PARAMETERS
Absorption, shortwave radiation: 0.7
Absorption, longwave radiation: 0.95
Posture of human body: Standing
ENVIRONMENTAL PARAMETERS
Albedo of walls: 0.2
Albedo of ground (not used if land cover scheme is active): 0.15
Emissivity (walls): 0.9
Emissivity of ground (not used if land cover scheme is active): 0.95
ADDITIONAL SETTINGS
Human considered as a standing cylinder
Isotropic sky
Thanks
Beta Was this translation helpful? Give feedback.
All reactions