-
Notifications
You must be signed in to change notification settings - Fork 7
Error when Running SUEWS Advance in QGIS #47
Comments
Sorry to see the error, which is not uncommon for UMEP users: this looks to be a memory issue that is beyond our control. How much memory does your machine have? Or, if you are OK with SuPy, please try out your case with SuPy directly – the actual simulation engine behind the UMEP SUEWS utility: https://supy.readthedocs.io/en/latest/ |
Thank you for your feedback, I actually tried the same input data with Supy. It gave the same error, even though I changed the computer I am working with. There shouldnt be a problem with memory ?!(total RAM is 32 GB). Do you think it is because of the dataset? I havent found any guide or recommendation of the study area size, like how many grids should we work with? I have 121 Grids (500x500m) Is that a lot? The Error looks like: |
Sorry to learn the issue persists. Can you please try the following - as the array numpy tried to allocate is not large at all (i.e. 460 MB) for a machine with 32GB RAM, I'm wondering if you are using a 32 bit system:
and paste the whole output here. Thanks. |
it doesnt seems like that's the problem ->
|
So it seems the numpy in your env failed to request enough memory.
If this code fails, then you need to find out why your numpy/python behaves so. However, as a workaround, you can split the case into smaller chunks - either shortening the simulation period or reducing number of grids - and save the respective output pieces as external files (e.g. pickle files); later when you enter the analysis stage, load them back selectively to reduce the memory load. |
Thank you, I did change my meteo data to one month instead of a year and it worked. |
Describe the bug
Dear SUEWS Community,
I want to use the SUEWS for my study area in Berlin. Before that I am trying to run a test version so I know that my data is accurate. So it is only 500mx500m area with 121 Grids. SUEWS prepared worked, but for SUEWS advanced either my QGIS crashed or it gave an
Error:
Unable to allocate 460. MiB for an array with shape (105120,573) and data type float64
To Reproduce
the following output files are from SUEWS Prepare. So in the Advance window, as an input, the folder containing these files should be given and run.
SUEWS-Advance settings are as recommended:
SUEWS Prepare Output files:
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
SUEWS_WithinGridWaterDist.txt
ber_2019_data_60.txt
Screenshots
ERROR screen
Additional context
I did create my own land cover according to the SUEWS fractions, all rasters I had are with 1m resolution.
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.22000
Version and platform (please complete the following information):
The text was updated successfully, but these errors were encountered: