User Tools

Site Tools


howtos:toolcoding:multiple_scenario_display_views

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howtos:toolcoding:multiple_scenario_display_views [2011/02/15 21:25]
marcus.williams
howtos:toolcoding:multiple_scenario_display_views [2011/02/15 21:27] (current)
marcus.williams
Line 1: Line 1:
 Display views - read-only views which manipulate and present scenario data, and can be though of as reporting scripts - are generally most useful when they support multiple scenarios for comparison alongside each another. Display views - read-only views which manipulate and present scenario data, and can be though of as reporting scripts - are generally most useful when they support multiple scenarios for comparison alongside each another.
  
-Below is an example of a simple multi-scenario display view which calculates ​aggregate ​energy intensities. Note the use of:+Below is an example of a simple multi-scenario display view which calculates ​average ​energy intensities ​across states. Note the use of:
   * ''​localview''​ objects, which are arrays of tool objects. These are analogous to ''​local''​ object declarations in single-scenario views - but these are declared before the ''​$numScns''​ for loop.   * ''​localview''​ objects, which are arrays of tool objects. These are analogous to ''​local''​ object declarations in single-scenario views - but these are declared before the ''​$numScns''​ for loop.
   * ''​$numScns''​ is an environmental variable, which as its name implies, lists the number of scenarios selected (including the history)   * ''​$numScns''​ is an environmental variable, which as its name implies, lists the number of scenarios selected (including the history)
howtos/toolcoding/multiple_scenario_display_views.1297805158.txt.gz ยท Last modified: 2011/02/15 21:25 by marcus.williams