<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NO-BOK" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Roberta,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">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…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Looking forward to following your project from the side!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Stefan<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> grass-dev <grass-dev-bounces@lists.osgeo.org>
<b>On Behalf Of </b>Roberta Fagandini<br>
<b>Sent:</b> onsdag 16. mai 2018 16.01<br>
<b>To:</b> Pierre Roudier <pierre.roudier@gmail.com><br>
<b>Cc:</b> grass-dev <grass-dev@lists.osgeo.org><br>
<b>Subject:</b> Re: [GRASS-dev] GSoC introduction Roberta Fagandini<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you, Pierre!! I will keep the community constantly updated on the progress of the module. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Every feedback is welcome so please do not hesitate to send me yours! ;)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Roberta<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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>>:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;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<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
On 15 May 2018 at 22:03, Roberta Fagandini <<a href="mailto:robifagandini@gmail.com">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">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/ticket/3473</a><br>
>> <a href="https://trac.osgeo.org/grass/ticket/3283" target="_blank">https://trac.osgeo.org/grass/ticket/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/publication/270596187_Improvement_and_expansion_of_the_Fmask_algorithm_Cloud_cloud_shadow_and_snow_detection_for_Landsats_4-7_8_and_Sentinel_2_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/publication/324836341_Improvement_of_the_Fmask_algorithm_for_Sentinel-2_images_Separating_clouds_from_bright_surfaces_based_on_parallax_effects</a><br>
>><br>
>> *Software*:<br>
>><br>
>> <a href="http://pythonfmask.org/en/latest/" target="_blank">http://pythonfmask.org/en/latest/</a><br>
>> <a href="https://github.com/prs021/fmask" target="_blank">https://github.com/prs021/fmask</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">robifagandini@gmail.com</a>> wrote:<br>
>> ><br>
>> ><br>
>> > 2018-05-06 21:52 GMT+02:00 Veronica Andreo <<a href="mailto:veroandreo@gmail.com">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/publication/324975294_Cloud_and_Cloud_Shadow_Detection_for_Landsat_Images_The_Fundamental_Basis_for_Analyzing_Landsat_Time_Series</a><br>
>> >><br>
>> >> El jue., 3 may. 2018 a las 22:06, Roberto Marzocchi<br>
>> >> (<<a href="mailto:roberto.marzocchi@gmail.com">roberto.marzocchi@gmail.com</a>>) 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">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">mlennert@club.worldonline.be</a>>:<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">mlennert@club.worldonline.be</a><br>
>> >>>>>> <mailto:<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.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/grass75/manuals/libpython/script_intro.html</a><br>
>> >>>> [1] <a href="https://trac.osgeo.org/grass/browser/grass/trunk/scripts" target="_blank">
https://trac.osgeo.org/grass/browser/grass/trunk/scripts</a><br>
>> >>>> [2] <a href="https://trac.osgeo.org/grass/browser/grass-addons/grass7" target="_blank">
https://trac.osgeo.org/grass/browser/grass-addons/grass7</a><br>
>> >>><br>
>> >>><br>
>> >>> _______________________________________________<br>
>> >>> grass-dev mailing list<br>
>> >>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
>> >>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">
https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > grass-dev mailing list<br>
>> > <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
>> > <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">
https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
><br>
><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>