<div dir="ltr">Hi Stefan!!<br><div class="gmail_extra"><br><div class="gmail_quote">2018-05-16 16:22 GMT+02:00 Stefan Blumentrath <span dir="ltr"><<a href="mailto:Stefan.Blumentrath@nina.no" target="_blank">Stefan.Blumentrath@nina.no</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="NO-BOK">
<div class="gmail-m_6932671645453923195m_-8102189348916696616WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi Roberta,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Here in Norway we can do some “worst case” testing for your algorithm. Plenty of snow and clouds in the mountains, and
 heavily rugged terrain, that presumably has quite some effect on cloud shadows…</span></p></div></div></blockquote><div><br></div><div>Thank you so much!! </div><div>The cases you describe are "the best cases" for me, clouds and snow are hard to distinguish and shadows are strongly dependent on land use/cover.</div><div>Now I'm working on the python script, as soon as it is ready I will share it with the community and commit it to my GitHub repository [0]<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><div class="gmail_extra" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="NO-BOK"><div class="gmail-m_6932671645453923195m_-8102189348916696616WordSection1"><p class="MsoNormal" style="margin:0px"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p><p class="MsoNormal" style="margin:0px"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal" style="margin:0px"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Looking forward to following your project from the side!</span></p></div></div></blockquote><div><br></div><div>If you want you can follow the project progress on my wiki page [1]</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="NO-BOK"><div class="gmail-m_6932671645453923195m_-8102189348916696616WordSection1"><p class="MsoNormal" style="margin:0px"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p><p class="MsoNormal" style="margin:0px"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal" style="margin:0px"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Kind regards,<u></u><u></u></span></p><p class="MsoNormal" style="margin:0px"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Stefan</span></p></div></div></blockquote><div><br></div><div>Keep in touch!</div><div>best wishes</div><div><br></div><div>Roberta</div><div><br></div><div>[0] <a href="https://github.com/RobiFag/GRASS_clouds_and_shadows">https://github.com/RobiFag/GRASS_clouds_and_shadows</a></div><div>[1] <a href="https://trac.osgeo.org/grass/wiki/GSoC/2018/CloudsAndShadowsDetection">https://trac.osgeo.org/grass/wiki/GSoC/2018/CloudsAndShadowsDetection</a></div></div></div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="NO-BOK"><div class="gmail-m_6932671645453923195m_-8102189348916696616WordSection1"><p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"> grass-dev <<a href="mailto:grass-dev-bounces@lists.osgeo.org" target="_blank">grass-dev-bounces@lists.osgeo<wbr>.org</a>>
<b>On Behalf Of </b>Roberta Fagandini<br>
<b>Sent:</b> onsdag 16. mai 2018 16.01<br>
<b>To:</b> Pierre Roudier <<a href="mailto:pierre.roudier@gmail.com" target="_blank">pierre.roudier@gmail.com</a>><br>
<b>Cc:</b> grass-dev <<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a>><br>
<b>Subject:</b> Re: [GRASS-dev] GSoC introduction Roberta Fagandini<u></u><u></u></span></p><div><div class="gmail-m_6932671645453923195h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thank you, Pierre!! I will keep the community constantly updated on the progress of the module. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Every feedback is welcome so please do not hesitate to send me yours! ;)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Roberta<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2018-05-15 23:46 GMT+02:00 Pierre Roudier <<a href="mailto:pierre.roudier@gmail.com" target="_blank">pierre.roudier@gmail.com</a>>:<u></u><u></u></p>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Interesting to hear your results, Roberta -- the reason I brought this<br>
up is that some of my colleagues (non-GRASS users :( ) tried it very<br>
successfully.<br>
<br>
Happy to follow up with them if need be,<br>
<br>
P<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
On 15 May 2018 at 22:03, Roberta Fagandini <<a href="mailto:robifagandini@gmail.com" target="_blank">robifagandini@gmail.com</a>> wrote:<br>
> Hi Pierre!<br>
> Thank you so much for your hints!<br>
> I have already tested Fmask with Sentinel 2 images but I didn't have great<br>
> results. However, it is worth investigating better!<br>
> Thanks for all the references!<br>
><br>
> Roberta<br>
><br>
><br>
> 2018-05-15 0:51 GMT+02:00 Pierre Roudier <<a href="mailto:pierre.roudier@gmail.com" target="_blank">pierre.roudier@gmail.com</a>>:<br>
>><br>
>> Hi Roberta,<br>
>><br>
>> On top of the review linked by Vero, I thought I'd mention the Fmask<br>
>> procedure -- it seems to give great results and there is a python<br>
>> library on Github.<br>
>><br>
>> *Relevant GRASS GIS tickets*:<br>
>><br>
>> <a href="https://trac.osgeo.org/grass/ticket/3473" target="_blank">https://trac.osgeo.org/grass/t<wbr>icket/3473</a><br>
>> <a href="https://trac.osgeo.org/grass/ticket/3283" target="_blank">https://trac.osgeo.org/grass/t<wbr>icket/3283</a><br>
>><br>
>> *Papers*:<br>
>><br>
>><br>
>> <a href="https://www.researchgate.net/publication/270596187_Improvement_and_expansion_of_the_Fmask_algorithm_Cloud_cloud_shadow_and_snow_detection_for_Landsats_4-7_8_and_Sentinel_2_images" target="_blank">
https://www.researchgate.net/p<wbr>ublication/270596187_Improveme<wbr>nt_and_expansion_of_the_Fmask_<wbr>algorithm_Cloud_cloud_shadow_<wbr>and_snow_detection_for_<wbr>Landsats_4-7_8_and_Sentinel_2_<wbr>images</a><br>
>><br>
>> <a href="https://www.researchgate.net/publication/324836341_Improvement_of_the_Fmask_algorithm_for_Sentinel-2_images_Separating_clouds_from_bright_surfaces_based_on_parallax_effects" target="_blank">
https://www.researchgate.net/p<wbr>ublication/324836341_Improveme<wbr>nt_of_the_Fmask_algorithm_for_<wbr>Sentinel-2_images_Separating_<wbr>clouds_from_bright_surfaces_<wbr>based_on_parallax_effects</a><br>
>><br>
>> *Software*:<br>
>><br>
>> <a href="http://pythonfmask.org/en/latest/" target="_blank">http://pythonfmask.org/en/late<wbr>st/</a><br>
>> <a href="https://github.com/prs021/fmask" target="_blank">https://github.com/prs021/fmas<wbr>k</a><br>
>><br>
>> Hopefully this is helpful,<br>
>><br>
>> Pierre<br>
>><br>
>> On 7 May 2018 at 19:49, Roberta Fagandini <<a href="mailto:robifagandini@gmail.com" target="_blank">robifagandini@gmail.com</a>> wrote:<br>
>> ><br>
>> ><br>
>> > 2018-05-06 21:52 GMT+02:00 Veronica Andreo <<a href="mailto:veroandreo@gmail.com" target="_blank">veroandreo@gmail.com</a>>:<br>
>> >><br>
>> >> Hey Robi,<br>
>> ><br>
>> ><br>
>> > Hi Vero!!<br>
>> ><br>
>> >><br>
>> >><br>
>> >> I just found this review [0]. It is for Landsat, but maybe some<br>
>> >> insights<br>
>> >> could be also useful for you (?)<br>
>> ><br>
>> ><br>
>> > Thank you so much! I know this paper and it could be very useful<br>
>> > especially<br>
>> > for the second part of the procedure.<br>
>> > I'll read it carefully!<br>
>> ><br>
>> >><br>
>> >><br>
>> >> Cheers :),<br>
>> >> Vero<br>
>> ><br>
>> ><br>
>> > Thanks!<br>
>> > Robi<br>
>> ><br>
>> >><br>
>> >><br>
>> >> [0]<br>
>> >><br>
>> >> <a href="https://www.researchgate.net/publication/324975294_Cloud_and_Cloud_Shadow_Detection_for_Landsat_Images_The_Fundamental_Basis_for_Analyzing_Landsat_Time_Series" target="_blank">
https://www.researchgate.net/p<wbr>ublication/324975294_Cloud_and<wbr>_Cloud_Shadow_Detection_for_<wbr>Landsat_Images_The_Fundamental<wbr>_Basis_for_Analyzing_Landsat_<wbr>Time_Series</a><br>
>> >><br>
>> >> El jue., 3 may. 2018 a las 22:06, Roberto Marzocchi<br>
>> >> (<<a href="mailto:roberto.marzocchi@gmail.com" target="_blank">roberto.marzocchi@gmail.com</a>><wbr>) escribió:<br>
>> >>><br>
>> >>> Nice! The last step of the script you have written in python works as<br>
>> >>> you<br>
>> >>> expected.<br>
>> >>><br>
>> >>> Now it is important to draw a diagram (or schema ) as a summary for<br>
>> >>> you<br>
>> >>> (you have worked a lot in the last few months) and to share it with<br>
>> >>> Moritz<br>
>> >>> and Markus.<br>
>> >>><br>
>> >>> After that, test, test and test ;-) for validation/calibration of the<br>
>> >>> automatic procedure.<br>
>> >>><br>
>> >>> R<br>
>> >>><br>
>> >>> 2018-05-03 18:48 GMT+02:00 Roberta Fagandini<br>
>> >>> <<a href="mailto:robifagandini@gmail.com" target="_blank">robifagandini@gmail.com</a>>:<br>
>> >>>><br>
>> >>>><br>
>> >>>> 2018-05-03 14:03 GMT+02:00 Moritz Lennert<br>
>> >>>> <<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>><wbr>:<br>
>> >>>>><br>
>> >>>>> Hi Roberta,<br>
>> >>>><br>
>> >>>><br>
>> >>>> Hi Moritz and Roberto!<br>
>> >>>><br>
>> >>>>><br>
>> >>>>><br>
>> >>>>> On 25/04/18 18:03, Roberta Fagandini wrote:<br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>> 2018-04-25 16:03 GMT+02:00 Moritz Lennert<br>
>> >>>>>> <<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a><br>
>> >>>>>> <mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonl<wbr>ine.be</a>>>:<br>
>> >>>>>>     Looking at your bash scripts, I think the first thing to do<br>
>> >>>>>> during<br>
>> >>>>>>     this bonding period is, as you planned yourself, to get<br>
>> >>>>>> familiar<br>
>> >>>>>>     with the writing of GRASS modules in Python. You can have a<br>
>> >>>>>> look<br>
>> >>>>>> at<br>
>> >>>>>>     existing scripts [1, 2] to get feeling for this works and how<br>
>> >>>>>> to<br>
>> >>>>>>     structure addon code in order to make it directly installable<br>
>> >>>>>> with<br>
>> >>>>>>     g.extension.<br>
>> >>>>>><br>
>> >>>>>>     You can find the actual function definitions and documentation<br>
>> >>>>>> of<br>
>> >>>>>>     the GRASS Python scripting library at [3]. The functions in<br>
>> >>>>>> that<br>
>> >>>>>>     library should be more than enough to translate your scripts<br>
>> >>>>>> into<br>
>> >>>>>> a<br>
>> >>>>>>     (or several) modules.<br>
>> >>>>>><br>
>> >>>>>>     Be aware that GRASS modules create their own GUI. So, unless<br>
>> >>>>>> you<br>
>> >>>>>>     need some interactive features in your modules, you will not<br>
>> >>>>>> have<br>
>> >>>>>> to<br>
>> >>>>>>     program your own GUI.<br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>> Thank you for your precious suggestions! I'll start studying how to<br>
>> >>>>>> write a GRASS module in Python in the next days and at the same<br>
>> >>>>>> time I will<br>
>> >>>>>> keep on testing the procedures so as to show you some results and<br>
>> >>>>>> fix some<br>
>> >>>>>> open points.<br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>>     Something else you should probably do during this bonding time<br>
>> >>>>>> is<br>
>> >>>>>> to<br>
>> >>>>>>     elaborate a schema of your algorithm, so that it is easier to<br>
>> >>>>>>     understand what it does at each step.<br>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>> Yes, this could be very useful also for me in order to better<br>
>> >>>>>> organize<br>
>> >>>>>> and put in order everything!<br>
>> >>>>>><br>
>> >>>>><br>
>> >>>>> Have you advanced on any of this ? Do you have any questions ?<br>
>> >>>>> Please<br>
>> >>>>> don't hesitate to ask on the mailing list.<br>
>> >>>><br>
>> >>>><br>
>> >>>> Yes, I started working with GRASS Python scripting library. I'm<br>
>> >>>> following the link [0] you suggested, I'm also looking at other<br>
>> >>>> existing<br>
>> >>>> GRASS scripts [1,2] and moreover, Roberto gave me one of his scripts<br>
>> >>>> as an<br>
>> >>>> example. I have just committed the first version of the python script<br>
>> >>>> I'm<br>
>> >>>> working on, it works and I'm quite satisfied ;-)<br>
>> >>>> Tomorrow I want to elaborate the schema of the algorithm and at the<br>
>> >>>> same<br>
>> >>>> time, I have to keep testing the procedure. As I wrote in the bash<br>
>> >>>> file,<br>
>> >>>> shadows detection seems to be strongly land cover dependent therefore<br>
>> >>>> I<br>
>> >>>> think it is necessary to test the procedure using several images<br>
>> >>>> sensed in<br>
>> >>>> different seasons, latitude, etc.<br>
>> >>>><br>
>> >>>> Anyway, I'll commit some results tomorrow so as to show you something<br>
>> >>>> more concrete!<br>
>> >>>>><br>
>> >>>>><br>
>> >>>>> Best wishes,<br>
>> >>>>> Moritz<br>
>> >>>><br>
>> >>>><br>
>> >>>> Best regards,<br>
>> >>>> Roberta<br>
>> >>>><br>
>> >>>> [0]<br>
>> >>>> <a href="https://grass.osgeo.org/grass75/manuals/libpython/script_intro.html" target="_blank">
https://grass.osgeo.org/grass7<wbr>5/manuals/libpython/script_<wbr>intro.html</a><br>
>> >>>> [1] <a href="https://trac.osgeo.org/grass/browser/grass/trunk/scripts" target="_blank">
https://trac.osgeo.org/grass/b<wbr>rowser/grass/trunk/scripts</a><br>
>> >>>> [2] <a href="https://trac.osgeo.org/grass/browser/grass-addons/grass7" target="_blank">
https://trac.osgeo.org/grass/b<wbr>rowser/grass-addons/grass7</a><br>
>> >>><br>
>> >>><br>
>> >>> ______________________________<wbr>_________________<br>
>> >>> grass-dev mailing list<br>
>> >>> <a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
>> >>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">
https://lists.osgeo.org/mailma<wbr>n/listinfo/grass-dev</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > ______________________________<wbr>_________________<br>
>> > grass-dev mailing list<br>
>> > <a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
>> > <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">
https://lists.osgeo.org/mailma<wbr>n/listinfo/grass-dev</a><br>
><br>
><u></u><u></u></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br></div></div>