[GRASS-SVN] r43769 - in grass-addons/HydroFOSS: . r.evapo.PM r.interception

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 3 00:39:02 EDT 2010


Author: hamish
Date: 2010-10-03 04:39:02 +0000 (Sun, 03 Oct 2010)
New Revision: 43769

Modified:
   grass-addons/HydroFOSS/Makefile
   grass-addons/HydroFOSS/README.txt
   grass-addons/HydroFOSS/r.evapo.PM/Makefile
   grass-addons/HydroFOSS/r.evapo.PM/description.html
   grass-addons/HydroFOSS/r.evapo.PM/functions.c
   grass-addons/HydroFOSS/r.evapo.PM/local_proto.h
   grass-addons/HydroFOSS/r.evapo.PM/main.c
   grass-addons/HydroFOSS/r.interception/Makefile
   grass-addons/HydroFOSS/r.interception/description.html
   grass-addons/HydroFOSS/r.interception/main.c
Log:
svn props, consistent newlines


Property changes on: grass-addons/HydroFOSS/Makefile
___________________________________________________________________
Deleted: svn:executable
   - *
Added: svn:mime-type
   + text/x-makefile
Added: svn:eol-style
   + native


Property changes on: grass-addons/HydroFOSS/README.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:keywords
   + Author Date Id
Added: svn:eol-style
   + native


Property changes on: grass-addons/HydroFOSS/r.evapo.PM/Makefile
___________________________________________________________________
Added: svn:mime-type
   + text/x-makefile
Added: svn:eol-style
   + native

Modified: grass-addons/HydroFOSS/r.evapo.PM/description.html
===================================================================
--- grass-addons/HydroFOSS/r.evapo.PM/description.html	2010-10-03 04:31:04 UTC (rev 43768)
+++ grass-addons/HydroFOSS/r.evapo.PM/description.html	2010-10-03 04:39:02 UTC (rev 43769)
@@ -1,168 +1,167 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>r.evapo.PM</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link rel="stylesheet" href="grassdocs.css" type="text/css">
-</head>
-<body bgcolor="white">
-
-<img src="grass.smlogo.gif" alt="GRASS logo"><hr align=center size=6 noshade>
-
-<H2>NAME</H2> <B><I>r.evapo.PM </I></B>- computation of <i>potential evapotranspiration</i> [mm/h] for hourly time step.
-
-<P><I>(GRASS Raster Program)</I>
-
-<H2>SYNOPSIS</H2>
-<B>r.evapo.PM</B>
-<BR>
-<B>r.evapo.PM</B> help</br>
-<BR>
-
-<B>r.evapo.PM</b> <b>[ -qzn ]</b>
-
-<b>DEM</b>=name
-<b>T</b>=name
-<b>RH</b>=name
-<b>WS</b>=name
-<b>NSR</b>=name
-<b>Vh</b>=name
-<b>ETP</b>=name
-
-<H2>DESCRIPTION</H2>
-
-<p><EM>r.evapo.PM</EM> given the vegetation height (hc), humidity (RU), 
-wind speed at two meters height (WS), temperature (T), digital terrain model (DEM), 
-and net radiation (NSR) raster input maps, 
-calculates the potential evapotranspiration map (EPo).
-
-<p>Optionally the user can activate a flag (-z) 
-that allows him setting to zero all of the negative evapotranspiration cells; 
-in fact these negative values motivated by the condensation of the air water 
-vapour content, are sometime undesired because they can produce  computational 
-problems. The usage of the flag -n detect that the module is run in night hours 
-and the appropriate soil heat flux is calculated.
-
-<p>The algorithm implements well known approaches: the hourly Penman-Monteith method as presented in Allen et al. (1998) for land surfaces and the Penman method (Penman, 1948) for water surfaces.<br>
-
-<p>Land and water surfaces are idenfyied by Vh:<br>
--	where Vh>0 vegetation is present and evapotranspiration is calculated;<br>
--	where Vh=0 bare ground is present and evapotranspiration is calculated;<br>
--	where Vh<0 water surface is present and evaporation is calculated;<br>
-
-<p>For more details on the algorithms see [1,2,3].
-
-
-<H2>OPTIONS</H2>
-
-The program will run non-interactively if the user specifies program
-arguments and flag settings on the command line using the following
-form:
-
-<P><B>r.evapo.PM</b> <b>[ -qzd ]</b>
-<b>DEM</b>=name
-<b>T</b>=name
-<b>RH</b>=name
-<b>WS</b>=name
-<b>NSR</b>=name
-<b>Vh</b>=name
-<b>ETP</b>=name
-
-
-
-<P>Alternatively, the user can simply type <EM>r.evapo.PM</EM> on the
-command line and the program will ask for parameter values and flag
-settings interactively, using the standard GRASS parser interface.
-
-
-<H3>Flags:</H3>
-<dl>
-  <dt><B>-q</B>
-   <dd>Run quietly (do not display status messages). By default
-   <EM>r.evapo.PM</EM> is run verbosely.
- <dt><B>-z</B>
-  <dd>Set negative calculated evapotranspiration values to zero.
- <dt><B>-n</B>
-  <dd>Calculate soil heat flux for night time. By default 
-  <EM>r.evapo.PM</EM> calculate it for day time.
-</dl>
-
-
-<H3>Parameters:</H3>
-<dl>
- <dt><B>DEM</B>=<I>name</I>
- <dd>Input elevation raster [m a.s.l.]. Required.</dd>
-
- <dt><b>T</b>=<I>name</I>
- <dd>Input temperature raster [°C]. Required.</dd>
-
- <dt><b>RH</b> =<I>name</I>
- <dd>Input relative humidity raster [%]. Required.</dd>
-
- <dt><b>WS</b> =<I>name</I>
- <dd>Input wind speed at two meters raster [m/s]. Required.</dd>
-
- <dt><b>NSR</b> =<I>name</I>
- <dd>Input net solar radiation raster [MJ/(m2*h)]. Required.</dd>
-
- <dt><b>Vh</b> =<I>name</I>
- <dd>Input vegetation heigth raster [m]. Required.</dd>
-
- <dt><b>ETP</b> =<I>name</I>
- <dd>Output evapotranspiration raster [mm/h]. Required.</dd>
-
-</dl>
-      
-
-<H2>NOTES</H2>
-
-<p>Net solar radiation map in MJ/(m2*h) can be computed from the combination of the r.sun , 
-run in mode 1, and the r.mapcalc commands.
-
-<p>The sum of the three radiation components outputted by r.sun (beam, diffuse, and reflected) 
-multiplied by the Wh->Mj conversion factor (0.0036) and optionally by a 
-clear sky factor [0-1] allows the generation of a map to be used as 
-an NSR input for the <EM>r.evapo.PM</EM> command.
-<dt>example:
-<br><dd>r.sun -s elevin=dem aspin=aspect slopein=slope lin=2 albedo=alb_Mar incidout=out beam_rad=beam diff_rad=diffuse refl_rad=reflected day=73 time=13:00 dist=100;
-<br><dd>r.mapcalc 'NSR=0.0036*(beam+diffuse+reflected)';
-
-
-<H2>SEE ALSO</H2>
-<ul>
-  <li>The <a href="http://istgis.ist.supsi.ch:8001/geomatica/">HydroFOSS</a> 
-project at IST-SUPSI (Institute of Earth Sciences - University school of applied science for the Southern Switzerland)
-       
-  <li><a href=r.sun.html>r.sun</a>,
-      <a href=r.mapcalc.html>r.mapcal</a>
-</ul>
-
-
-
-<H2>AUTHORS</H2>
-  
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title>r.evapo.PM</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="grassdocs.css" type="text/css">
+</head>
+<body bgcolor="white">
+
+<img src="grass.smlogo.gif" alt="GRASS logo"><hr align=center size=6 noshade>
+
+<H2>NAME</H2> <B><I>r.evapo.PM </I></B>- computation of <i>potential evapotranspiration</i> [mm/h] for hourly time step.
+
+<P><I>(GRASS Raster Program)</I>
+
+<H2>SYNOPSIS</H2>
+<B>r.evapo.PM</B>
+<BR>
+<B>r.evapo.PM</B> help</br>
+<BR>
+
+<B>r.evapo.PM</b> <b>[ -qzn ]</b>
+
+<b>DEM</b>=name
+<b>T</b>=name
+<b>RH</b>=name
+<b>WS</b>=name
+<b>NSR</b>=name
+<b>Vh</b>=name
+<b>ETP</b>=name
+
+<H2>DESCRIPTION</H2>
+
+<p><EM>r.evapo.PM</EM> given the vegetation height (hc), humidity (RU), 
+wind speed at two meters height (WS), temperature (T), digital terrain model (DEM), 
+and net radiation (NSR) raster input maps, 
+calculates the potential evapotranspiration map (EPo).
+
+<p>Optionally the user can activate a flag (-z) 
+that allows him setting to zero all of the negative evapotranspiration cells; 
+in fact these negative values motivated by the condensation of the air water 
+vapour content, are sometime undesired because they can produce  computational 
+problems. The usage of the flag -n detect that the module is run in night hours 
+and the appropriate soil heat flux is calculated.
+
+<p>The algorithm implements well known approaches: the hourly Penman-Monteith method as presented in Allen et al. (1998) for land surfaces and the Penman method (Penman, 1948) for water surfaces.<br>
+
+<p>Land and water surfaces are idenfyied by Vh:<br>
+-	where Vh>0 vegetation is present and evapotranspiration is calculated;<br>
+-	where Vh=0 bare ground is present and evapotranspiration is calculated;<br>
+-	where Vh<0 water surface is present and evaporation is calculated;<br>
+
+<p>For more details on the algorithms see [1,2,3].
+
+
+<H2>OPTIONS</H2>
+
+The program will run non-interactively if the user specifies program
+arguments and flag settings on the command line using the following
+form:
+
+<P><B>r.evapo.PM</b> <b>[ -qzd ]</b>
+<b>DEM</b>=name
+<b>T</b>=name
+<b>RH</b>=name
+<b>WS</b>=name
+<b>NSR</b>=name
+<b>Vh</b>=name
+<b>ETP</b>=name
+
+
+
+<P>Alternatively, the user can simply type <EM>r.evapo.PM</EM> on the
+command line and the program will ask for parameter values and flag
+settings interactively, using the standard GRASS parser interface.
+
+
+<H3>Flags:</H3>
+<dl>
+  <dt><B>-q</B>
+   <dd>Run quietly (do not display status messages). By default
+   <EM>r.evapo.PM</EM> is run verbosely.
+ <dt><B>-z</B>
+  <dd>Set negative calculated evapotranspiration values to zero.
+ <dt><B>-n</B>
+  <dd>Calculate soil heat flux for night time. By default 
+  <EM>r.evapo.PM</EM> calculate it for day time.
+</dl>
+
+
+<H3>Parameters:</H3>
+<dl>
+ <dt><B>DEM</B>=<I>name</I>
+ <dd>Input elevation raster [m a.s.l.]. Required.</dd>
+
+ <dt><b>T</b>=<I>name</I>
+ <dd>Input temperature raster [°C]. Required.</dd>
+
+ <dt><b>RH</b> =<I>name</I>
+ <dd>Input relative humidity raster [%]. Required.</dd>
+
+ <dt><b>WS</b> =<I>name</I>
+ <dd>Input wind speed at two meters raster [m/s]. Required.</dd>
+
+ <dt><b>NSR</b> =<I>name</I>
+ <dd>Input net solar radiation raster [MJ/(m2*h)]. Required.</dd>
+
+ <dt><b>Vh</b> =<I>name</I>
+ <dd>Input vegetation heigth raster [m]. Required.</dd>
+
+ <dt><b>ETP</b> =<I>name</I>
+ <dd>Output evapotranspiration raster [mm/h]. Required.</dd>
+
+</dl>
+      
+
+<H2>NOTES</H2>
+
+<p>Net solar radiation map in MJ/(m2*h) can be computed from the combination of the r.sun , 
+run in mode 1, and the r.mapcalc commands.
+
+<p>The sum of the three radiation components outputted by r.sun (beam, diffuse, and reflected) 
+multiplied by the Wh->Mj conversion factor (0.0036) and optionally by a 
+clear sky factor [0-1] allows the generation of a map to be used as 
+an NSR input for the <EM>r.evapo.PM</EM> command.
+<dt>example:
+<br><dd>r.sun -s elevin=dem aspin=aspect slopein=slope lin=2 albedo=alb_Mar incidout=out beam_rad=beam diff_rad=diffuse refl_rad=reflected day=73 time=13:00 dist=100;
+<br><dd>r.mapcalc 'NSR=0.0036*(beam+diffuse+reflected)';
+
+
+<H2>SEE ALSO</H2>
+<ul>
+  <li>The <a href="http://istgis.ist.supsi.ch:8001/geomatica/">HydroFOSS</a> 
+project at IST-SUPSI (Institute of Earth Sciences - University school of applied science for the Southern Switzerland)
+       
+  <li><a href=r.sun.html>r.sun</a>,
+      <a href=r.mapcalc.html>r.mapcal</a>
+</ul>
+
+
+
+<H2>AUTHORS</H2>
+  
   <p>Original version of program: The <a href="http://istgis.ist.supsi.ch:8001/geomatica/index.php?id=1">HydroFOSS</a> project, 2006, IST-SUPSI. (http://istgis.ist.supsi.ch:8001/geomatica/index.php?id=1)
-  <i>
-   <br>Massimiliano Cannata, Scuola Universitaria Professionale della Svizzera Italiana - Istituto Scienze della Terra
+  <i>
+   <br>Massimiliano Cannata, Scuola Universitaria Professionale della Svizzera Italiana - Istituto Scienze della Terra
    <br>Maria A. Brovelli, Politecnico di Milano - Polo regionale di Como
-  </i>
-        
-  <p>Contact: <a href="mailto:massimiliano.cannata at supsi.ch"> Massimiliano Cannata</a>
-
-
-<H2>REFERENCES</H2>
-
-  <p>[1] Cannata M., 2006. <A HREF="http://istgis.ist.supsi.ch:8001/geomatica/index.php?id=1">
+  </i>
+        
+  <p>Contact: <a href="mailto:massimiliano.cannata at supsi.ch"> Massimiliano Cannata</a>
+
+
+<H2>REFERENCES</H2>
+
+  <p>[1] Cannata M., 2006. <A HREF="http://istgis.ist.supsi.ch:8001/geomatica/index.php?id=1">
   GIS embedded approach for Free & Open Source Hydrological Modelling</A>. PhD thesis, Department of Geodesy and Geomatics, Polytechnic of Milan, Italy.
-
-  <p>[2] Allen, R.G., L.S. Pereira, D. Raes, and M. Smith. 1998. 
-  Crop Evapotranspiration: Guidelines for computing crop water requirements. 
-  Irrigation and Drainage Paper 56, Food and Agriculture Organization of the 
-  United Nations, Rome, pp. 300
-       
-  <p>[3] Penman, H. L. 1948. Natural evaporation from open water, 
-  bare soil and grass. Proc. Roy. Soc. London, A193, pp. 120-146. 
-
-<p><i>Last changed: $Date: 2007/07/29 19:30:00 $</i>
-</body>
-</html>
+
+  <p>[2] Allen, R.G., L.S. Pereira, D. Raes, and M. Smith. 1998. 
+  Crop Evapotranspiration: Guidelines for computing crop water requirements. 
+  Irrigation and Drainage Paper 56, Food and Agriculture Organization of the 
+  United Nations, Rome, pp. 300
+  <p>[3] Penman, H. L. 1948. Natural evaporation from open water, 
+  bare soil and grass. Proc. Roy. Soc. London, A193, pp. 120-146. 
+
+<p><i>Last changed: $Date$</i>
+</body>
+</html>


Property changes on: grass-addons/HydroFOSS/r.evapo.PM/description.html
___________________________________________________________________
Deleted: svn:executable
   - *
Added: svn:mime-type
   + text/html
Added: svn:keywords
   + Author Date Id
Added: svn:eol-style
   + native


Property changes on: grass-addons/HydroFOSS/r.evapo.PM/functions.c
___________________________________________________________________
Added: svn:mime-type
   + text/x-csrc
Added: svn:eol-style
   + native


Property changes on: grass-addons/HydroFOSS/r.evapo.PM/local_proto.h
___________________________________________________________________
Added: svn:mime-type
   + text/x-chdr
Added: svn:eol-style
   + native

Modified: grass-addons/HydroFOSS/r.evapo.PM/main.c
===================================================================
--- grass-addons/HydroFOSS/r.evapo.PM/main.c	2010-10-03 04:31:04 UTC (rev 43768)
+++ grass-addons/HydroFOSS/r.evapo.PM/main.c	2010-10-03 04:39:02 UTC (rev 43769)
@@ -30,7 +30,7 @@
 	DCELL d_EPo;
 	
 	int d_night;
-	
+	
         struct History history;
 	struct GModule *module;
 	struct Option *input_DEM, *input_T, *input_RH, *input_u2, *input_Rn, *input_hc, *output;
@@ -41,7 +41,7 @@
 	
 	module = G_define_module();
 	module->description = _("Potontial Evapotranspiration Calculation with hourly Penman-Monteith");
-	
+
 	/* Define different options */
 	input_DEM = G_define_option();
 	input_DEM->key	= "DEM";
@@ -257,9 +257,9 @@
 	G_close_cell (infd_hc);
 	G_close_cell (outfd);
 	
-        /* add command line incantation to history file */
-        G_short_history(output, "raster", &history);
-        G_command_history(&history);
+        /* add command line incantation to history file */
+        G_short_history(output, "raster", &history);
+        G_command_history(&history);
         G_write_history(output, &history);
 
 	exit(EXIT_SUCCESS);


Property changes on: grass-addons/HydroFOSS/r.evapo.PM/main.c
___________________________________________________________________
Added: svn:mime-type
   + text/x-csrc
Added: svn:eol-style
   + native


Property changes on: grass-addons/HydroFOSS/r.interception/Makefile
___________________________________________________________________
Deleted: svn:executable
   - *
Added: svn:mime-type
   + text/x-makefile
Added: svn:eol-style
   + native

Modified: grass-addons/HydroFOSS/r.interception/description.html
===================================================================
--- grass-addons/HydroFOSS/r.interception/description.html	2010-10-03 04:31:04 UTC (rev 43768)
+++ grass-addons/HydroFOSS/r.interception/description.html	2010-10-03 04:39:02 UTC (rev 43769)
@@ -1,152 +1,152 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>h.interception</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link rel="stylesheet" href="grassdocs.css" type="text/css">
-</head>
-<body bgcolor="white">
-
-<img src="grass.smlogo.gif" alt="GRASS logo"><hr align=center size=6 noshade>
-
-<H2>NAME</H2> <B><I>h.interception </I></B>
-- computation of the water loss, drainage, and storage due 
-to <i>canopy rainfall interception</i>.
-
-<P><I>(GRASS Raster Program)</I>
-
-<H2>SYNOPSIS</H2>
-<B>h.interception</B><BR>
-<B>h.interception</B> help<BR>
-<B>h.interception</b>
-<b>LAI</b>=name
-<b>ETPls</b>=name
-<b>Co</b>=name
-<b>R</b>=name
-[<b>Ts</b>=name]
-<b>Vc</b>=name
-<b>IL</b>=name
-<b>D</b>=name
-<b>Ct</b>=name
-
-<H2>DESCRIPTION</H2>
-
-<p><EM>h.interception</EM> 
-given the LAI [-], the ETPls [mm/h], the leaf storage level at
-the previous step Co [mm], the rain R [mm/h], the timestep Ts [h],
-and the vegetation density Vc [%] the command estimates the interception
-losses IL [mm], the drainage D [mm] and the canopy storage level at
-the end of the step Ct [mm].
-
-<p>This algorithm is a modification of the Rutter model
-in order to take into account the temporal variability of the rainfall.<br>
-
-<p>For more details on the algorithms see the references.
-
-
-<H2>OPTIONS</H2>
-
-The program will run non-interactively if the user specifies program
-arguments settings on the command line using the following
-form:<br>
-
-<B>h.interception</b>
-<b>LAI</b>=name
-<b>ETPls</b>=name
-<b>Co</b>=name
-<b>R</b>=name
-[<b>Ts</b>=name]
-<b>Vc</b>=name
-<b>IL</b>=name
-<b>D</b>=name
-<b>Ct</b>=name
-
-
-
-<P>Alternatively, the user can simply type <EM>h.interception</EM> on the
-command line and the program will ask for parameter values 
-settings interactively, using the standard GRASS parser interface.
-
-<H3>Parameters:</H3>
-<dl>
- <dt><B>LAI</B>=<I>name</I>
- <dd>Input: Leaf Area Index raster map [-]. Required.</dd>
-
- <dt><b>ETPls</b>=<I>name</I>
- <dd>Input: Potential Evapotranspiration for a liquid surface raster map [mm/h]. Required.</dd>
-
- <dt><b>Co</b> =<I>name</I>
- <dd>Input: initial canopy storage level raster map [mm]. Required.</dd>
-
- <dt><b>R</b> =<I>name</I>
- <dd>Input: rainfall intensity raster map [mm/h]. Required.</dd>
-
- <dt><b>Ts</b> =<I>name</I>
- <dd>Input: camputational time step value [h]. Optional (default 1).</dd>
-
- <dt><b>Vc</b> =<I>name</I>
- <dd>Input: vegetatin cover raster map [%]. Required.</dd>
-
- <dt><b>IL</b> =<I>name</I>
- <dd>Output: estimated interception losses raster map [mm]. Required.</dd>
- 
- <dt><b>D</b> =<I>name</I>
- <dd>Output: estimated drained water raster map [mm]. Required.</dd>
- 
- <dt><b>Ct</b> =<I>name</I>
- <dd>Output: estimated canopy storage level raster map [mm] at the end of the timestep. Required.</dd>
-
-</dl>
-      
-
-<H2>NOTES</H2>
-
-<p>The estimated D raster map (water drained from the vegetation to the groud)
-is calculated for each cell on the basis of the vegetation cover fraction. 
-In order to evaluate the total water reaching the groud, and therefore 
-available for runoff and infiltration, this quantity should be sommed to 
-the rain directly falling to the ground, and eventually to the water 
-caming from the snowmelt.
-
-<p>The sum of these three components outputted can be calculated by means
- of teh r.mapcalc command. 
-<dt>example:
-<br><dd>r.mapcalc 'NETrain = D + (1-Vc)*R + snowmelt';
-
-
-<H2>SEE ALSO</H2>
-<ul>
-  <li>The <a href="http://istgis.ist.supsi.ch:8001/geomatica/">HydroFOSS</a> 
-project at IST-SUPSI (Institute of Earth Sciences - University school of applied science for the Southern Switzerland)
-       
-  <li><a href=r.evapo.PM.html>r.evapo.PM</a>,
-      <a href=r.mapcalc.html>r.mapcal</a>,
-      <a href=r.snow.html>r.snow</a>.
-</ul>
-
-
-
-<H2>AUTHORS</H2>
-  
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title>h.interception</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="grassdocs.css" type="text/css">
+</head>
+<body bgcolor="white">
+
+<img src="grass.smlogo.gif" alt="GRASS logo"><hr align=center size=6 noshade>
+
+<H2>NAME</H2> <B><I>h.interception </I></B>
+- computation of the water loss, drainage, and storage due 
+to <i>canopy rainfall interception</i>.
+
+<P><I>(GRASS Raster Program)</I>
+
+<H2>SYNOPSIS</H2>
+<B>h.interception</B><BR>
+<B>h.interception</B> help<BR>
+<B>h.interception</b>
+<b>LAI</b>=name
+<b>ETPls</b>=name
+<b>Co</b>=name
+<b>R</b>=name
+[<b>Ts</b>=name]
+<b>Vc</b>=name
+<b>IL</b>=name
+<b>D</b>=name
+<b>Ct</b>=name
+
+<H2>DESCRIPTION</H2>
+
+<p><EM>h.interception</EM> 
+given the LAI [-], the ETPls [mm/h], the leaf storage level at
+the previous step Co [mm], the rain R [mm/h], the timestep Ts [h],
+and the vegetation density Vc [%] the command estimates the interception
+losses IL [mm], the drainage D [mm] and the canopy storage level at
+the end of the step Ct [mm].
+
+<p>This algorithm is a modification of the Rutter model
+in order to take into account the temporal variability of the rainfall.<br>
+
+<p>For more details on the algorithms see the references.
+
+
+<H2>OPTIONS</H2>
+
+The program will run non-interactively if the user specifies program
+arguments settings on the command line using the following
+form:<br>
+
+<B>h.interception</b>
+<b>LAI</b>=name
+<b>ETPls</b>=name
+<b>Co</b>=name
+<b>R</b>=name
+[<b>Ts</b>=name]
+<b>Vc</b>=name
+<b>IL</b>=name
+<b>D</b>=name
+<b>Ct</b>=name
+
+
+
+<P>Alternatively, the user can simply type <EM>h.interception</EM> on the
+command line and the program will ask for parameter values 
+settings interactively, using the standard GRASS parser interface.
+
+<H3>Parameters:</H3>
+<dl>
+ <dt><B>LAI</B>=<I>name</I>
+ <dd>Input: Leaf Area Index raster map [-]. Required.</dd>
+
+ <dt><b>ETPls</b>=<I>name</I>
+ <dd>Input: Potential Evapotranspiration for a liquid surface raster map [mm/h]. Required.</dd>
+
+ <dt><b>Co</b> =<I>name</I>
+ <dd>Input: initial canopy storage level raster map [mm]. Required.</dd>
+
+ <dt><b>R</b> =<I>name</I>
+ <dd>Input: rainfall intensity raster map [mm/h]. Required.</dd>
+
+ <dt><b>Ts</b> =<I>name</I>
+ <dd>Input: camputational time step value [h]. Optional (default 1).</dd>
+
+ <dt><b>Vc</b> =<I>name</I>
+ <dd>Input: vegetatin cover raster map [%]. Required.</dd>
+
+ <dt><b>IL</b> =<I>name</I>
+ <dd>Output: estimated interception losses raster map [mm]. Required.</dd>
+ 
+ <dt><b>D</b> =<I>name</I>
+ <dd>Output: estimated drained water raster map [mm]. Required.</dd>
+ 
+ <dt><b>Ct</b> =<I>name</I>
+ <dd>Output: estimated canopy storage level raster map [mm] at the end of the timestep. Required.</dd>
+
+</dl>
+      
+
+<H2>NOTES</H2>
+
+<p>The estimated D raster map (water drained from the vegetation to the groud)
+is calculated for each cell on the basis of the vegetation cover fraction. 
+In order to evaluate the total water reaching the groud, and therefore 
+available for runoff and infiltration, this quantity should be sommed to 
+the rain directly falling to the ground, and eventually to the water 
+caming from the snowmelt.
+
+<p>The sum of these three components outputted can be calculated by means
+ of teh r.mapcalc command. 
+<dt>example:
+<br><dd>r.mapcalc 'NETrain = D + (1-Vc)*R + snowmelt';
+
+
+<H2>SEE ALSO</H2>
+<ul>
+  <li>The <a href="http://istgis.ist.supsi.ch:8001/geomatica/">HydroFOSS</a> 
+project at IST-SUPSI (Institute of Earth Sciences - University school of applied science for the Southern Switzerland)
+       
+  <li><a href=r.evapo.PM.html>r.evapo.PM</a>,
+      <a href=r.mapcalc.html>r.mapcal</a>,
+      <a href=r.snow.html>r.snow</a>.
+</ul>
+
+
+
+<H2>AUTHORS</H2>
+  
 <p>Original version of program: The <a href="http://istgis.ist.supsi.ch:8001/geomatica/index.php?id=1">HydroFOSS</a> project, 2006, IST-SUPSI. (http://istgis.ist.supsi.ch:8001/geomatica/index.php?id=1)
-  <i>
-   <br>Massimiliano Cannata, Scuola Universitaria Professionale della Svizzera Italiana - Istituto Scienze della Terra
+  <i>
+   <br>Massimiliano Cannata, Scuola Universitaria Professionale della Svizzera Italiana - Istituto Scienze della Terra
    <br>Maria A. Brovelli, Politecnico di Milano - Polo regionale di Como
-  </i>
-        
-  <p>Contact: <a href="mailto:massimiliano.cannata at supsi.ch"> Massimiliano Cannata</a>
-
-
-
-<H2>REFERENCES</H2>
-
-  <p>[1] Cannata M., 2006. <A HREF="http://istgis.ist.supsi.ch:8001/geomatica/index.php?id=1">
-  GIS embedded approach for Free & Open Source Hydrological Modelling</A>. PhD thesis, Department of Geodesy and Geomatics, Polytechnic of Milan, Italy.
-
-  <p>Zeng, N., JW Shuttleworth, and J. Gash, 2000. 
-  Influence of temporal variability of rainfall on interception loss. 
-  J. of Hydrology, 228 3-4, 228-241. 
-
-<p><i>Last changed: $Date: 2007/07/29 19:30:00 $</i>
-</body>
-</html>
+  </i>
+        
+  <p>Contact: <a href="mailto:massimiliano.cannata at supsi.ch"> Massimiliano Cannata</a>
+
+
+
+<H2>REFERENCES</H2>
+
+  <p>[1] Cannata M., 2006. <A HREF="http://istgis.ist.supsi.ch:8001/geomatica/index.php?id=1">
+  GIS embedded approach for Free & Open Source Hydrological Modelling</A>. PhD thesis, Department of Geodesy and Geomatics, Polytechnic of Milan, Italy.
+
+  <p>Zeng, N., JW Shuttleworth, and J. Gash, 2000. 
+  Influence of temporal variability of rainfall on interception loss. 
+  J. of Hydrology, 228 3-4, 228-241. 
+
+<p><i>Last changed: $Date$</i>
+</body>
+</html>


Property changes on: grass-addons/HydroFOSS/r.interception/description.html
___________________________________________________________________
Deleted: svn:executable
   - *
Added: svn:mime-type
   + text/html
Added: svn:keywords
   + Author Date Id
Added: svn:eol-style
   + native


Property changes on: grass-addons/HydroFOSS/r.interception/main.c
___________________________________________________________________
Deleted: svn:executable
   - *
Added: svn:mime-type
   + text/x-csrc
Added: svn:eol-style
   + native



More information about the grass-commit mailing list