[GRASS-dev] GSoC introduction Roberta Fagandini

Roberta Fagandini robifagandini at gmail.com
Tue May 8 04:38:52 PDT 2018


2018-05-08 9:59 GMT+02:00 Moritz Lennert <mlennert at club.worldonline.be>:

> Hi Roberta,


Hi Moritz!

>
>
> On 07/05/18 18:00, Roberta Fagandini wrote:
>
>> Hi Moritz and Roberto!
>> Here [0] you can find the schema of the algorithm!
>>
>
> 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 :-).
>

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?


>
> And I see that you have committed a first python script as well. Great !


Yes, but it's only a test ;-) since I have to get familiar with the GRASS
Python scripting library, I tried to do something that could be useful
during the coding period.


>
>> I committed [1] the first results of the procedure. In this case, I used
>> the image S2A_MSIL1C_20171025T095101_N0206_R079_T33SVB_20171025T134153
>> (Sicily). I have already tested the procedure using other two or three
>> images but I want to keep on testing!
>> 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.
>>
>
> 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.


> The actual coding and testing of results can come during coding period
> starting next week.
>

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).


> Best wishes,
> Moritz
>

Best wishes,
Roberta


>
>
>
>> Best wishes
>> Roberta
>>
>> [0] https://drive.google.com/file/d/1KYEKvNBurBFHw1xUTLjM0PW80Z-
>> 7br81/view?usp=sharing
>> [1] https://github.com/RobiFag/GRASS_clouds_and_shadows
>>
>>
>> 2018-05-03 22:06 GMT+02:00 Roberto Marzocchi <roberto.marzocchi at gmail.com
>> <mailto:roberto.marzocchi at gmail.com>>:
>>
>>     Nice! The last step of the script you have written in python works
>>     as you expected.
>>
>>     Now it is important to draw a diagram (or schema ) as a summary for
>>     you (you have worked a lot in the last few months) and to share it
>>     with Moritz and Markus.
>>
>>     After that, test, test and test ;-) for validation/calibration of
>>     the automatic procedure.
>>
>>     R
>>
>>     2018-05-03 18:48 GMT+02:00 Roberta Fagandini
>>     <robifagandini at gmail.com <mailto:robifagandini at gmail.com>>:
>>
>>
>>         2018-05-03 14:03 GMT+02:00 Moritz Lennert
>>         <mlennert at club.worldonline.be
>>         <mailto:mlennert at club.worldonline.be>>:
>>
>>             Hi Roberta,
>>
>>
>>         Hi Moritz and Roberto!
>>
>>
>>             On 25/04/18 18:03, Roberta Fagandini wrote:
>>
>>
>>
>>                 2018-04-25 16:03 GMT+02:00 Moritz Lennert
>>                 <mlennert at club.worldonline.be
>>                 <mailto:mlennert at club.worldonline.be>
>>                 <mailto:mlennert at club.worldonline.be
>>
>>                 <mailto:mlennert at club.worldonline.be>>>:
>>                      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.
>>
>>                      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.
>>
>>                      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.
>>
>>
>>                 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.
>>
>>
>>                      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.
>>
>>
>>                 Yes, this could be very useful also for me in order to
>>                 better organize and put in order everything!
>>
>>
>>             Have you advanced on any of this ? Do you have any questions
>>             ? Please don't hesitate to ask on the mailing list.
>>
>>
>>         Yes, I started working with GRASS Python scripting library. I'm
>>         following the link [0] you suggested, I'm also looking at other
>>         existing GRASS scripts [1,2] and moreover, Roberto gave me one
>>         of his scripts as an example. I have just committed the first
>>         version of the python script I'm working on, it works and I'm
>>         quite satisfied ;-)
>>         Tomorrow I want to elaborate the schema of the algorithm and at
>>         the same time, I have to keep testing the procedure. As I wrote
>>         in the bash file, shadows detection seems to be strongly land
>>         cover dependent therefore I think it is necessary to test the
>>         procedure using several images sensed in different seasons,
>>         latitude, etc.
>>
>>         Anyway, I'll commit some results tomorrow so as to show you
>>         something more concrete!
>>
>>
>>             Best wishes,
>>             Moritz
>>
>>
>>         Best regards,
>>         Roberta
>>         [0]
>>         https://grass.osgeo.org/grass75/manuals/libpython/script_int
>> ro.html
>>         <https://grass.osgeo.org/grass75/manuals/libpython/script_in
>> tro.html>
>>         [1]https://trac.osgeo.org/grass/browser/grass/trunk/scripts
>>         <https://trac.osgeo.org/grass/browser/grass/trunk/scripts>
>>         [2]https://trac.osgeo.org/grass/browser/grass-addons/grass7
>>         <https://trac.osgeo.org/grass/browser/grass-addons/grass7>
>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180508/a43aa238/attachment.html>


More information about the grass-dev mailing list