[GRASS-SVN] r31721 - grass-addons/raster/r.sun_horizon/r.horizon
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 16 10:24:36 EDT 2008
Author: hamish
Date: 2008-06-16 10:24:36 -0400 (Mon, 16 Jun 2008)
New Revision: 31721
Modified:
grass-addons/raster/r.sun_horizon/r.horizon/main.c
Log:
parser fixes for coord= option
Modified: grass-addons/raster/r.sun_horizon/r.horizon/main.c
===================================================================
--- grass-addons/raster/r.sun_horizon/r.horizon/main.c 2008-06-16 14:19:43 UTC (rev 31720)
+++ grass-addons/raster/r.sun_horizon/r.horizon/main.c 2008-06-16 14:24:36 UTC (rev 31721)
@@ -1,4 +1,3 @@
-
/*******************************************************************************
r.horizon: This module does one of two things:
@@ -12,7 +11,6 @@
This program was written in 2006 by Tfomas Huld and Tomas Cebecauer,
Joint Research Centre of the European Commission, based on bits of the r.sun module by Jaro Hofierka
-
*******************************************************************************/
/*
* This program is free software; you can redistribute it and/or
@@ -307,7 +305,8 @@
parm.coord = G_define_option();
parm.coord->key = "coord";
- parm.coord->type = TYPE_STRING;
+ parm.coord->type = TYPE_DOUBLE;
+ parm.coord->key_desc = "east,north";
parm.coord->required = NO;
parm.coord->description =
_("Coordinate for which you want to calculate the horizon");
More information about the grass-commit
mailing list