Skip to content

Commit

Permalink
r.sun.hourly: fix units in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Jun 28, 2019
1 parent 9e79714 commit f1d1ba3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions grass7/raster/r.sun.hourly/r.sun.hourly.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,25 +119,25 @@
#%option
#% key: beam_rad_basename
#% type: string
#% label: Base name for output beam irradiance raster maps [Wh.m-2]
#% label: Base name for output beam irradiance raster maps [W.m-2]
#% description: Underscore and day number are added to the base name for each map
#%end
#%option
#% key: diff_rad_basename
#% type: string
#% label: Base name for output diffuse irradiance raster maps [Wh.m-2]
#% label: Base name for output diffuse irradiance raster maps [W.m-2]
#% description: Underscore and day number are added to the base name for each map
#%end
#%option
#% key: refl_rad_basename
#% type: string
#% label: Base name for output ground reflected irradiance raster maps [Wh.m-2]
#% label: Base name for output ground reflected irradiance raster maps [W.m-2]
#% description: Underscore and day number are added to the base name for each map
#%end
#%option
#% key: glob_rad_basename
#% type: string
#% label: Base name for output global (total) irradiance raster maps [Wh.m-2]
#% label: Base name for output global (total) irradiance raster maps [W.m-2]
#% description: Underscore and day number are added to the base name for each map
#%end
#%option
Expand Down Expand Up @@ -466,19 +466,19 @@ def registerToTemporal(basename, suffixes, mapset, start_time,
if beam_rad_basename:
registerToTemporal(beam_rad_basename, suffixes_all, mapset, start,
step, title="Beam irradiance",
desc="Output beam irradiance raster maps [Wh.m-2]")
desc="Output beam irradiance raster maps [W.m-2]")
if diff_rad_basename:
registerToTemporal(diff_rad_basename, suffixes_all, mapset, start,
step, title="Diffuse irradiance",
desc="Output diffuse irradiance raster maps [Wh.m-2]")
desc="Output diffuse irradiance raster maps [W.m-2]")
if refl_rad_basename:
registerToTemporal(refl_rad_basename, suffixes_all, mapset, start,
step, title="Reflected irradiance",
desc="Output reflected irradiance raster maps [Wh.m-2]")
desc="Output reflected irradiance raster maps [W.m-2]")
if glob_rad_basename:
registerToTemporal(glob_rad_basename, suffixes_all, mapset, start,
step, title="Total irradiance",
desc="Output total irradiance raster maps [Wh.m-2]")
desc="Output total irradiance raster maps [W.m-2]")
if incidout_basename:
registerToTemporal(incidout_basename, suffixes_all, mapset, start,
step, title="Incidence angle",
Expand Down

0 comments on commit f1d1ba3

Please sign in to comment.