UMEP-dev / UMEP

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

SEBE- visualisation issu #385

Closed dounia43 closed 2 years ago

dounia43 commented 2 years ago

hello, I have the following message error every time I try to visualize the irradiance results using SEBE visualizer. when I click on (Visualise) I don't see results.

WARNING Traceback (most recent call last): File "C:/Users/pc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\SEBEVisual\sun.py", line 521, in visualize dataset = gdal.Open(self.plugin_dir + '/data/temp.tif') File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\osgeo\gdal.py", line 4048, in Open return _gdal.Open(*args) RuntimeError: C:/Users/pc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\SEBEVisual/data/temp.tif: No such file or directory

irradiance

Many thanks,

biglimp commented 2 years ago

Can you please state your version of UMEP, QGIS and also click on "Stack trace" to see if you have any additional error messages.

Where you able to execute SEBE without any errors?

dounia43 commented 2 years ago

UMEP version: 3.19.3 Python version : 3.7.0 QGIS version : 3.16.14-Hannover Hannover,

stack trace RuntimeError: C:/Users/pc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\SEBEVisual/data/temp.tif: No such file or directory Traceback (most recent call last): File "C:/Users/pc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\SEBEVisual\sun.py", line 521, in visualize dataset = gdal.Open(self.plugin_dir + '/data/temp.tif') File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\osgeo\gdal.py", line 4048, in Open return _gdal.Open(*args) RuntimeError: C:/Users/pc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\SEBEVisual/data/temp.tif: No such file or directory

biglimp commented 2 years ago

Can you please submit your output data from your SEBE run (the whole folder as a zip-file).

dounia43 commented 2 years ago

SEBE.zip

biglimp commented 2 years ago

I cannot replicate your error. I can run your data without errors. I think you need to update your QGIS. The latest version of Python is 3.9.x and that was introduced as from QGIS 3.20 if I remember correctly.

With this said, your SEBE run was unsuccessful as you have minus values. I suspect that you only have global radiation in your input meteorological file and that you have not clicked in "estimate diffuse and direct shortwave components from global radiation". Do that and re-run your model.

I will move this issue over to Discussions instead.