<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-05-08 9:59 GMT+02:00 Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span><wbr>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Roberta,</blockquote><div><br></div><div>Hi Moritz!</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_-3275651557418222680m_-8234669776316301417m_-390425153264044022gmail-"><br>
<br>
On 07/05/18 18:00, Roberta Fagandini wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Moritz and Roberto!<br>
Here [0] you can find the schema of the algorithm!<br>
</blockquote>
<br></span>
Thanks ! I think the most interesting part would actually be the details of the two detection procedures, so it would be good to detail them :-).<br></blockquote><div><br></div><div>Yes, I will add all the rules from the procedure file. Then I'd like to send a new mail with all the links related to the project (wiki, github and schema) to the grass dev list asking for feedback, hints, etc. What do you think?</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">
<br>
And I see that you have committed a first python script as well. Great !</blockquote><div><br></div><div>Yes, but it's only a test ;-) since I have to get familiar with the <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">GRASS Python scripting library</span>, I tried to do something that could be useful during the coding period.</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"><span class="m_-3275651557418222680m_-8234669776316301417m_-390425153264044022gmail-">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I committed [1] the first results of the procedure. In this case, I used the image S2A_MSIL1C_20171025T0951<wbr>01_N0206_R079_T33SVB_20171025T<wbr>134153 (Sicily). I have already tested the procedure using other two or three images but I want to keep on testing!<br>
If you have any suggestions about the testing phase please let me know! As I wrote in another mail, I have the intention of trying out the procedure using several images sensed in different seasons, latitude, etc.<br>
</blockquote>
<br></span>
For GSoC, don't forget that you are in bonding period right now, so IMHO the most important is to get the schema out and discuss it with the community and to familiarize yourself with GRASS programming. Now that you have managed to program a Python script, you should look into how to make this into a module, i.e. how to use the parser instructions, how to create a Makefile and things like that.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The actual coding and testing of results can come during coding period starting next week.<br></blockquote><div><br></div><div><span 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;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">You are right and I will investigate all these issues in the next days! Today I want to update my wiki page with more details especially about the timeline (as requested in the soc-list).</span> </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Best wishes,<br>
Moritz<br></blockquote><div><br></div><div>Best wishes,</div><div>Roberta</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">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_-3275651557418222680m_-8234669776316301417m_-390425153264044022gmail-">
<br>
Best wishes<br>
Roberta<br>
<br>
[0] <a href="https://drive.google.com/file/d/1KYEKvNBurBFHw1xUTLjM0PW80Z-7br81/view?usp=sharing" rel="noreferrer" target="_blank">https://drive.google.com/file/<wbr>d/1KYEKvNBurBFHw1xUTLjM0PW80Z-<wbr>7br81/view?usp=sharing</a><br>
[1] <a href="https://github.com/RobiFag/GRASS_clouds_and_shadows" rel="noreferrer" target="_blank">https://github.com/RobiFag/GRA<wbr>SS_clouds_and_shadows</a><br>
<br>
<br></span>
2018-05-03 22:06 GMT+02:00 Roberto Marzocchi <<a href="mailto:roberto.marzocchi@gmail.com" target="_blank">roberto.marzocchi@gmail.com</a> <mailto:<a href="mailto:roberto.marzocchi@gmail.com" target="_blank">roberto.marzocchi@gmai<wbr>l.com</a>>>:<span class="m_-3275651557418222680m_-8234669776316301417m_-390425153264044022gmail-"><br>
<br>
    Nice! The last step of the script you have written in python works<br>
    as you expected.<br>
<br>
    Now it is important to draw a diagram (or schema ) as a summary for<br>
    you (you have worked a lot in the last few months) and to share it<br>
    with Moritz and Markus.<br>
<br>
    After that, test, test and test ;-) for validation/calibration of<br>
    the automatic procedure.<br>
<br>
    R<br>
<br>
    2018-05-03 18:48 GMT+02:00 Roberta Fagandini<br></span>
    <<a href="mailto:robifagandini@gmail.com" target="_blank">robifagandini@gmail.com</a> <mailto:<a href="mailto:robifagandini@gmail.com" target="_blank">robifagandini@gmail.co<wbr>m</a>>>:<span class="m_-3275651557418222680m_-8234669776316301417m_-390425153264044022gmail-"><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><br></span>
        <mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonl<wbr>ine.be</a>>>:<span class="m_-3275651557418222680m_-8234669776316301417m_-390425153264044022gmail-"><br>
<br>
            Hi Roberta,<br>
<br>
<br>
        Hi Moritz and Roberto!<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></span>
                <mailto:<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonl<wbr>ine.be</a><div><div class="m_-3275651557418222680m_-8234669776316301417m_-390425153264044022gmail-h5"><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<br>
                thing to do during<br>
                     this bonding period is, as you planned yourself, to<br>
                get familiar<br>
                     with the writing of GRASS modules in Python. You<br>
                can have a look at<br>
                     existing scripts [1, 2] to get feeling for this<br>
                works and how to<br>
                     structure addon code in order to make it directly<br>
                installable with<br>
                     g.extension.<br>
<br>
                     You can find the actual function definitions and<br>
                documentation of<br>
                     the GRASS Python scripting library at [3]. The<br>
                functions in that<br>
                     library should be more than enough to translate<br>
                your scripts into a<br>
                     (or several) modules.<br>
<br>
                     Be aware that GRASS modules create their own GUI.<br>
                So, unless you<br>
                     need some interactive features in your modules, you<br>
                will not have to<br>
                     program your own GUI.<br>
<br>
<br>
                Thank you for your precious suggestions! I'll start<br>
                studying how to write a GRASS module in Python in the<br>
                next days and at the same time I will keep on testing<br>
                the procedures so as to show you some results and fix<br>
                some open points.<br>
<br>
<br>
                     Something else you should probably do during this<br>
                bonding time is to<br>
                     elaborate a schema of your algorithm, so that it is<br>
                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<br>
                better organize and put in order everything!<br>
<br>
<br>
            Have you advanced on any of this ? Do you have any questions<br>
            ? Please 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 GRASS scripts [1,2] and moreover, Roberto gave me one<br>
        of his scripts as an example. I have just committed the first<br>
        version of the python script I'm working on, it works and I'm<br>
        quite satisfied ;-)<br>
        Tomorrow I want to elaborate the schema of the algorithm and at<br>
        the same time, I have to keep testing the procedure. As I wrote<br>
        in the bash file, shadows detection seems to be strongly land<br>
        cover dependent therefore I think it is necessary to test the<br>
        procedure using several images sensed in different seasons,<br>
        latitude, etc.<br>
<br>
        Anyway, I'll commit some results tomorrow so as to show you<br>
        something more concrete!<br>
<br>
<br>
            Best wishes,<br>
            Moritz<br>
<br>
<br>
        Best regards,<br>
        Roberta<br>
        [0]<br>
        <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_int<wbr>ro.html</a><br>
        <<a href="https://grass.osgeo.org/grass75/manuals/libpython/script_intro.html" rel="noreferrer" target="_blank">https://grass.osgeo.org/grass<wbr>75/manuals/libpython/script_in<wbr>tro.html</a>><br>
        [1]<a href="https://trac.osgeo.org/grass/browser/grass/trunk/scripts" rel="noreferrer" target="_blank">https://trac.osgeo.org/gras<wbr>s/browser/grass/trunk/scripts</a><br>
        <<a href="https://trac.osgeo.org/grass/browser/grass/trunk/scripts" rel="noreferrer" target="_blank">https://trac.osgeo.org/grass/<wbr>browser/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/gras<wbr>s/browser/grass-addons/grass7</a><br></div></div>
        <<a href="https://trac.osgeo.org/grass/browser/grass-addons/grass7" rel="noreferrer" target="_blank">https://trac.osgeo.org/grass/<wbr>browser/grass-addons/grass7</a>><br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote></div><br></div></div>