-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when using EnMAP box in graphical modeller #970
Comments
Sure, that would help. |
OK see attached.
Essentially, I import the ENMap data and select various bands for calculation of band ratios. This part works.
I then save each virtual image using the EnMAP save raster and then load the saved raster into the project. This seems to be the problem part. It may be that I have some of the settings not correctly set,
Cheers Grant
Grant Boxer
Consultant Geologist (FAIG R.P. Geo)
Perth, Western Australia
Email: ***@***.*** ***@***.***>
Mobile: 0418 954 059
Skype: grantboxer
Website: https://grantboxer.github.io
From: Andreas Janz ***@***.***>
Sent: Tuesday, 10 September 2024 7:24 PM
To: EnMAP-Box/enmap-box ***@***.***>
Cc: grantboxer ***@***.***>; Author ***@***.***>
Subject: Re: [EnMAP-Box/enmap-box] Crash when using EnMAP box in graphical modeller (Issue #970)
Happy to supply the model if that would help find the issue.
Sure, that would help.
—
Reply to this email directly, view it on GitHub <#970 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AFBO2QLYC2ZRSUDVGUTZ6I3ZV3JEJAVCNFSM6AAAAABN6MI3TGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBQGM4TGMRXHA> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AFBO2QKX3AFTLICKTEPPFZTZV3JEJA5CNFSM6AAAAABN6MI3TGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTULP6IT4.gif> Message ID: ***@***.*** ***@***.***> >
|
Can't see the model file. I guess GitHub removes email attachements. |
OK see attached - I hope! Change the txt to model3 to run in QGIS. |
Unfortunately, QGIS is crashing, when opening the .model3 file. |
I have a feeling it might have something to do with memory allocation in Windows. Most of the time it runs OK, but other times I need to re-boot QGIS to ?clear its memory, and then it runs. There is a lot of memory required with all the temporary files created. Would it be useful if I exported the python script? |
Yes, let's try this, maybe the script works. |
The script is slightly updated from version 5. Replace the txt with py. |
Hi Andreas, That sounds like a much better idea! I will have a look and see how I go, Many thanks Grant |
It's probably really a good idea, if you would compile a list of your indices in the format given by createspectralindicesalgorithm.other.json, so that we could make it part of the next EnMAP-Box release. |
Yes, good idea. I will test a few to make sure I can get it to work OK. |
Are able to call specific spectral indices files? I can't see an option to open/import. |
No, that is not possible, but I like the idea. |
Yes, I think that would be the way to go and allow for specific indices to be imported. How did you use "createspectralindicesalgorithm.other.json"? |
It's not optimal, but you could edit those files to include more indices, which you can then use in the Create spectral indices algo. But the requested feature #988 is a much better solution. |
How do I add an extra tab ("type") so I can see new indices on a new tab? |
I have been having QGIS crash on me recently when running a graphical model with EnMAP algorithms. I think it might have something to do with the "Save Raster As" algorithm. Any assistance appreciated. See crash dump below. Happy to supply the model if that would help find the issue.
Report Details
Python Stack Trace
Stack Trace
QGIS Info
QGIS Version: 3.38.2-Grenoble
QGIS code revision: 130c432394
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.9.2
Running against GDAL: 3.9.2
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045
The text was updated successfully, but these errors were encountered: