[GRASS-SVN] r33958 - grass-addons/raster/r.sun_horizon/r.sun2
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 21 17:26:46 EDT 2008
Author: neteler
Date: 2008-10-21 17:26:46 -0400 (Tue, 21 Oct 2008)
New Revision: 33958
Modified:
grass-addons/raster/r.sun_horizon/r.sun2/main.c
Log:
added missing guisections
Modified: grass-addons/raster/r.sun_horizon/r.sun2/main.c
===================================================================
--- grass-addons/raster/r.sun_horizon/r.sun2/main.c 2008-10-21 21:11:01 UTC (rev 33957)
+++ grass-addons/raster/r.sun_horizon/r.sun2/main.c 2008-10-21 21:26:46 UTC (rev 33958)
@@ -256,6 +256,7 @@
parm.elevin->required = YES;
parm.elevin->gisprompt = "old,cell,raster";
parm.elevin->description = _("Name of the input elevation raster map [meters]");
+ parm.elevin->guisection = _("Input_options");
parm.aspin = G_define_option();
parm.aspin->key = "aspin";
@@ -263,6 +264,7 @@
parm.aspin->required = NO;
parm.aspin->gisprompt = "old,cell,raster";
parm.aspin->description = _("Name of the input aspect map (terrain aspect or azimuth of the solar panel) [decimal degrees]");
+ parm.aspin->guisection = _("Input_options");
parm.aspect = G_define_option();
parm.aspect->key = "aspect";
@@ -271,6 +273,7 @@
parm.aspect->required = NO;
parm.aspect->description =
_("A single value of the orientation (aspect), 270 is south");
+ parm.aspect->guisection = _("Input_options");
parm.slopein = G_define_option();
parm.slopein->key = "slopein";
@@ -278,6 +281,7 @@
parm.slopein->required = NO;
parm.slopein->gisprompt = "old,cell,raster";
parm.slopein->description = _("Name of the input slope raster map (terrain slope or solar panel inclination) [decimal degrees]");
+ parm.slopein->guisection = _("Input_options");
parm.slope = G_define_option();
parm.slope->key = "slope";
@@ -285,6 +289,7 @@
parm.slope->answer = SLOPE;
parm.slope->required = NO;
parm.slope->description = _("A single value of inclination (slope)");
+ parm.slope->guisection = _("Input_options");
parm.linkein = G_define_option();
parm.linkein->key = "linkein";
@@ -293,6 +298,7 @@
parm.linkein->gisprompt = "old,cell,raster";
parm.linkein->description =
_("Name of the Linke atmospheric turbidity coefficient input raster map [-]");
+ parm.linkein->guisection = _("Input_options");
if (parm.linkein->answer == NULL) {
parm.lin = G_define_option();
@@ -302,6 +308,7 @@
parm.lin->required = NO;
parm.lin->description =
_("A single value of the Linke atmospheric turbidity coefficient [-]");
+ parm.lin->guisection = _("Input_options");
}
parm.albedo = G_define_option();
@@ -310,6 +317,7 @@
parm.albedo->required = NO;
parm.albedo->gisprompt = "old,cell,raster";
parm.albedo->description = _("Name of the ground albedo coefficient input raster map [-]");
+ parm.albedo->guisection = _("Input_options");
if (parm.albedo->answer == NULL) {
parm.alb = G_define_option();
@@ -318,6 +326,7 @@
parm.alb->answer = ALB;
parm.alb->required = NO;
parm.alb->description = _("A single value of the ground albedo coefficient [-]");
+ parm.alb->guisection = _("Input_options");
}
parm.latin = G_define_option();
@@ -326,6 +335,7 @@
parm.latin->required = NO;
parm.latin->gisprompt = "old,cell,raster";
parm.latin->description = _("Name of the latitudes input raster map [decimal degrees]");
+ parm.latin->guisection = _("Input_options");
if (parm.latin->answer == NULL) {
parm.lat = G_define_option();
@@ -333,6 +343,7 @@
parm.lat->type = TYPE_DOUBLE;
parm.lat->required = NO;
parm.lat->description = _("A single value of latitude [decimal degrees]");
+ parm.lat->guisection = _("Input_options");
}
parm.longin = G_define_option();
@@ -341,8 +352,8 @@
parm.longin->required = NO;
parm.longin->gisprompt = "old,cell,raster";
parm.longin->description = _("Name of the longitude input raster map [decimal degrees]");
+ parm.longin->guisection = _("Input_options");
-
parm.coefbh = G_define_option();
parm.coefbh->key = "coefbh";
parm.coefbh->type = TYPE_STRING;
@@ -350,6 +361,7 @@
parm.coefbh->gisprompt = "old,cell,raster";
parm.coefbh->description =
_("Name of real-sky beam radiation coefficient raster map [-]");
+ parm.coefbh->guisection = _("Input_options");
parm.coefdh = G_define_option();
parm.coefdh->key = "coefdh";
@@ -358,14 +370,15 @@
parm.coefdh->gisprompt = "old,cell,raster";
parm.coefdh->description =
_("Name of real-sky diffuse radiation coefficient raster map [-]");
+ parm.coefdh->guisection = _("Input_options");
-
parm.horizon = G_define_option();
parm.horizon->key = "horizon";
parm.horizon->type = TYPE_STRING;
parm.horizon->required = NO;
parm.horizon->gisprompt = "old,cell,raster";
parm.horizon->description = _("The horizon information file prefix");
+ parm.horizon->guisection = _("Input_options");
parm.horizonstep = G_define_option();
parm.horizonstep->key = "horizonstep";
@@ -373,52 +386,53 @@
parm.horizonstep->required = NO;
parm.horizonstep->description =
_("Angle step size for the horizon information [degrees]");
+ parm.horizonstep->guisection = _("Input_options");
parm.incidout = G_define_option();
parm.incidout->key = "incidout";
parm.incidout->type = TYPE_STRING;
parm.incidout->required = NO;
- parm.incidout->gisprompt = "old,cell,raster";
parm.incidout->description = _("Output incidence angle raster map (mode 1 only)");
+ parm.incidout->guisection = _("Output_options");
parm.beam_rad = G_define_option();
parm.beam_rad->key = "beam_rad";
parm.beam_rad->type = TYPE_STRING;
parm.beam_rad->required = NO;
- parm.beam_rad->gisprompt = "old,cell,raster";
parm.beam_rad->description =
_("Output beam irradiance [W.m-2] (mode 1) or irradiation raster map [Wh.m-2.day-1] (mode 2)");
+ parm.beam_rad->guisection = _("Output_options");
parm.insol_time = G_define_option();
parm.insol_time->key = "insol_time";
parm.insol_time->type = TYPE_STRING;
parm.insol_time->required = NO;
- parm.insol_time->gisprompt = "old,cell,raster";
parm.insol_time->description = _("Output insolation time raster map [h] (mode 2 only)");
+ parm.insol_time->guisection = _("Output_options");
parm.diff_rad = G_define_option();
parm.diff_rad->key = "diff_rad";
parm.diff_rad->type = TYPE_STRING;
parm.diff_rad->required = NO;
- parm.diff_rad->gisprompt = "old,cell,raster";
parm.diff_rad->description =
_("Output diffuse irradiance [W.m-2] (mode 1) or irradiation raster map [Wh.m-2.day-1] (mode 2)");
+ parm.diff_rad->guisection = _("Output_options");
parm.refl_rad = G_define_option();
parm.refl_rad->key = "refl_rad";
parm.refl_rad->type = TYPE_STRING;
parm.refl_rad->required = NO;
- parm.refl_rad->gisprompt = "old,cell,raster";
parm.refl_rad->description =
_("Output ground reflected irradiance [W.m-2] (mode 1) or irradiation raster map [Wh.m-2.day-1] (mode 2)");
+ parm.refl_rad->guisection = _("Output_options");
parm.glob_rad = G_define_option();
parm.glob_rad->key = "glob_rad";
parm.glob_rad->type = TYPE_STRING;
parm.glob_rad->required = NO;
- parm.glob_rad->gisprompt = "old,cell,raster";
parm.glob_rad->description =
_("Output global (total) irradiance/irradiation [W.m-2] (mode 1) or irradiance/irradiation raster map [Wh.m-2.day-1] (mode 2)");
+ parm.glob_rad->guisection = _("Output_options");
parm.day = G_define_option();
@@ -482,7 +496,7 @@
parm.civilTime->type = TYPE_DOUBLE;
parm.civilTime->required = NO;
parm.civilTime->description =
- _("(optional) The civil time zone value, if none, the time will be local solar time");
+ _("Civil time zone value, if none, the time will be local solar time");
flag.shade = G_define_flag();
More information about the grass-commit
mailing list