com.esri.arcgis.geoprocessing.tools.spatialanalysttools
Class SolarRadiationGraphics

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.spatialanalysttools.SolarRadiationGraphics
All Implemented Interfaces:
GPTool

public class SolarRadiationGraphics
extends AbstractGPTool

Derives raster representations of a hemispherical viewshed, sunmap, and skymap, which are used in the calculation of direct, diffuse, and global solar radiation. The Solar Radiation Graphics tool is contained in the Spatial Analyst Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
SolarRadiationGraphics()
          Creates the Solar Radiation Graphics tool with defaults.
SolarRadiationGraphics(Object inSurfaceRaster, Object outViewshedRaster)
          Creates the Solar Radiation Graphics tool with the required parameters.
 
Method Summary
 int getAzimuthDivisions()
          Returns the Azimuth divisions parameter of this tool .
 int getCalculationDirections()
          Returns the Calculation directions parameter of this tool .
 int getDayInterval()
          Returns the Day interval parameter of this tool .
 double getHeightOffset()
          Returns the Height offset parameter of this tool .
 double getHourInterval()
          Returns the Hour interval parameter of this tool .
 Object getInPointsFeatureOrTable()
          Returns the Input points feature or table parameter of this tool .
 Object getInSurfaceRaster()
          Returns the Input raster parameter of this tool .
 double getLatitude()
          Returns the Latitude parameter of this tool .
 Object getOutSkymapRaster()
          Returns the Output skymap raster parameter of this tool .
 Object getOutSunmapRaster()
          Returns the Output sunmap raster parameter of this tool .
 Object getOutViewshedRaster()
          Returns the Output viewshed raster parameter of this tool .
 int getSkySize()
          Returns the Sky size / Resolution parameter of this tool .
 Object getTimeConfiguration()
          Returns the Time configuration parameter of this tool .
 String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 String getToolboxName()
          Returns the name of the tool box containing this tool.
 String getToolName()
          Returns the name of this tool.
 int getZenithDivisions()
          Returns the Zenith divisions parameter of this tool .
 void setAzimuthDivisions(int azimuthDivisions)
          Sets the Azimuth divisions parameter of this tool .
 void setCalculationDirections(int calculationDirections)
          Sets the Calculation directions parameter of this tool .
 void setDayInterval(int dayInterval)
          Sets the Day interval parameter of this tool .
 void setHeightOffset(double heightOffset)
          Sets the Height offset parameter of this tool .
 void setHourInterval(double hourInterval)
          Sets the Hour interval parameter of this tool .
 void setInPointsFeatureOrTable(Object inPointsFeatureOrTable)
          Sets the Input points feature or table parameter of this tool .
 void setInSurfaceRaster(Object inSurfaceRaster)
          Sets the Input raster parameter of this tool .
 void setLatitude(double latitude)
          Sets the Latitude parameter of this tool .
 void setOutSkymapRaster(Object outSkymapRaster)
          Sets the Output skymap raster parameter of this tool .
 void setOutSunmapRaster(Object outSunmapRaster)
          Sets the Output sunmap raster parameter of this tool .
 void setOutViewshedRaster(Object outViewshedRaster)
          Sets the Output viewshed raster parameter of this tool .
 void setSkySize(int skySize)
          Sets the Sky size / Resolution parameter of this tool .
 void setTimeConfiguration(Object timeConfiguration)
          Sets the Time configuration parameter of this tool .
 void setZenithDivisions(int zenithDivisions)
          Sets the Zenith divisions parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SolarRadiationGraphics

public SolarRadiationGraphics()
Creates the Solar Radiation Graphics tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


SolarRadiationGraphics

public SolarRadiationGraphics(Object inSurfaceRaster,
                              Object outViewshedRaster)
Creates the Solar Radiation Graphics tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inSurfaceRaster - input elevation surface raster.
outViewshedRaster - the output viewshed raster. the resulting viewshed for a location represents which sky directions are visible and which are obscured. This is similar to the view provided by upward-looking hemispherical ("fisheye") photographs.
Method Detail

getInSurfaceRaster

public Object getInSurfaceRaster()
Returns the Input raster parameter of this tool . This parameter is input elevation surface raster. This is a required parameter.

Returns:
the Input raster

setInSurfaceRaster

public void setInSurfaceRaster(Object inSurfaceRaster)
Sets the Input raster parameter of this tool . This parameter is input elevation surface raster. This is a required parameter.

Parameters:
inSurfaceRaster - input elevation surface raster.

getOutViewshedRaster

public Object getOutViewshedRaster()
Returns the Output viewshed raster parameter of this tool . This parameter is the output viewshed raster. the resulting viewshed for a location represents which sky directions are visible and which are obscured. This is similar to the view provided by upward-looking hemispherical ("fisheye") photographs. This is a required parameter.

Returns:
the Output viewshed raster

setOutViewshedRaster

public void setOutViewshedRaster(Object outViewshedRaster)
Sets the Output viewshed raster parameter of this tool . This parameter is the output viewshed raster. the resulting viewshed for a location represents which sky directions are visible and which are obscured. This is similar to the view provided by upward-looking hemispherical ("fisheye") photographs. This is a required parameter.

Parameters:
outViewshedRaster - the output viewshed raster. the resulting viewshed for a location represents which sky directions are visible and which are obscured. This is similar to the view provided by upward-looking hemispherical ("fisheye") photographs.

getInPointsFeatureOrTable

public Object getInPointsFeatureOrTable()
Returns the Input points feature or table parameter of this tool . This parameter is the input point feature class or table specifying the locations to analyze solar radiation. This is an optional parameter.

Returns:
the Input points feature or table

setInPointsFeatureOrTable

public void setInPointsFeatureOrTable(Object inPointsFeatureOrTable)
Sets the Input points feature or table parameter of this tool . This parameter is the input point feature class or table specifying the locations to analyze solar radiation. This is an optional parameter.

Parameters:
inPointsFeatureOrTable - the input point feature class or table specifying the locations to analyze solar radiation.

getSkySize

public int getSkySize()
Returns the Sky size / Resolution parameter of this tool . This parameter is the resolution or sky size for the viewshed, sky map, and sun map grids. The units are cells. the default creates a raster of 200 x 200 cells. This is an optional parameter.

Returns:
the Sky size / Resolution

setSkySize

public void setSkySize(int skySize)
Sets the Sky size / Resolution parameter of this tool . This parameter is the resolution or sky size for the viewshed, sky map, and sun map grids. The units are cells. the default creates a raster of 200 x 200 cells. This is an optional parameter.

Parameters:
skySize - the resolution or sky size for the viewshed, sky map, and sun map grids. The units are cells. the default creates a raster of 200 x 200 cells.

getHeightOffset

public double getHeightOffset()
Returns the Height offset parameter of this tool . This parameter is the height (in meters) above the DEM surface for which calculations are to be performed. the height offset will be applied to all input locations. This is an optional parameter.

Returns:
the Height offset

setHeightOffset

public void setHeightOffset(double heightOffset)
Sets the Height offset parameter of this tool . This parameter is the height (in meters) above the DEM surface for which calculations are to be performed. the height offset will be applied to all input locations. This is an optional parameter.

Parameters:
heightOffset - the height (in meters) above the DEM surface for which calculations are to be performed. the height offset will be applied to all input locations.

getCalculationDirections

public int getCalculationDirections()
Returns the Calculation directions parameter of this tool . This parameter is the number of azimuth directions used when calculating the viewshed. valid values must be multiples of 8 (8, 16, 24, 32, and so on). The default value is 32 directions, which is adequate for complex topography. This is an optional parameter.

Returns:
the Calculation directions

setCalculationDirections

public void setCalculationDirections(int calculationDirections)
Sets the Calculation directions parameter of this tool . This parameter is the number of azimuth directions used when calculating the viewshed. valid values must be multiples of 8 (8, 16, 24, 32, and so on). The default value is 32 directions, which is adequate for complex topography. This is an optional parameter.

Parameters:
calculationDirections - the number of azimuth directions used when calculating the viewshed. valid values must be multiples of 8 (8, 16, 24, 32, and so on). The default value is 32 directions, which is adequate for complex topography.

getLatitude

public double getLatitude()
Returns the Latitude parameter of this tool . This parameter is the latitude for the site area. The units are decimal degrees, with positive values for the northern hemisphere and negative for the southern. for input surface rasters containing a spatial reference, the mean latitude is automatically calculated; otherwise, latitude will default to 45 degrees. This is an optional parameter.

Returns:
the Latitude

setLatitude

public void setLatitude(double latitude)
Sets the Latitude parameter of this tool . This parameter is the latitude for the site area. The units are decimal degrees, with positive values for the northern hemisphere and negative for the southern. for input surface rasters containing a spatial reference, the mean latitude is automatically calculated; otherwise, latitude will default to 45 degrees. This is an optional parameter.

Parameters:
latitude - the latitude for the site area. The units are decimal degrees, with positive values for the northern hemisphere and negative for the southern. for input surface rasters containing a spatial reference, the mean latitude is automatically calculated; otherwise, latitude will default to 45 degrees.

getTimeConfiguration

public Object getTimeConfiguration()
Returns the Time configuration parameter of this tool . This parameter is specifies the time configuration (period) used for calculating solar radiation. the Time class objects are used to specify the time configuration. the different types of time configurations available are TimeWithinDay, TimeMultiDays, TimeSpecialDays, and TimeWholeYear. the following are the forms: the default time_configuration is TimeMultiDays with the start_day of 5 and end_day of 160, for the current Julian year. This is an optional parameter.

Returns:
the Time configuration

setTimeConfiguration

public void setTimeConfiguration(Object timeConfiguration)
Sets the Time configuration parameter of this tool . This parameter is specifies the time configuration (period) used for calculating solar radiation. the Time class objects are used to specify the time configuration. the different types of time configurations available are TimeWithinDay, TimeMultiDays, TimeSpecialDays, and TimeWholeYear. the following are the forms: the default time_configuration is TimeMultiDays with the start_day of 5 and end_day of 160, for the current Julian year. This is an optional parameter.

Parameters:
timeConfiguration - specifies the time configuration (period) used for calculating solar radiation. the Time class objects are used to specify the time configuration. the different types of time configurations available are TimeWithinDay, TimeMultiDays, TimeSpecialDays, and TimeWholeYear. the following are the forms: the default time_configuration is TimeMultiDays with the start_day of 5 and end_day of 160, for the current Julian year.

getDayInterval

public int getDayInterval()
Returns the Day interval parameter of this tool . This parameter is the time interval through the year (units: days) used for calculation of sky sectors for the sun map. the default value is 14 (biweekly). This is an optional parameter.

Returns:
the Day interval

setDayInterval

public void setDayInterval(int dayInterval)
Sets the Day interval parameter of this tool . This parameter is the time interval through the year (units: days) used for calculation of sky sectors for the sun map. the default value is 14 (biweekly). This is an optional parameter.

Parameters:
dayInterval - the time interval through the year (units: days) used for calculation of sky sectors for the sun map. the default value is 14 (biweekly).

getHourInterval

public double getHourInterval()
Returns the Hour interval parameter of this tool . This parameter is time interval through the day (units: hours) used for calculation of sky sectors for sun maps. the default value is 0.5. This is an optional parameter.

Returns:
the Hour interval

setHourInterval

public void setHourInterval(double hourInterval)
Sets the Hour interval parameter of this tool . This parameter is time interval through the day (units: hours) used for calculation of sky sectors for sun maps. the default value is 0.5. This is an optional parameter.

Parameters:
hourInterval - time interval through the day (units: hours) used for calculation of sky sectors for sun maps. the default value is 0.5.

getOutSunmapRaster

public Object getOutSunmapRaster()
Returns the Output sunmap raster parameter of this tool . This parameter is the output sunmap raster. the output is a representation that specifies sun tracks, the apparent position of the sun as it varies through time. The output is at the same resolution as the viewshed and skymap. This is an optional parameter.

Returns:
the Output sunmap raster

setOutSunmapRaster

public void setOutSunmapRaster(Object outSunmapRaster)
Sets the Output sunmap raster parameter of this tool . This parameter is the output sunmap raster. the output is a representation that specifies sun tracks, the apparent position of the sun as it varies through time. The output is at the same resolution as the viewshed and skymap. This is an optional parameter.

Parameters:
outSunmapRaster - the output sunmap raster. the output is a representation that specifies sun tracks, the apparent position of the sun as it varies through time. The output is at the same resolution as the viewshed and skymap.

getZenithDivisions

public int getZenithDivisions()
Returns the Zenith divisions parameter of this tool . This parameter is the number of divisions used to create sky sectors in the sky map. the default is eight divisions (relative to zenith). Values must be greater than zero and less than half the sky size value. This is an optional parameter.

Returns:
the Zenith divisions

setZenithDivisions

public void setZenithDivisions(int zenithDivisions)
Sets the Zenith divisions parameter of this tool . This parameter is the number of divisions used to create sky sectors in the sky map. the default is eight divisions (relative to zenith). Values must be greater than zero and less than half the sky size value. This is an optional parameter.

Parameters:
zenithDivisions - the number of divisions used to create sky sectors in the sky map. the default is eight divisions (relative to zenith). Values must be greater than zero and less than half the sky size value.

getAzimuthDivisions

public int getAzimuthDivisions()
Returns the Azimuth divisions parameter of this tool . This parameter is the number of divisions used to create sky sectors in the sky map. the default is eight divisions (relative to north). Valid values must be multiples of 8. Values must be greater than zero and less than 160. This is an optional parameter.

Returns:
the Azimuth divisions

setAzimuthDivisions

public void setAzimuthDivisions(int azimuthDivisions)
Sets the Azimuth divisions parameter of this tool . This parameter is the number of divisions used to create sky sectors in the sky map. the default is eight divisions (relative to north). Valid values must be multiples of 8. Values must be greater than zero and less than 160. This is an optional parameter.

Parameters:
azimuthDivisions - the number of divisions used to create sky sectors in the sky map. the default is eight divisions (relative to north). Valid values must be multiples of 8. Values must be greater than zero and less than 160.

getOutSkymapRaster

public Object getOutSkymapRaster()
Returns the Output skymap raster parameter of this tool . This parameter is the output skymap raster. the output is constructed by dividing the whole sky into a series of sky sectors defined by zenith and azimuth divisions. The output is at the same resolution as the viewshed and sunmap. This is an optional parameter.

Returns:
the Output skymap raster

setOutSkymapRaster

public void setOutSkymapRaster(Object outSkymapRaster)
Sets the Output skymap raster parameter of this tool . This parameter is the output skymap raster. the output is constructed by dividing the whole sky into a series of sky sectors defined by zenith and azimuth divisions. The output is at the same resolution as the viewshed and sunmap. This is an optional parameter.

Parameters:
outSkymapRaster - the output skymap raster. the output is constructed by dividing the whole sky into a series of sky sectors defined by zenith and azimuth divisions. The output is at the same resolution as the viewshed and sunmap.

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias