[GRASS-user] d.correlate error

I tried to use d.correlate and got following error.
It is same with the NC sample dataset when I tried to use it with the manual example.

ERROR: Neither MONITOR (managed by d.mon command) nor GRASS_RENDER_IMMEDIATE (used for direct rendering) defined
Traceback (most recent call last):
File “C:\Program Files\GRASS GIS
7.0.5/scripts/d.correlate.py”, line 104, in
main()
File “C:\Program Files\GRASS GIS
7.0.5/scripts/d.correlate.py”, line 46, in main
grass.write_command(‘d.text’, color = ‘black’, size = 4,
line = 1, stdin = “CORRELATION”)
File “C:\Program Files\GRASS GIS
7.0.5\etc\python\grass\script\core.py”, line 517, in
write_command
return handle_errors(returncode, returncode, args,
kwargs)
File “C:\Program Files\GRASS GIS
7.0.5\etc\python\grass\script\core.py”, line 313, in
handle_errors
returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
[‘d.text’, ‘color=black’, ‘line=1’, ‘size=4’] ended with
error
Process ended with non-zero return code 1. See errors in the
(error) output.

···

Please suggest a solution for this.

Thank you

Hi,

2016-12-27 12:21 GMT+01:00 Pavithra Jayasinghe <pavipj89@gmail.com>:

I tried to use d.correlate and got following error.
It is same with the NC sample dataset when I tried to use it with the manual
example.

ERROR: Neither MONITOR (managed by d.mon command) nor GRASS_RENDER_IMMEDIATE
(used for direct rendering) defined

you need to start graphical monitor (see d.mon [1]) or define
variables for direct rendering (advanced user) [2]. Ma

[1] https://grass.osgeo.org/grass70/manuals/d.mon.html
[2] https://grass.osgeo.org/grass70/manuals/variables.html#list-of-selected-grass-environment-variables-for-rendering

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Thanks a lot.
It works :slight_smile:

···

On Tue, Dec 27, 2016 at 8:37 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2016-12-27 12:21 GMT+01:00 Pavithra Jayasinghe <pavipj89@gmail.com>:

I tried to use d.correlate and got following error.
It is same with the NC sample dataset when I tried to use it with the manual
example.

ERROR: Neither MONITOR (managed by d.mon command) nor GRASS_RENDER_IMMEDIATE
(used for direct rendering) defined

you need to start graphical monitor (see d.mon [1]) or define
variables for direct rendering (advanced user) [2]. Ma

[1] https://grass.osgeo.org/grass70/manuals/d.mon.html
[2] https://grass.osgeo.org/grass70/manuals/variables.html#list-of-selected-grass-environment-variables-for-rendering


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Pavithra Jayasinghe
Graduate School for Creative Cities

Osaka City Uiversity
Japan