I am trying to understand GRASS GIS to model the transport of solute.

I followed the example of the GrassGIS manual and set up a region within a XY projection. I also used r.mapcalc to generate a raster map. Now I want to display the raster map. But when I execute

"d.rast map=phead@PERMANENT bgcolo=red"

the console shows

"GRASS_INFO_ERROR(18956,1): Field <zone> missing                                 

Well, how do I display the raster map?

  • What do you get if you run "r.report map=phead@PERMANENT" for example? Just to see if there is an issue with the raster.
    – humperderp
    Commented Oct 27, 2020 at 9:46
  • 1
    Try a d.erase, then again d.rast map=phead@PERMANENT bgcolor=red
    – markusN
    Commented Oct 27, 2020 at 20:49
  • 1
    Thank you markusN, now it works.
    – NilsG
    Commented Oct 28, 2020 at 13:25
  • (I have written it up as a regular answer, feel free to accept it)
    – markusN
    Commented Oct 30, 2020 at 10:07

1 Answer 1


The reason is that the GRASS GIS display monitor remembers the list of maps which you have displayed. In your case, one map may no longer exist while the monitor doesn't "know" that.


Run d.erase to clean the list of maps in the monitor.

Then run again d.rast map=phead@PERMANENT bgcolor=red.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.