[GRASS-SVN] r32953 - grass-addons/gipe/i.eb.eta
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 20 19:26:57 EDT 2008
Author: ychemin
Date: 2008-08-20 19:26:56 -0400 (Wed, 20 Aug 2008)
New Revision: 32953
Modified:
grass-addons/gipe/i.eb.eta/main.c
Log:
Code cleaning
Modified: grass-addons/gipe/i.eb.eta/main.c
===================================================================
--- grass-addons/gipe/i.eb.eta/main.c 2008-08-20 23:26:50 UTC (rev 32952)
+++ grass-addons/gipe/i.eb.eta/main.c 2008-08-20 23:26:56 UTC (rev 32953)
@@ -19,13 +19,12 @@
#include <grass/gis.h>
#include <grass/glocale.h>
-
double et_a(double r_net_day, double evap_fr, double tempk);
int main(int argc, char *argv[])
{
- struct Cell_head cellhd; //region+header info
- char *mapset; // mapset name
+ struct Cell_head cellhd; /*region+header info*/
+ char *mapset; /*mapset name*/
int nrows, ncols;
int row,col;
@@ -33,13 +32,13 @@
struct Option *input1, *input2, *input3, *output1;
struct Flag *flag1;
- struct History history; //metadata
+ struct History history; /*metadata*/
/************************************/
/* FMEO Declarations*****************/
- char *name; // input raster name
- char *result1; //output raster name
- //File Descriptors
+ char *name; /*input raster name*/
+ char *result1; /*output raster name*/
+ /*File Descriptors*/
int infd_rnetday, infd_evapfr, infd_tempk;
int outfd1;
More information about the grass-commit
mailing list