<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-04-25 16:03 GMT+02:00 Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Roberta,</blockquote><div> </div><div>Hi Moritz,</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On 24/04/18 13:55, Roberta Fagandini wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2018-04-24 13:15 GMT+02:00 Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a> <mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonl<wbr>ine.be</a>>>:<div><div class="h5"><br>
<br>
    Hi Roberta,<br>
<br>
<br>
Hi Moritz!<br>
<br>
<br>
    On 24/04/18 13:01, Roberta Fagandini wrote:<br>
<br>
        Hi all!<br>
        I'm Roberta Fagandini, Ph.D. student at Politecnico of Milano.<br>
        My proposal "GRASS GIS module for Sentinel-2 cloud and shadow<br>
        detection" has been accepted therefore I've been selected for<br>
        the GSoC 2018.<br>
        I'm glad to start contributing to OSGeo and especially to GRASS<br>
        GIS with the help of my mentors Roberto Marzocchi and Moritz<br>
        Lennert.<br>
<br>
        My project consists in the realization of a GRASS GIS module for<br>
        the detection of clouds and their shadows in Sentinel-2 images<br>
        without using time series.<br>
        Below you can find the link to my proposal:<br>
<br>
        <a href="https://docs.google.com/document/d/1mQyouqbHGHugn5DjEDZI3hc1eU_bT_b0qLJPPwkt_hk/edit?usp=sharing" rel="noreferrer" target="_blank">https://docs.google.com/docume<wbr>nt/d/1mQyouqbHGHugn5DjEDZI3hc1<wbr>eU_bT_b0qLJPPwkt_hk/edit?usp=s<wbr>haring</a><br>
        <<a href="https://docs.google.com/document/d/1mQyouqbHGHugn5DjEDZI3hc1eU_bT_b0qLJPPwkt_hk/edit?usp=sharing" rel="noreferrer" target="_blank">https://docs.google.com/docum<wbr>ent/d/1mQyouqbHGHugn5DjEDZI3hc<wbr>1eU_bT_b0qLJPPwkt_hk/edit?usp=<wbr>sharing</a>><br>
<br>
        I would be grateful if you could have a look at the proposal and<br>
        provide any suggestions.<br>
        Every feedback is welcome and it will be useful to improve my<br>
        project.<br>
<br>
        I'm waiting for the writing access to the OSGeo wiki, therefore,<br>
        I will share my wiky page as soon as possible.<br>
<br>
        Thanks for this great opportunity!<br>
<br>
<br>
    It is great to have you with us ! I'm looking forward to working<br>
    with you on this project.<br>
<br>
<br>
First of all I want to thank you for being my mentor!<br>
<br>
    The first thing I would love to see is your existing python script<br>
    to get a better understanding of the exact approach you are planning<br>
    on implementing.<br>
<br>
<br>
    Depending on what tool you prefer, you can either set up a github<br>
    repository for the project, or you could also use the sandbox in the<br>
    GRASS svn [1]. You could then share your code there.<br>
<br>
<br>
A the moment I have only some bash script. I'm testing different procedures for shadows detection, which is the task that is creating more troubles at the moment.  Anyway, I already had the intention of setting up a github repository for the project therefore, I hope to share it as soon as possible.<br>
<br>
</div></div></blockquote>
<br>
<br>
Please also set up a wiki page about your project. See [0] for examples from last year.<br></blockquote><div><br></div><div>Sure, tomorrow I'm going to set up the wiki page!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Looking at your bash scripts, I think the first thing to do during this bonding period is, as you planned yourself, to get familiar with the writing of GRASS modules in Python. You can have a look at existing scripts [1, 2] to get feeling for this works and how to structure addon code in order to make it directly installable with g.extension.<br>
<br>
You can find the actual function definitions and documentation of the GRASS Python scripting library at [3]. The functions in that library should be more than enough to translate your scripts into a (or several) modules.<br>
<br>
Be aware that GRASS modules create their own GUI. So, unless you need some interactive features in your modules, you will not have to program your own GUI.<br></blockquote><div><br></div><div>Thank you for your precious suggestions! I'll start studying how to write a GRASS module in Python in the next days and at the same time I will keep on testing the procedures so as to show you some results and fix some open points.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Something else you should probably do during this bonding time is to elaborate a schema of your algorithm, so that it is easier to understand what it does at each step.<br></blockquote><div><br></div><div>Yes, this could be very useful also for me in order to better organize and put in order everything!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best wishes,<br>
Moritz<br></blockquote><div><br></div><div>Thanks again!</div><div>Best regards,</div><div>Roberta</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
[0] <a href="https://trac.osgeo.org/grass/wiki/GSoC" rel="noreferrer" target="_blank">https://trac.osgeo.org/grass/w<wbr>iki/GSoC</a><br>
[1] <a href="https://trac.osgeo.org/grass/browser/grass/trunk/scripts" rel="noreferrer" 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" rel="noreferrer" target="_blank">https://trac.osgeo.org/grass/b<wbr>rowser/grass-addons/grass7</a><br>
[3] <a href="https://grass.osgeo.org/grass75/manuals/libpython/script_intro.html" rel="noreferrer" target="_blank">https://grass.osgeo.org/grass7<wbr>5/manuals/libpython/script_<wbr>intro.html</a><br>
</blockquote></div><br></div></div>