<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">IJG</journal-id><journal-title-group><journal-title>International Journal of Geosciences</journal-title></journal-title-group><issn pub-type="epub">2156-8359</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ijg.2016.72011</article-id><article-id pub-id-type="publisher-id">IJG-63892</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Earth&amp;Environmental Sciences</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Set of GRASS GIS-Based Shell Scripts for the Calculation and Graphical Display of the Main Morphometric Parameters of a River Channel
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>ldo</surname><given-names>Clerici</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Susanna</surname><given-names>Perego</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Dipartimento di Fisica e Scienze della Terra “M. Melloni”, University of Parma, Parma, Italy</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>aldo.clerici@unipr.it(LC)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>03</day><month>02</month><year>2016</year></pub-date><volume>07</volume><issue>02</issue><fpage>135</fpage><lpage>143</lpage><history><date date-type="received"><day>25</day>	<month>December</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>23</month>	<year>February</year>	</date><date date-type="accepted"><day>26</day>	<month>February</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  For the analysis of river evolution, the use of quantitative parameters can be quite useful in order to assess changes in the channel planform. Among the several parameters proposed by different authors in a number of papers, channel length and width, braiding and sinuosity indexes, and channel lateral shifting are proved to be the most effective ones for a quantitative analysis of river changes. However, the calculation of these parameters is time-consuming, tedious and error-prone, even where made in a GIS environment. This work describes four shell scripts that perform fast and automatic calculation of the morphometric parameters and draw curves showing the
   
  variation of the calculated parameters along the entire channel development. The scripts are
   
  based on commands of the GRASS GIS free and open source software and, as input, they require a simple vector map containing the essential features of a river channel,
   
  i.e.
   
  bankfull channel limits and longitudinal and lateral bars.
 
</p></abstract><kwd-group><kwd>GRASS GIS</kwd><kwd> Shell Script</kwd><kwd> River Morphometry</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In a recent paper [<xref ref-type="bibr" rid="scirp.63892-ref1">1</xref>] , the morphological evolution of the unconfined reach of the Taro River (Italian Northern Apennines) in the last two centuries (1828-2011) has been evaluated. The river features as of nine different dates (1828, 1881, 1958, 1976, 1999, 2003, 2006, 2008 and 2011) were surveyed based on old historical maps and recent orthophotos. The analysis of the morphological changes was conducted on a quantitative basis by comparing the values of the morphometric parameters commonly used to define the planform characteristics of a river unconfined reach, i.e. channel length and width, braiding and sinuosity indexes, and channel lateral shifting. As the calculation of these parameters requires a long and repetitive sequence of operations, even where carried out in a GIS environment, a set of shell scripts was created, mainly based on the commands of GRASS (Geographical Analysis Support System), a free and open source GIS [<xref ref-type="bibr" rid="scirp.63892-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.63892-ref3">3</xref>] . A first script defines, for the channel as of a specific date, the channel centreline, computes the channel length and width, and the braiding and sinuosity indexes. A second script evaluates the lateral shifting of the channel centreline between two dates.</p><p>Other two scripts construct graphics, in Postscript format, showing the curves of the values of the computed parameters along the entire channel centreline. More precisely, the first one draws the curves of width, braiding and sinuosity as of a specific date and shifting over a specific time interval. The second one draws the curves of a single parameter as of several dates in a single graph, allowing punctual evaluation of the parameter changes over time.</p><p>The use of these shell scripts allows fast and automatic calculation of the main morphological parameters and the drawing of graphs which detail the continuous parameters variation along the entire channel development. In this paper, the characteristics of the four implemented shell scripts are described.</p></sec><sec id="s2"><title>2. Channel Centreline Definition and Parameters Calculation</title><sec id="s2_1"><title>2.1. Input Data</title><p>The input data for the first script consist in a vector map containing the bankfull channel limits and the limits of longitudinal and lateral bars. The area between the bankfull limits, with the exclusion of the areas occupied by bars, defines the active subchannels (<xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><p>In order to have fixed reference points, in space and time, which the channel characteristics and changes from date to date refer to, a set of ground points along both borders of the channel must also be collected. These points, which can be digitized on a reliable map or acquired by GPS on the field, are projected perpendicularly to the channel centreline and reported along the x-axis of the graphics with their distances from one another and their cumulative distances from the origin.</p></sec><sec id="s2_2"><title>2.2. Centreline Extraction</title><p>In most works, the channel centreline, i.e. the line whose points are equidistant from the two limits of the channel, is traced manually. In a few works, specific algorithms have been proposed to automatically derive this feature by thinning a channel raster map pixel by pixel [<xref ref-type="bibr" rid="scirp.63892-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.63892-ref5">5</xref>] or to extract it from the bank lines in vector form</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Portion of the vector map showing the limits of the bankfull channel and of longitudinal and lateral bars, which is the input map for the calculation of morphometric parameters</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2801174x6.png"/></fig><p>using Delaunay triangulation principle [<xref ref-type="bibr" rid="scirp.63892-ref6">6</xref>] . In [<xref ref-type="bibr" rid="scirp.63892-ref7">7</xref>] the centreline has been defined by joining a set of evenly- spaced points along the river channel, whose equidistance from the two banks has been determined by successive approximations. In GRASS, a specific module (v. centerline) is proposed to define a line that represents an approximation of the central tendency of a series of input lines, all of which with similar trajectories and, therefore, that can be used also to define the centreline of a channel represented by its two sides. However, the module gives good results when the lines are approximately parallel to each other. Moreover, it may give unreliable results when two reaches of the channel are very close to each other, as can happen at the neck of a meander.</p><p>In this work, a different approach is adopted and the centreline is extracted from the vector map containing the bankfull channel limits, manly by using the GRASS module that traces lines parallel to existing features. Starting from the bankfull channel margins, pairs of lines parallel to the channel banks are repeatedly traced out toward the channel centre. Since each of the two parallels traced out at each iteration is equidistant from the pertaining bank line, the intersection of the two parallels defines points that are equidistant from the banks (<xref ref-type="fig" rid="fig2">Figure 2</xref>(a1)-(a8)). The line joining these intersection points defines the channel centreline (<xref ref-type="fig" rid="fig2">Figure 2</xref>(b)). The length of the centreline is assumed as the length of the channel.</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Procedure for channel centreline definition and channel transects tracing. (a1)-(a8) Iterative tracing toward the center of the channel of the lines parallel to the limits of the bankfull channel. (b) Tracing of the channel centreline by joining the intersections of the parallel lines. (c) Location of equally spaced points along the channel centreline. (d) Tracing of transects orthogonal to the centreline at the equally-spaced points</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2801174x7.png"/></fig></sec><sec id="s2_3"><title>2.3. Width Calculation</title><p>The channel width is commonly defined as the length of the line from bank to bank orthogonal to the channel centreline. In the above mentioned algorithms [<xref ref-type="bibr" rid="scirp.63892-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.63892-ref5">5</xref>] , channel width is automatically computed along the lines orthogonal to the pixels forming the computed raster centreline. In [<xref ref-type="bibr" rid="scirp.63892-ref8">8</xref>] , a Python script is described for the calculation of channel width at regularly-spaced transects orthogonal to the channel centreline. The same procedure is adopted in the script described in this work (<xref ref-type="fig" rid="fig2">Figure 2</xref>(c), <xref ref-type="fig" rid="fig2">Figure 2</xref>(d)).</p></sec><sec id="s2_4"><title>2.4. Braiding Calculation</title><p>Many different indexes have been proposed by various authors to express the degree of braiding of a river [<xref ref-type="bibr" rid="scirp.63892-ref9">9</xref>] . Among them, the so-called Channel count index [<xref ref-type="bibr" rid="scirp.63892-ref10">10</xref>] is the most commonly used one, since it is simple to calculate and is the least sensitive to river-stage effects [<xref ref-type="bibr" rid="scirp.63892-ref11">11</xref>] . It is simply expressed as the number of active subchannels along a channel transect.</p><p>Similarly to what is reported in the above cited paper [<xref ref-type="bibr" rid="scirp.63892-ref8">8</xref>] , in the script described herein this index is computed by simply counting the number of active channels along the same transects where the channel width is defined.</p></sec><sec id="s2_5"><title>2.5. Sinuosity Calculation</title><p>In its classical formulation, the sinuosity index is defined as the ratio of channel length to valley length [<xref ref-type="bibr" rid="scirp.63892-ref12">12</xref>] . It requires prior subdivision of the river valley into rectilinear segments. Then, the length of the channel centreline encompassed in the valley segment is divided by the length of the valley segment. The valley segmentation introduces a certain degree of subjectivity, especially where the valley shows a curvilinear path. To reduce the degree of subjectivity, in [<xref ref-type="bibr" rid="scirp.63892-ref8">8</xref>] a fixed length value is used for the valley segmentation. In this work, to further reduce subjectivity and obtain a more detailed assessment of sinuosity along the entire channel course, the river valley is ignored and only the channel centreline is used. More precisely, sinuosity is calculated by considering a portion of the channel centreline with fixed length, progressively shifted downstream by a constant distance. Sinuosity is obtained by dividing the fixed length of the centreline tract by the straight-line between its endpoints. The computed sinuosity value is assigned to the midpoint of the centreline tract (<xref ref-type="fig" rid="fig3">Figure 3</xref>).</p></sec><sec id="s2_6"><title>2.6. Output</title><p>The output of the first script consists of:</p><p>1) A screenshot of three simple graphs which allow a first rough check of the results (Figures 4(a)-(c)).</p><p>2) A vector map containing the channel centreline.</p><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Procedure for sinuosity calculation by dividing the fixed length of a centreline tract by the distance between its endpoints. The centreline tract is progressively shifted downstream by a fixed length along the entire centreline and the computed sinuosity value is assigned to the midpoint of the tract</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2801174x8.png"/></fig><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Example of screenshot of simple graphs of the computed width (a), braiding (b), sinuosity (c) and lateral shifting (d)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2801174x9.png"/></fig><p>3) A report containing the main computed statistics (<xref ref-type="table" rid="table1">Table 1</xref>).</p><p>4) Three text files containing the values of width, braiding and sinuosity. In each file, the first column reports the progressive number of each measure, the second reports the distance from the origin and the third reports the parameter value (<xref ref-type="table" rid="table2">Table 2</xref>).</p></sec><sec id="s2_7"><title>2.7. Lateral Shifting Calculation</title><p>The second script computes the channel centreline lateral shifting between two dates. As it requires the pre- emptive construction of the channel centrelines as of the two dates by the previously described shell script, a specific shell script has been constructed. The script, starting from a vector map containing the channel centrelines as of the two dates, computes the lateral shifting using a procedure similar to the previously described one adopted to define the centreline between the two channel banks. Indeed, the parallels to the two centrelines are traced out and their intersection joined by a line that represents the line equidistant from the two centrelines. The distances between the two centrelines are then computed along lines orthogonal to the computed axis at regular intervals and are assumed as the channel centreline shifting between the two dates (<xref ref-type="fig" rid="fig5">Figure 5</xref>).</p><p>The output consists of a report (<xref ref-type="table" rid="table3">Table 3</xref>) and of a text file with the shifting values at regular interval along the computed centreline axis (<xref ref-type="table" rid="table2">Table 2</xref>). A rough simple graph is also displayed on the screen (<xref ref-type="fig" rid="fig4">Figure 4</xref>(d)).</p></sec></sec><sec id="s3"><title>3. Graphs Construction</title><p>For the creation of graphs showing the variations of the parameters along the river channel, two scripts were built. The first one constructs graphs of the four calculated parameters (width, braiding, sinuosity and lateral shifting) as of a specific date. The input includes the vector map containing the channel centreline, the vector map containing the reference points and the four text files containing the parameters previously computed by the first script. In addition to the curves of the original computed values, curves of simple moving average of various orders can also be drawn. Obviously, vertical and horizontal scales, size and colours of the lines and characters can be defined by the user. Examples of the curves of the four parameters are given in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Example of output report containing the main computed statistics</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >JOB NAME: Taro 1976 INPUT FILE: Vector map with banks and bars: vect_topo1976_2013_mod JOB PARAMETERS: Distance (m) between transects for width and braiding calculation: 20 Length (m) of channel tracts for sinuosity calculation: 5000 Distance (m) between points where sinuosity values are located: 50 OUTPUT FILES: Channel centreline vector map: centreline_taro_1976 File with width values: width_1976 File with braiding values: braid_1976 File with sinuosity values: sinuos_1976 COMPUTED CHARACTERISTICS Channel area A (sq m) = 11761798.6185508 Centreline length L (m) = 53728.982242 Mean width (m) A/L = 218.91<sup>a</sup> Total sinuosity = 1.4664<sup>c</sup> Minimum width (m) = 34.325062 (Section n. 1723) Maximum width (m) = 869.590516 (Section n. 335) Mean transect width (m) = 220.081<sup>b</sup> Minimum sinuosity = 1.015797 (Progressive point n. 168) Maximum sinuosity = 24.890106 (Progressive point n. 899) Mean sinuosity = 1.75954<sup>d</sup> Minimum braiding = 1 Maximum braiding = 10 Mean braiding = 2.14732</th></tr></thead></tbody></table></table-wrap><p><sup>a</sup>Ratio of the channel area to the centreline length; <sup>b</sup>Mean of the width values computed at the transects orthogonal to the centerline; <sup>c</sup>Ratio of the centreline length to the distance between centreline endpoints; <sup>d</sup>Mean of the sinuosity values computed at the fixed length tracts along the centreline.</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Example of text files with the computed values of channel parameters (only the first and last 10 values of each file are reported)</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="3"  >Width<sup>a</sup></th><th align="center" valign="middle"  colspan="3"  >Braiding<sup>a</sup></th><th align="center" valign="middle"  colspan="3"  >Sinuosity<sup>b</sup></th><th align="center" valign="middle"  colspan="3"  >Shifting<sup>a</sup></th></tr></thead><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0.0</td><td align="center" valign="middle" >464.201</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0.0</td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >2500</td><td align="center" valign="middle" >1.0242</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0.0</td><td align="center" valign="middle" >10.4793</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >19.9959</td><td align="center" valign="middle" >424.4595</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >19.9959</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >2550</td><td align="center" valign="middle" >1.0230</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >19.9990</td><td align="center" valign="middle" >12.2521</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >39.9917</td><td align="center" valign="middle" >433.1364</td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >39.9917</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >2600</td><td align="center" valign="middle" >1.0229</td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >39.9981</td><td align="center" valign="middle" >14.3268</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" >59.9876</td><td align="center" valign="middle" >411.3395</td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >59.9876</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >2650</td><td align="center" valign="middle" >1.0224</td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >59.9971</td><td align="center" valign="middle" >17.3037</td></tr><tr><td align="center" valign="middle" >5</td><td align="center" valign="middle" >79.9835</td><td align="center" valign="middle" >398.4922</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >79.9835</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >2700</td><td align="center" valign="middle" >1.0213</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >79.9962</td><td align="center" valign="middle" >17.5562</td></tr><tr><td align="center" valign="middle" >6</td><td align="center" valign="middle" >99.9794</td><td align="center" valign="middle" >400.4545</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >99.9794</td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >2750</td><td align="center" valign="middle" >1.0206</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >99.9953</td><td align="center" valign="middle" >15.1635</td></tr><tr><td align="center" valign="middle" >7</td><td align="center" valign="middle" >119.9753</td><td align="center" valign="middle" >375.6974</td><td align="center" valign="middle" >7</td><td align="center" valign="middle" >119.9753</td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >7</td><td align="center" valign="middle" >2800</td><td align="center" valign="middle" >1.0206</td><td align="center" valign="middle" >7</td><td align="center" valign="middle" >119.9943</td><td align="center" valign="middle" >12.0381</td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" >139.9712</td><td align="center" valign="middle" >368.1004</td><td align="center" valign="middle" >8</td><td align="center" valign="middle" >139.9712</td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >8</td><td align="center" valign="middle" >2850</td><td align="center" valign="middle" >1.0215</td><td align="center" valign="middle" >8</td><td align="center" valign="middle" >139.9934</td><td align="center" valign="middle" >8.8488</td></tr><tr><td align="center" valign="middle" >9</td><td align="center" valign="middle" >159.9671</td><td align="center" valign="middle" >347.6836</td><td align="center" valign="middle" >9</td><td align="center" valign="middle" >159.9671</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >9</td><td align="center" valign="middle" >2900</td><td align="center" valign="middle" >1.0216</td><td align="center" valign="middle" >9</td><td align="center" valign="middle" >159.9924</td><td align="center" valign="middle" >5.0606</td></tr><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >179.9630</td><td align="center" valign="middle" >336.4495</td><td align="center" valign="middle" >10</td><td align="center" valign="middle" >179.9630</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >10</td><td align="center" valign="middle" >2950</td><td align="center" valign="middle" >1.0215</td><td align="center" valign="middle" >10</td><td align="center" valign="middle" >179.9915</td><td align="center" valign="middle" >4.2401</td></tr><tr><td align="center" valign="middle" >..............</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >..............</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >..............</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >..............</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >2679</td><td align="center" valign="middle" >53,549.0191</td><td align="center" valign="middle" >74.3096</td><td align="center" valign="middle" >2679</td><td align="center" valign="middle" >53,549.0191</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >966</td><td align="center" valign="middle" >50,750</td><td align="center" valign="middle" >4.3445</td><td align="center" valign="middle" >2640</td><td align="center" valign="middle" >52,777.5195</td><td align="center" valign="middle" >43.0162</td></tr><tr><td align="center" valign="middle" >2680</td><td align="center" valign="middle" >53,569.0150</td><td align="center" valign="middle" >76.8547</td><td align="center" valign="middle" >2680</td><td align="center" valign="middle" >53,569.0150</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >967</td><td align="center" valign="middle" >50,800</td><td align="center" valign="middle" >4.0159</td><td align="center" valign="middle" >2641</td><td align="center" valign="middle" >52,797.5186</td><td align="center" valign="middle" >43.5175</td></tr><tr><td align="center" valign="middle" >2681</td><td align="center" valign="middle" >53,589.0109</td><td align="center" valign="middle" >79.5911</td><td align="center" valign="middle" >2681</td><td align="center" valign="middle" >53,589.0109</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >968</td><td align="center" valign="middle" >50,850</td><td align="center" valign="middle" >3.7258</td><td align="center" valign="middle" >2642</td><td align="center" valign="middle" >52,817.5176</td><td align="center" valign="middle" >44.0586</td></tr><tr><td align="center" valign="middle" >2682</td><td align="center" valign="middle" >53,609.0068</td><td align="center" valign="middle" >81.8723</td><td align="center" valign="middle" >2682</td><td align="center" valign="middle" >53,609.0068</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >969</td><td align="center" valign="middle" >50,900</td><td align="center" valign="middle" >3.4727</td><td align="center" valign="middle" >2643</td><td align="center" valign="middle" >52,837.5167</td><td align="center" valign="middle" >43.3405</td></tr><tr><td align="center" valign="middle" >2683</td><td align="center" valign="middle" >53,629.0027</td><td align="center" valign="middle" >84.0832</td><td align="center" valign="middle" >2683</td><td align="center" valign="middle" >53,629.0027</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >970</td><td align="center" valign="middle" >50,950</td><td align="center" valign="middle" >3.2508</td><td align="center" valign="middle" >2644</td><td align="center" valign="middle" >52,857.5158</td><td align="center" valign="middle" >43.5645</td></tr><tr><td align="center" valign="middle" >2684</td><td align="center" valign="middle" >53,648.9986</td><td align="center" valign="middle" >86.3211</td><td align="center" valign="middle" >2684</td><td align="center" valign="middle" >53,648.9986</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >971</td><td align="center" valign="middle" >51,000</td><td align="center" valign="middle" >3.0603</td><td align="center" valign="middle" >2645</td><td align="center" valign="middle" >52,877.5148</td><td align="center" valign="middle" >43.3423</td></tr><tr><td align="center" valign="middle" >2685</td><td align="center" valign="middle" >53,668.9945</td><td align="center" valign="middle" >93.5090</td><td align="center" valign="middle" >2685</td><td align="center" valign="middle" >53,668.9945</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >972</td><td align="center" valign="middle" >51,050</td><td align="center" valign="middle" >2.8984</td><td align="center" valign="middle" >2646</td><td align="center" valign="middle" >52,897.5139</td><td align="center" valign="middle" >43.5656</td></tr><tr><td align="center" valign="middle" >2686</td><td align="center" valign="middle" >53,688.9904</td><td align="center" valign="middle" >107.6350</td><td align="center" valign="middle" >2686</td><td align="center" valign="middle" >53,688.9904</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >973</td><td align="center" valign="middle" >51,100</td><td align="center" valign="middle" >2.7517</td><td align="center" valign="middle" >2647</td><td align="center" valign="middle" >52,917.5129</td><td align="center" valign="middle" >43.7866</td></tr><tr><td align="center" valign="middle" >2687</td><td align="center" valign="middle" >53,708.9863</td><td align="center" valign="middle" >108.5434</td><td align="center" valign="middle" >2687</td><td align="center" valign="middle" >53,708.9863</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >974</td><td align="center" valign="middle" >51,150</td><td align="center" valign="middle" >2.6187</td><td align="center" valign="middle" >2648</td><td align="center" valign="middle" >52,937.5120</td><td align="center" valign="middle" >43.6764</td></tr><tr><td align="center" valign="middle" >2688</td><td align="center" valign="middle" >53,728.9822</td><td align="center" valign="middle" >109.7612</td><td align="center" valign="middle" >2688</td><td align="center" valign="middle" >53,728.9822</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >975</td><td align="center" valign="middle" >51,200</td><td align="center" valign="middle" >2.4960</td><td align="center" valign="middle" >2649</td><td align="center" valign="middle" >52,957.5111</td><td align="center" valign="middle" >43.9825</td></tr></tbody></table></table-wrap><p><sup>a</sup>Values are computed along transects 20 m-spaced (automatically recalculated at 19.9959 to ensure equal distance between points along the centreline); <sup>b</sup>Values are computed for centreline tracts 5000 m long and shifted 50 m downstream.</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Example of an output report resulting from the centreline lateral shifting calculation between two dates (the example refers to the time interval 1958-1976 in [<xref ref-type="bibr" rid="scirp.63892-ref1">1</xref>] )</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >JOB NAME: Centreline shifting Taro 1958-1976 INPUT VECTOR MAP: asse_taro_1958_1976_patch JOB PARAMETERS: Distance (m) between transects for lateral shifting calculation: 20 OUTPUT FILES: Mean centreline vector map: asse_spostamento_taro_1958_1976 File with shifting values: spostamento_centrelines_1958_1976 COMPUTED CHARACTERISTICS Between centrelines area A (sq m) = 1952141.90903244 Centrelines axis length L (m) = 52957.51111 Mean shifting (m) A/L = 36.8624 Minimum shifting (m) = 0.791423 (Section n. 861) Maximum shifting (m) = 225.443272 (Section n. 972) Mean shifting along sections (m) = 36.889</th></tr></thead></tbody></table></table-wrap><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Procedure for lateral shifting calculation. The axis of the centreline position as of the two dates is calculated and the distance along the lines orthogonal to the axis is assumed as the shifting value</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2801174x10.png"/></fig><fig-group id="fig6"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Examples of the curves of the four channel parameters: width (a), braiding (b), sinuosity (c) refer to the 1976 date, shifting (d) to the time interval 1958-1976 [<xref ref-type="bibr" rid="scirp.63892-ref1">1</xref>] . 57 reference points were collected. In addition to the curves of the original values, the moving average curves of 21 terms are traced (thicker red lines). In the lower x-axis the progressive distances (in meters) from the origin are reported. On the upper x-axis the positions of the reference points (numbered from R01 to R57) projected on the channel centreline are reported, together with their partial and cumulative distances. The parameter value is on the y-axis (for high resolution images, click: (a) http://www.cler.unipr.it/IJG/fig6a1.jpg; (b) http://www.cler.unipr.it/IJG/fig6b1.jpg; (c) http://www.cler.unipr.it/IJG/fig6c1.jpg; (d) http://www.cler.unipr.it/IJG/fig6d1.jpg).</title></caption><fig id ="fig6_1"><label>(b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2801174x11.png"/></fig><fig id ="fig6_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2801174x12.png"/></fig><fig id ="fig6_3"><label>(d)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2801174x13.png"/></fig><fig id ="fig6_4"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2801174x14.png"/></fig></fig-group><p>The second script draws the curves of each single parameter as of several dates in a single graphic, allowing an overview of the progressive variations of each parameter over time. If many dates are considered and/or the differences among the curves are small, the graph proves easier to read and interpret if only the moving average curves are traced. An example showing moving average curves of the channel width as of several dates is reported in <xref ref-type="fig" rid="fig7">Figure 7</xref>.</p><p>The input and output of the four shell scripts are schematically summarized in <xref ref-type="table" rid="table4">Table 4</xref>.</p></sec><sec id="s4"><title>4. Conclusion</title><p>The use of shell scripts based on the GRASS GIS commands allows fast and automatic calculation of the main morphological parameters and the drawing of graphs which detail the continuous parameters variation along the</p><fig id="fig7"  position="float"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> Example of multiple dates graphic. Curves refer to the channel width as of the nine dates from 1821 to 2011 considered in [<xref ref-type="bibr" rid="scirp.63892-ref1">1</xref>] . For simplicity, the curves of the original width values have been omitted and only the moving average curves of 21 terms have been traced. In the lower x-axis, the progressive distances from the origin are reported. On the upper x-axes, the positions of 57 reference points (R1-57) projected onto each channel centreline are reported, together with their partial and cumulative distances. Since the channel length changes from date to date, the projections of the reference points change their positions along each x-axis. The difference in distance between each couple of reference points from one date to the previous one, which is a measure of the change in channel length, is reported on each axis. The different dates are marked with different colours, for both the curves and the axes of the upper part of the graph, proceeding from the oldest (1828), in red, to the most recent (2011), in black. The channel width value is on the y-axis. All values are in meters. For a high resolution image, click http://www.cler.unipr.it/IJG/fig7.jpg</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/3-2801174x15.png"/></fig><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Input and output for the four shell scripts used for the calculation and graphical representation of the channel characteristics</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >Input</th><th align="center" valign="middle" >Output</th></tr></thead><tr><td align="center" valign="middle" >Script 1</td><td align="center" valign="middle" >1) Vector map with the limits of bankfull channel and bars (<xref ref-type="fig" rid="fig1">Figure 1</xref>) 2) Vector map with reference points</td><td align="center" valign="middle" >1) Vector map with the channel centreline (<xref ref-type="fig" rid="fig2">Figure 2</xref>) 2) Report with the main computed statistics (<xref ref-type="table" rid="table1">Table 1</xref>) 3) Text files with width, braiding and sinuosity values (<xref ref-type="table" rid="table2">Table 2</xref>)</td></tr><tr><td align="center" valign="middle" >Script 2</td><td align="center" valign="middle" >Vector map with two dates centrelines</td><td align="center" valign="middle" >1) Vector map with the axis of two dates centrelines (<xref ref-type="fig" rid="fig5">Figure 5</xref>) 2) Report with the main computed statistics (<xref ref-type="table" rid="table3">Table 3</xref>) 3) Text file with shifting values (<xref ref-type="table" rid="table2">Table 2</xref>)</td></tr><tr><td align="center" valign="middle" >Script 3</td><td align="center" valign="middle" >1) Channel centreline as of a single date 2) Axis as of two dates centrelines 3) Text files whit width, braiding, sinuosity and shifting values</td><td align="center" valign="middle" >1) Curves for width, braiding and sinuosity for a single date (<xref ref-type="fig" rid="fig6">Figure 6</xref>(a), <xref ref-type="fig" rid="fig6">Figure 6</xref>(b), <xref ref-type="fig" rid="fig6">Figure 6</xref>(c)) 2) Curve for shifting between a couple of dates (<xref ref-type="fig" rid="fig6">Figure 6</xref>(d))</td></tr><tr><td align="center" valign="middle" >Script 4</td><td align="center" valign="middle" >1) Vector map with the centrelines of several dates 2) Text file with width or braiding or sinuosity or shifting values of several dates.</td><td align="center" valign="middle" >Curves of a single parameter for several dates (<xref ref-type="fig" rid="fig7">Figure 7</xref>)</td></tr></tbody></table></table-wrap><p>entire channel development and a punctual evaluation of the river planimetric changes in space and time. Furthermore, the methodology here adopted reduces the possibility of errors and, most of all, makes the common and very subjective practice of prior channel segmentation unnecessary. The scripts here described simply require digitization of the bankfull channel limits, of the longitudinal and lateral bars and of a number of reference points.</p></sec><sec id="s5"><title>Acknowledgements</title><p>The authors are grateful to D. Peis for his kind assistance in solving computer problems and to Interconsul s.r.l. for their valuable aid in translation.</p></sec><sec id="s6"><title>Cite this paper</title><p>AldoClerici,SusannaPerego, (2016) A Set of GRASS GIS-Based Shell Scripts for the Calculation and Graphical Display of the Main Morphometric Parameters of a River Channel. International Journal of Geosciences,07,135-143. doi: 10.4236/ijg.2016.72011</p></sec></body><back><ref-list><title>References</title><ref id="scirp.63892-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Clerici, A., Perego, S., Chelli, S. and Tellini, C. (2015) Morphological Changes of the Floodplain Reach of the Taro River (Northern Italy) in the Last Two Centuries. Journal of Hydrology, 527, 1106-1122.  
http://dx.doi.org/10.1016/j.jhydrol.2015.05.063</mixed-citation></ref><ref id="scirp.63892-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">GRASS Development Team (2015) GRASS: Geographic Resources Analysis Support System. http://grass.osgeo.org</mixed-citation></ref><ref id="scirp.63892-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Neteler, M. and Mitasova, H. (2008) Open Source GIS: A GRASS GIS Approach, 3rd Edition, Springer, US.  
http://dx.doi.org/10.1007/978-0-387-68574-8</mixed-citation></ref><ref id="scirp.63892-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Fisher, G.B., Bookhagen, B. and Amos, C.B. (2013) Channel Planform Geometry and Slopes from Freely Available High-Spatial Resolution Imagery and DEM Fusion: Implications for Channel Width Scalings, Erosion Proxies, and Fluvial Signatures in Tectonically Active Landscapes. Geomorphology, 194, 46-56.  
http://dx.doi.org/10.1016/j.geomorph.2013.04.011</mixed-citation></ref><ref id="scirp.63892-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Pavelsky, T.M. and Smith, L.C. (2008) RivWidth: A Software Tool for the Calculation of River Widths from Remotely Sensed Imagery. IEEE Geoscience and Remote Sensing Letters, 5, 70-73.</mixed-citation></ref><ref id="scirp.63892-ref6"><label>6</label><mixed-citation publication-type="book" xlink:type="simple">Haiyong, L. and Lihong, S. (2009) Double-Line River Axis Extraction Based on Delaunay Triangulation. In: Yaolin, L. and Xinming, T., Eds., Proceeding SPIE 7492, International Symposium on Spatial Analysis, Spatial-Temporal Data Modeling, and Data Mining, Wuhan, China, 13 October 2009.</mixed-citation></ref><ref id="scirp.63892-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Lauer, J.W. (2006) Channel Planform Statistics Toolbox. National Center for Earth-surface Dynamics. Minneapolis, MN 55414. http://www.nced.umn.edu/system/files/PlanformStatisticsTools_0.ppt</mixed-citation></ref><ref id="scirp.63892-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Casagrande, L., Cencetti, C., De Rosa, P., Fredduzzi, A., Martinelli, A. and Minelli, A. (2011) L’Utilizzo dei GFOSS nel Calcolo dell’Indice di Qualità Morfologica (IQM) dei Corsi d’Acqua. Geomatics Workbooks, 10, 57-78.  
http://geomatica.como.polimi.it/workbooks/n10/GW10-FOSS4Git_2011.pdf</mixed-citation></ref><ref id="scirp.63892-ref9"><label>9</label><mixed-citation publication-type="book" xlink:type="simple">Thorne, C.R. (1997) Channel Types and Morphological Classification. In: Thorne, C.R., Hey, R.D. and Newson, M.D., Eds., Applied Fluvial Geomorphology for River Engineering and Management, John Wiley &amp; Sons Ltd., 175-222.</mixed-citation></ref><ref id="scirp.63892-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Ashmore, P. (1991) Channel Morphology and the Bed Load Pulses in Braided, Gravel-Bed Streams. Geografiska Annaler, 73A, 37-52. http://dx.doi.org/10.2307/521212</mixed-citation></ref><ref id="scirp.63892-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Egozi, R. and Ashmore, P. (2008) Defining and Measuring Braiding Intensity. Earth Surface Processes and Landforms, 33, 2121-2138. http://dx.doi.org/10.1002/esp.1658</mixed-citation></ref><ref id="scirp.63892-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Schumm, S.A. (1963) Sinuosity of Alluvial Rivers on the Great Plains. Geological Society of America Bulletin, 74, 1089-1100. http://dx.doi.org/10.1130/0016-7606(1963)74[1089:SOAROT]2.0.CO;2</mixed-citation></ref></ref-list></back></article>