[GRASS-user] How can i modify the algorithm/code for Hydrologic Modeling or watershed analysis?

Dear sir,

I want to modify the existing code of watershed analysis.

Please tell me in which file or folder i should go for changing the code?

I have to change some or modify the form structure.

Please help me.

regards.

Sandip.

Please give me the idea that how can i modify?

On Fri, Nov 11, 2011 at 5:05 PM, Sandip Maity <sandip.stesalit@gmail.com> wrote:

Dear sir,

I want to modify the existing code of watershed analysis.

Please tell me in which file or folder i should go for changing the code?

I have to change some or modify the form structure.

Please help me.

regards.

Sandip.

Hello Sandip,

Perhaps the reason why you didn’t have received an answer is because many of us don’t have idea how do it. Sometimes we don’t receive answers to all our questions.

Cheers.

On Sat, Nov 12, 2011 at 01:35, Sandip Maity <sandip.stesalit@gmail.com> wrote:

Please give me the idea that how can i modify?

On Fri, Nov 11, 2011 at 5:05 PM, Sandip Maity <sandip.stesalit@gmail.com> wrote:

Dear sir,

I want to modify the existing code of watershed analysis.

Please tell me in which file or folder i should go for changing the code?

I have to change some or modify the form structure.

Please help me.

regards.

Sandip.


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


«But Gwindor answered: ‘The doom lies in yourself, not in your name.’»

JRR Tolkien

you wrote on the [GRASS-user] list, which mean that most of the people here are just users … you better have to send your message to the GRASS-dev list …

there is a special guide for programmers, http://grass.osgeo.org/programming6/
and if you go on the download page (http://grass.osgeo.org/download/software.php), you will easily find a way to download the grass source code, which include r.watershed !

I don’t know which changes do you plan to do, but if you’r not able to find yourself the r.watershed files, then you need firt to read the manual !

Sylvain

2011/11/12 Sandip Maity <sandip.stesalit@gmail.com>

Please give me the idea that how can i modify?

On Fri, Nov 11, 2011 at 5:05 PM, Sandip Maity <sandip.stesalit@gmail.com> wrote:

Dear sir,

I want to modify the existing code of watershed analysis.

Please tell me in which file or folder i should go for changing the code?

I have to change some or modify the form structure.

Please help me.

regards.

Sandip.


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hello,
You got no answer as Your question is board and hard to understand.

If You want to modify raster module, You have to look at
raster/modulename directory for it's source. I.e. r.watershed is
located in raster/r.watershed [1]. Most of GRASS modules are written
in C and thus You have to be familiar with C.

Second part - what do You mean by "form structure"? If You mean GUI,
then it's auto-generated from analysis module input parameter
description (r.watershed --interface-description). Still You can build
Your own GUI and just call from it i.e. r.watershed with correct
parameters.

More information on writing a GRASS code can be found at programmers
manual. [2] Come back when You have read that, looked at the source
code and then have specific questions.

Maris.

1. http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.watershed
2. http://grass.osgeo.org/programming7

2011/11/11 Sandip Maity <sandip.stesalit@gmail.com>:

Dear sir,

I want to modify the existing code of watershed analysis.

Please tell me in which file or folder i should go for changing the code?

I have to change some or modify the form structure.

Please help me.

regards.

Sandip.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user