UMEP-dev / SuPy

SUEWS that speaks Python
https://supy.readthedocs.io/
GNU General Public License v3.0
13 stars 7 forks source link

Windows fatal exception: code 0xc0000028-Error2 -when Running SUEWS Advance in QGIS #64

Closed ozyaz closed 1 year ago

ozyaz commented 2 years ago

Hello UMEP community,

shortly after running advanced succesfully with one month meteodata and 121 grid cells, I needed to extend my area to 1x1km , 400 grids with 50m resolution. I did the analysis again and run the SUEWS prepare succesfully, later for the Advanced QGIS keep crashing on different computers. This is the error I have, never had this one before:) is it maybe about the area lenght, what is the recommended lenght of the area and resolution for SUEWS?

my meteo data is for a month, I even tried with a week to reduce the calculation time and effort.


Python Stack Trace
Windows fatal exception: code 0xc0000028

Current thread 0x00001b60 (most recent call first):
  File "C:\Users\ozgey\AppData\Roaming\Python\Python39\site-packages\supy\_run.py", line 121 in suews_cal_tstep_multi
    res_suews_tstep_multi = sd.suews_cal_multitsteps(**dict_input)
  File "C:\Users\ozgey\AppData\Roaming\Python\Python39\site-packages\supy\_run.py", line 370 in 
    suews_cal_tstep_multi(input_grid, df_forcing)
  File "C:\Users\ozgey\AppData\Roaming\Python\Python39\site-packages\supy\_run.py", line 369 in run_supy_ser
    list_res = [
  File "C:\Users\ozgey\AppData\Roaming\Python\Python39\site-packages\supy\_supy_module.py", line 370 in run_supy
    df_output, df_state_final = run_supy_ser(
  File "C:\Users/ozgey/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\suewsmodel\suews_wrapper.py", line 68 in wrapper
    df_output, df_state_final = sp.run_supy(df_forcing, df_state_init, check_input=True, serial_mode=True)
  File "C:\Users/ozgey/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\SUEWS\suews.py", line 314 in start_progress
    suews_wrapper.wrapper(self.model_dir, self.iface)
  File "C:\Users/ozgey/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\SUEWS\suews.py", line 158 in run
    self.dlg.exec_()
  File "C:\Users/ozgey/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\UMEP.py", line 440 in SUEWS_advanced
    sg.run()

Stack Trace
No stack trace is available.

QGIS Info QGIS Version: 3.26.1-Buenos Aires QGIS code revision: b609df9ed4d Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.5.1 Running against GDAL: 3.5.1

Screenshots image

Additional context the input data created with UMEP-SUEWS in QGIS: ber1km_2019_data_60.txt SUEWS_WithinGridWaterDist.txt int_2019_data_60.txt SUEWS_AnthropogenicEmission.txt SUEWS_BiogenCO2.txt SUEWS_Conductance.txt SUEWS_ESTMCoefficients.txt SUEWS_Irrigation.txt SUEWS_NonVeg.txt SUEWS_OHMCoefficients.txt SUEWS_Profiles.txt SUEWS_SiteSelect.txt SUEWS_Snow.txt SUEWS_Soil.txt SUEWS_Veg.txt SUEWS_Water.txt

sunt05 commented 2 years ago

Sorry to see this - any other error info from supy?

github-actions[bot] commented 1 year ago

Stale issue message