I want to test Grass GIS Module i.vi
What are test we have to add in python for module “i.vi”
Thank You
Sunveer
I want to test Grass GIS Module i.vi
What are test we have to add in python for module “i.vi”
Thank You
Sunveer
Sunveer Singh wrote
I want to test Grass GIS Module i.vi
What are test we have to add in python for module "i.vi"
if not already done, download the GRASS GIS NC sample data set [1]
then have a look into the i.vi manual [2] and excercise the examples with
the NC sample data set to get familiar with the i.vi module.
and then study the manual for "Testing GRASS GIS source code and modules"
[3] and try to develop step by step a simple test to show that the
i.vi-module output is correct.
[1] https://grass.osgeo.org/download/sample-data/
GRASS 7 full data tar.gz | zip (nc_spm, 145MB)
GRASS 7 data subset tar.gz | zip (nc_basic, 50MB)
[2] https://grass.osgeo.org/grass72/manuals/i.vi.html
[3] https://grass.osgeo.org/grass72/manuals/libpython/gunittest_testing.html
HTH
-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
On 03/12/17 15:36, Sunveer Singh wrote:
I want to test Grass GIS Module i.vi <http://i.vi>
What are test we have to add in python for module "i.vi <http://i.vi>"
I would chose some of the indices, create necessary 4x4 pixel raster bands using r.in.ascii (see the test for r.slope.aspect for an example of a map created directly in the script), calculate the indices with i.vi and compare the results with the same indices calculated by hand (i.e. create reference bands of the results).
Moritz
Thanks a lot.
On 5 Dec 2017 20:28, “Moritz Lennert” <mlennert@club.worldonline.be> wrote:
On 03/12/17 15:36, Sunveer Singh wrote:
I want to test Grass GIS Module i.vi <http://i.vi>
What are test we have to add in python for module “i.vi <http://i.vi>”I would chose some of the indices, create necessary 4x4 pixel raster bands using r.in.ascii (see the test for r.slope.aspect for an example of a map created directly in the script), calculate the indices with i.vi and compare the results with the same indices calculated by hand (i.e. create reference bands of the results).
Moritz