Plot of temporal data sets in GRASS GIS

One of the new modules in GRASS GIS 7.03 (RC1) is g.gui.tplot. It is part of the temporal data processing framework (TGRASS) introduced with GRASS GIS 7.0 and lets you plot the values of one or more temporal datasets for a specific point. It furthermore allows plotting data of vector dataset for a defined categories and attribute. In this post I’ll use the tool to plot changes in the annual mean temperature and annual minimum temperature of the coldest month in the last century, using the CRU climate data set. First I’ll provide a brief overview of how to import and prepare the data and finally how to plot a time series using the g.gui.tplot module. Continue reading “Plot of temporal data sets in GRASS GIS”

GRASS GIS addon to create smoothed legend image

I just uploaded a small addon for GRASS GIS, r.out.legend, with which you can quickly create a smoothed legend image for floating point raster maps (continuous values as opposed to categories).

You just select the raster layer, the dimensions and resolution required and the name of the output image. Other options are to change the font and font size and the image type (PNG, BMP, PDF and SVG).

r_out_legend_4
Example of an output of the r.out.legend addon

Continue reading “GRASS GIS addon to create smoothed legend image”

Compiling the gdal-grass plugin for GRASS 7

The idea of the GDAL-GRASS plugin is to directly access GRASS raster and vector data from outside. Any GDAL enabled software (QGIS, R, …) can read and write through the plugin from the GRASS database. The different steps are explained on the grass wiki. Mostly as a note to self, I am copying those steps below (for GRASS 7), with some small changes that made this work for me. Continue reading “Compiling the gdal-grass plugin for GRASS 7”

The r.series function applied to a range of values

One of the fundamental functions in GRASS GIS is the r.series function. It makes each output cell value a function of the values assigned to the corresponding cells in the input raster map layers. I use it very often in my analyses, but I only recently ‘discovered’ this option to ignore values outside an user-defined range. Continue reading “The r.series function applied to a range of values”

GRASS GIS 7.0.2 released

For those who haven’t seen it yet, GRASS GIS 7.0.2 has been released! See here for the announcement and here for a detailed overview of all the changes (over 190 of stability fixes and improvements since GRASS GIS 7.01).

For those still using GRASS GIS 6.4, GRASS GIS 7 offers a strongly improved interface, a considerable increases in speed and efficiency, support for huge files, and a long list of new modules to analyse raster and vector data, including a full temporal framework. Also important, as a stable release series, 7.0.x enjoys long-term support.

As usual, a great thanks to the developers!