Closed Ahmed-Elghandour closed 1 year ago
hi @Ahmed-Elghandour , could you please illustrate the issue? I'm not sure I understand
Hi @kvos thanks for replying,
for example when I use the previous input and click points like here:
or
it gives me that error
however, it works fine if I click like this:
hi @Ahmed-Elghandour , ok I understand now, must be something going wrong with the drawing function. I don't know how wide is the inland, but what you could do is to create a simpler shape and then increase the settings['max_dist_ref']
parameter which defines the buffer around the reference shoreline that is considered for shoreline contouring, then you could have the ref shoreline in the middle and the buffer spanning both sides of the island.
I'm about to submit my thesis at the end of the month so won't have time to troubleshoot at what is causing the error now.
Btw, are you working on shoreline modelling on barrier islands in Alaska? I think I read your thesis, really cool stuff!
Another thing you could explore is the CoastSat.islands toolbox, https://github.com/mcuttler/CoastSat.islands, where Mike Cuttler adapted it to extract island area and orientation from the sand pixels directly.
Cheers,
Kilian
Hi @kvos, first of all, congratulations for submitting your thesis, looking forward to read it. thanks for your suggestions!, I will give them a try, also the coastsat.islands thanks for your words, probably you meant the report with USGS, anyway, your tool helped me to get several shorelines for different cases, thanks so much, and good luck with the remaining processes to get your PhD (well deserved)
any update on this bug @Ahmed-Elghandour ?
no, the bug is still there with the version I have
ok I can try to reproduce it and see what was going on, which reference shoreline did you draw when it produced the error? can you pls post a screenshot? otherwise did you find a work around? Like creating it in QGIS and loading it
the error happens at the stage of " [OPTIONAL] Digitize a reference shoreline" the reference that produced the error is the one in the first image above
I did not use QGIS, originally it was working for me so I had shorelines that I extracted earlier I used them
Hi Kilian,
I am getting the following error while trying to detect the whole island. it works only if I detect the eastern part with long intervals. I have tried to change some parameters, but it did not help. do you have any suggestions?. I applied your tool to the same area before and I managed to get few coastlines.
IndexError Traceback (most recent call last)