User Tools

Site Tools


howtos:toolcoding:subroutinepackage

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
howtos:toolcoding:subroutinepackage [2013/06/04 12:32]
shona.weldon
howtos:toolcoding:subroutinepackage [2013/06/04 12:38]
shona.weldon
Line 29: Line 29:
  
 Now you are ready to write views that use subroutines. ​ See below info about the examples that are a part of the sub routine bundle you have downloaded and extracted. Now you are ready to write views that use subroutines. ​ See below info about the examples that are a part of the sub routine bundle you have downloaded and extracted.
 +
 +===== Data Storing for views - viewData =====
 +There are 3 places to store data outside the model: primaryData,​ referenceData,​ and viewData. ​ The viewData directory holds files that inform views as they run for things like:
 +  * user interaction from previous runs
 +  * the setup for the reference scenario such as start year for projection, projection style etc
 +  * in the case of caness all the aggregation mapping files for the big energy and emissions views
 +
 +===== Data Storing for views - viewData =====
  
 ===== Examples ===== ===== Examples =====
  
-In that new folder you will find an examples ​sub folder with some example views:+In that new folder you will find an TemplateViews ​sub folder with some example views:
  
-levelVarProjection.t+levelVarProjection_<​verson>​.t
   * This type of view projects a variable which holds variables which are not share variables, like rates or efficiency levels etc   * This type of view projects a variable which holds variables which are not share variables, like rates or efficiency levels etc
   * It gives several different ways to project this variable through a menu command   * It gives several different ways to project this variable through a menu command
howtos/toolcoding/subroutinepackage.txt ยท Last modified: 2013/06/04 12:38 by shona.weldon