Skip to content

Tutorial

N R Callahan edited this page Feb 20, 2015 · 9 revisions

###R.SUN.DISTRIBUTED EXAMPLE

Review the required dependencies to make sure you have everything install correctly

Using all of the Sol components is a relatively simple task. Running a module requires 2 steps. First you need to start the master node.

To start the master node execute the command r.sun.distributed -n "Project Name" -D [Project Directory] DEM.tif

r.sun.distributed specifically calculates a years worth solar insulation models include global irradiation rasters and insulation time rasters. Sol (specifically r.sun.distributed) creates a directory structure which will be required for all subsequent scripts - do not delete or modify if you wish to run further operations included in Sol.

r.sun.distributed will store its outputs in

proj_dir
+-- global
|   +-- daily
|   +-- monthly
|   +-- annual
+-- insol
|   +-- daily
|   +-- monthly
|   +-- annual

Notes:

  • The project name will default to "r.sun.dist" if no name is specified
  • All Sol components run on port 9101, which must be accessible from the outside.
  • DEMs must be in GeoTiff format, ending in .tif
  • If no project directory is specified, the output files will be located in the current working directory.

Clone this wiki locally