Re: [GRASS-dev] GSoC Project

2018-03-10 Thread sharry gill
Hello,

Thanks for suggestions!
Here is the draft proposal with improvements: Link  to proposal
<https://docs.google.com/document/d/1G3cAkTXh_DAGyG26Mi1Sw3Ot2IL1msReG-_KFTSp2Nc/edit?usp=sharing>

Thank You
Supreet Singh
https://singhsupreet.github.io/

On Sat, Mar 10, 2018 at 2:09 PM, Margherita Di Leo <direg...@gmail.com>
wrote:

> After designing the tool, you should spend some time and reconsider what
> you have written in the timeline, which currently says absolutely nothing
> about the actual implementation, as you use generic sentences about writing
> "the code" and compiling "the code".
> Please, take a look at former years student proposals to get a hint of how
> to structure a meaningful proposal, how to design your project and how to
> split up the project in milestones for your timeline.
>
> Thanks and regards,
>
> On Sat, 10 Mar 2018 at 09:21, Margherita Di Leo <direg...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I see that you have indicated in the first week: to design the tool,
>> actually you should be doing this now, as well as compiling the source
>> code, which you put in the bonding period. Rationale: how do you/we know
>> that you will be able to develop such tool if you haven't neither designed
>> it, nor compiled the source code and studied basic documentation.
>>
>> Thanks
>>
>> On Sat, 10 Mar 2018 at 07:10, sharry gill <sharrygill5...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Here is the draft proposal, I fixed it: Link To Proposal
>>> <https://docs.google.com/document/d/1G3cAkTXh_DAGyG26Mi1Sw3Ot2IL1msReG-_KFTSp2Nc/edit?usp=sharing>
>>>
>>> If any improvements are required, please let me know.
>>>
>>> Thank You
>>> Supreet Singh
>>> https://singhsupreet.github.io/
>>>
>>> On Wed, Mar 7, 2018 at 9:49 PM, Luca Delucchi <lucadel...@gmail.com>
>>> wrote:
>>>
>>>> On 7 March 2018 at 09:08, sharry gill <sharrygill5...@gmail.com> wrote:
>>>> >
>>>> > Hello,
>>>>
>>>> hi,
>>>>
>>>> >
>>>> > May be this is poasible that, if we allow user only to select
>>>> modules, and
>>>> > flags will be automatic.
>>>>
>>>> yes, so please improve your proposal..
>>>>
>>>> --
>>>> ciao
>>>> Luca
>>>>
>>>> www.lucadelu.org
>>>>
>>>
>>> ___
>>> grass-dev mailing list
>>> grass-dev@lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/grass-dev
>>
>>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GSoC Project

2018-03-09 Thread sharry gill
Hi,

Here is the draft proposal, I fixed it: Link To Proposal
<https://docs.google.com/document/d/1G3cAkTXh_DAGyG26Mi1Sw3Ot2IL1msReG-_KFTSp2Nc/edit?usp=sharing>

If any improvements are required, please let me know.

Thank You
Supreet Singh
https://singhsupreet.github.io/

On Wed, Mar 7, 2018 at 9:49 PM, Luca Delucchi <lucadel...@gmail.com> wrote:

> On 7 March 2018 at 09:08, sharry gill <sharrygill5...@gmail.com> wrote:
> >
> > Hello,
>
> hi,
>
> >
> > May be this is poasible that, if we allow user only to select modules,
> and
> > flags will be automatic.
>
> yes, so please improve your proposal..
>
> --
> ciao
> Luca
>
> www.lucadelu.org
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GSoC Project

2018-03-07 Thread sharry gill
On 7 Mar 2018 11:05, "Luca Delucchi" <lucadel...@gmail.com> wrote:



On 27 February 2018 at 10:29, sharry gill <sharrygill5...@gmail.com> wrote:

> Hello Luca,
>
>
Hi,

Hello,



> There will be a tool, in which the user enters the name of the module, and
> select the flags and parameters of the modules, and select which test to be
> done.
> after selecting these option, the user click "Create Test", then their
> will be a python file generated on the desktop, by using the python file
> user can test the module.
>
> And When the user will enter the module name, the window will extend and
> at the side it will show manual of the module.
>

ok, but since there are a lot of modules in GRASS it is better if the tool
will be able to work without the user choses. It should be more automatic
possible.


May be this is poasible that, if we allow user only to select modules, and
flags will be automatic.


> Thank You
> Supreet Singh
> https://singhsupreet.github.io/
>
>
-- 
ciao
Luca

www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GSoC Project

2018-02-27 Thread sharry gill
Hello Luca,

There will be a tool, in which the user enters the name of the module, and
select the flags and parameters of the modules, and select which test to be
done.
after selecting these option, the user click "Create Test", then their will
be a python file generated on the desktop, by using the python file user
can test the module.

And When the user will enter the module name, the window will extend and at
the side it will show manual of the module.

Thank You
Supreet Singh
https://singhsupreet.github.io/

On Tue, Feb 27, 2018 at 4:57 AM, Luca Delucchi <lucadel...@gmail.com> wrote:

> [image: Boxbe] <https://www.boxbe.com/overview> Luca Delucchi (
> lucadel...@gmail.com) is not on your Guest List
> <https://www.boxbe.com/approved-list?tc_serial=37048451360_rand=998831450_source=stf_medium=email_campaign=ANNO_MWTP_content=001=NUJwHJ6HohHD0jZ6Mh7canc5e8dzdjLHqa4rzVKjMUY%3D=NhcfaCw1%2BDpyVy6bdqx8MQ8BVbKyxAngJkRW%2BRVOHlT7gOUKVuNJHn8XTeO10bs1>
> | Approve sender
> <https://www.boxbe.com/anno?tc_serial=37048451360_rand=998831450_source=stf_medium=email_campaign=ANNO_MWTP_content=001=NUJwHJ6HohHD0jZ6Mh7canc5e8dzdjLHqa4rzVKjMUY%3D=NhcfaCw1%2BDpyVy6bdqx8MQ8BVbKyxAngJkRW%2BRVOHlT7gOUKVuNJHn8XTeO10bs1>
> | Approve domain
> <https://www.boxbe.com/anno?tc_serial=37048451360_rand=998831450_source=stf_medium=email_campaign=ANNO_MWTP_content=001=NUJwHJ6HohHD0jZ6Mh7canc5e8dzdjLHqa4rzVKjMUY%3D=NhcfaCw1%2BDpyVy6bdqx8MQ8BVbKyxAngJkRW%2BRVOHlT7gOUKVuNJHn8XTeO10bs1>
>
> On 19 February 2018 at 14:40, sharry gill <sharrygill5...@gmail.com>
> wrote:
> > Hello,
> >
>
> Hi Sharry,
>
> > I created a draft of GSoC Proposal: Link To Proposal.
> > In the proposal is have a project idea:
> >
> > Title: Tool to create Automatic Module test writer in Python
> >
> >
> > Description of the idea :
> >
> > 1) First, there is an option of entering the name of module
> >
> > 2) After that, there will some options regarding which test the user
> wants
> > to write. (for eg:assertMinMax, RasterFitsUnivar etc)
> >
> > 3)Then there will be options for selecting flags and maps.
> >
> >
> > 4)Then the user will click "create the test" then a python file will be
> > provided to the user which contains the test.
> >
> > SAMPLE MOCKUP:  Link to image
> >
>
> please you should improve your description, it could be useful to
> create test automatically from each modules or execute test from
> manuals [0]
> Please ask if you have questions.
>
> >
> > Can I know which mentor will be mentoring me?
> >
>
> If the description will be improved I could co-mentoring
>
> > Thank You
> > Supreet Singh
> > https://singhsupreet.github.io/
> >
>
>
> [0] https://trac.osgeo.org/grass/wiki/GSoC/2018#
> Toolsforgeneratingunittestsfromexamplesinthemanual
>
> --
> ciao
> Luca
>
> www.lucadelu.org
>
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] GSoC Project

2018-02-19 Thread sharry gill
Hello,

I created a draft of GSoC Proposal: Link To Proposal.

In the proposal is have a project idea:

Title: Tool to create Automatic Module test writer in Python


Description of the idea :

1) First, there is an option of entering the name of module

2) After that, there will some options regarding which test the user wants
to write. (for eg:assertMinMax, RasterFitsUnivar etc)

3)Then there will be options for selecting flags and maps.

4)Then the user will click "create the test" then a python file will be
provided to the user which contains the test.

SAMPLE MOCKUP:  Link to image


Can I know which mentor will be mentoring me?

Thank You
Supreet Singh
https://singhsupreet.github.io/
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] Introduction

2018-01-31 Thread sharry gill
Hello,

I am Supreet Singh, from Punjab, India. Currently doing my bachelors from Guru
Nanak Dev Engineering College . I am interested
in GRASS GIS module testing so as an idea for GSOC I sent an email before.
I am Good in HTML, CSS, Javascript, C++ and especially Python as this
project idea is to be written in Python.

Link to a sample image for the project: Google Doc Link


I have attached a simple test, I wrote for r.mode.

I am new to Open Source community so I came early, so I can get to know
about OSGeo and GRASS GIS.

Thank You
Supreet
"""
Name:   r.mode test
Purpose:Tests r.mode and its flags/options.
	
Author: Supreet Singh
"""

from grass.gunittest.case import TestCase
from grass.gunittest.main import test

class Testrmode(TestCase):
output='rmode'
base='facility'
cover='geology'

@classmethod
def setUpClass(cls):
cls.use_temp_region()

@classmethod
def tearDownClass(cls):
cls.del_temp_region()

def tearDown(self):
self.runModule('g.remove', type='raster', flags='f', name=self.output)

def test_1(self):
facility='facility'
self.assertModule('r.mode', base=self.base, cover=self.cover, output=self.output)
self.assertRasterMinMax(map=facility, refmin=1, refmax=1,
	msg="facility in degrees must be between 1 and 1")

def test_2(self):
slope='slope'
self.assertModule('r.mode', base=self.base, cover=self.cover, output=self.output)
self.assertRasterMinMax(map=slope, refmin=0, refmax=38.68939,
	msg="slope in degrees must be between 0 and 38.68939")

def test_3(self):
geology='geology'
self.assertModule('r.mode', base=self.base, cover=self.cover, output=self.output)
self.assertRasterMinMax(map=geology, refmin=34300, refmax=43600,
	msg="geology in degrees must be between 34300 and 43600")

if __name__ == '__main__':
test()

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] Regarding GSOC Project Idea

2018-01-31 Thread sharry gill
Hello,

I am Supreet, planning to participate in Google Summer Of Code with OSGeo.
I am having an idea about a GSOC project for GRASS GIS:  The project is to
create an automatic module test writer in Python, in which:

1) First, there is an option of entering the name of module
2) After that, there will some options regarding which test the user wants
to write. (for eg: assertMinMax, RasterFitsUnivar etc)
3)Then there will be options for selecting flags and maps.
4)Then the user will click "create the test" then a python file will be
provided to the user which contains the test.

If any more detail is required please let me know.

Thank You
Supreet
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev