<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Ciao Roberta, <br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Thanks for the comprehensive report! <br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
One general hint: Even if the drawback is complex expression(s) I would suggest merging r.mapcalc calls. That can improve performance quite a bit (less data read and written) and reduces the need to manage temporary data.
<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
See also: <a href="https://grass.osgeo.org/grass74/manuals/r.mapcalc.html#multiple-computations">
https://grass.osgeo.org/</a><a href="https://grass.osgeo.org/grass74/manuals/r.mapcalc.html#multiple-computations">grass74</a><a href="https://grass.osgeo.org/grass74/manuals/r.mapcalc.html#multiple-computations">/manuals/r.mapcalc.html#multiple-computations</a>
<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
If you don't need the first_... To fifth_... files later, I would even say everything in 3rd_procedure.py until r.to.vect could be solved in a single mapcalc operation...<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Kind regards and again thank for your GSoC work, <br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Stefan
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<br>
</div>
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> grass-dev <grass-dev-bounces@lists.osgeo.org> on behalf of Roberta Fagandini <robifagandini@gmail.com><br>
<b>Sent:</b> Sunday, May 20, 2018 4:33:57 PM<br>
<b>To:</b> soc@lists.osgeo.org; GRASS developers list<br>
<b>Subject:</b> [GRASS-dev] â€‹GSoC 2018 report week 01 - GRASS GIS module for Sentinel-2 cloud and shadow detection</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div><span style="color:rgb(34,34,34); font-size:12.8px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); float:none; display:inline"><font face="arial, helvetica, sans-serif">Hi
 all!</font></span></div>
<div><span style="color:rgb(34,34,34); font-size:12.8px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); float:none; display:inline"><font face="arial, helvetica, sans-serif">I'm
 Roberta Fagandini and I'm working on my GSoC project, a </font></span><font face="arial, helvetica, sans-serif"><span style="font-size:12.8px">GRASS GIS module for Sentinel-2 cloud and shadow detection.</span></font></div>
<span style="color:rgb(34,34,34); font-size:12.8px; font-style:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); float:none; display:inline"><font face="arial, helvetica, sans-serif">
<div style="font-weight:400"><span style="color:rgb(34,34,34); font-size:12.8px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); float:none; display:inline">This
 is my report for the first week of coding.</span></div>
<div style="font-weight:400"><span style="color:rgb(34,34,34); font-size:12.8px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); float:none; display:inline"><span style="color:rgb(0,0,0); font-size:small; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); float:none; display:inline">Since
 my progress has been a bit faster than expected I have already discussed with my mentors about further additions to the project. Therefore I have already updated my wiki page [0] changing the timeline. In this way, I will be able to release a more complete
 module.</span><br>
</span></div>
<div style="font-weight:400"><span style="color:rgb(34,34,34); font-size:12.8px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); float:none; display:inline"><br>
</span></div>
<b>1) What did I complete this week?</b></font></span>
<div>
<ul>
<li>Checked the prototype version of the algorithm for cloud and shadow detection<br>
</li><li>Tested it </li><li><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:small; font-style:normal; font-weight:400; letter-spacing:normal; text-align:left; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); float:none; display:inline">I
 better studied the documentation of the GRASS Python Scripting Library and s</span>tarted coding the GRASS python script following the workflow schema prepared during the bonding period [1]</li><li>Coded the 'data preparation' phase</li><li>Coded the clouds detection procedure</li><li>Added this first part of python script to my GitHub repository [2]</li><li>Discussed with my mentors about further additions</li><li>Discussed with the community about testing phase. I received some feedback and some developers stepped forward to help me in testing the algorithm <br>
</li><li>Shared progress with the community<br>
</li></ul>
<div>Unfortunately, I wasn't able to code on Thursday because of a PhD meeting with my supervisor.</div>
</div>
<div><font face="arial, helvetica, sans-serif"><br style="color:rgb(34,34,34); font-size:12.8px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34); font-size:12.8px; font-style:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); float:none; display:inline"><b>2)
 What am I going to achieve for next week?</b></span></font></div>
<div>
<ul>
<li>Finish the translation of the algorithm in a basic python script adding the shadows detection procedure and the steps for checking and cleaning the final outputs (see [1] for details)<br>
</li><li>Improve the python script so as to have a "light" working python script (manage temporary file, clean up the code, etc.)<br>
</li><li>Test it and fix bugs<br>
</li><li>Start implementing the GUI</li></ul>
</div>
<div><font face="arial, helvetica, sans-serif"><b><span style="color:rgb(34,34,34); font-size:12.8px; font-style:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; background-color:rgb(255,255,255); float:none; display:inline">3)
 Is there any blocking issue?</span></b></font>
<div><span style="text-align:start; text-indent:0px; background-color:rgb(255,255,255); float:none; display:inline"><font face="arial, helvetica, sans-serif" color="#000000">
<div>No at the moment. </div>
<div><br>
</div>
<div>Best wishes,</div>
<div>Roberta</div>
<div><br>
</div>
<div>
<div>[0] <a href="https://trac.osgeo.org/grass/wiki/GSoC/2018/CloudsAndShadowsDetection" target="_blank">
https://trac.osgeo.org/grass/w<wbr>iki/GSoC/2018/CloudsAndShadows<wbr>Detection</a></div>
<div>[1] <a href="https://drive.google.com/file/d/1KYEKvNBurBFHw1xUTLjM0PW80Z-7br81/view?usp=sharing" target="_blank">https://drive.google.com/f<wbr>ile/d/1KYEKvNBurBFHw1xUTLjM0PW<wbr>80Z-7br81/view?usp=sharing</a></div>
<div>[2] <a href="https://github.com/RobiFag/GRASS_clouds_and_shadows" target="_blank">
https://github.com/RobiFag/GRA<wbr>SS_clouds_and_shadows</a></div>
</div>
</font></span></div>
</div>
</div>
</div>
</body>
</html>