User Tools

Site Tools


howtos:toolcoding:getprojectexportpath

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:getprojectexportpath [2013/06/04 13:45]
shona.weldon
howtos:toolcoding:getprojectexportpath [2013/06/04 13:46]
shona.weldon
Line 15: Line 15:
  
 ===== How To ===== ===== How To =====
-==== For exporting results for a project ====+==== For exporting ​files as results for a project ====
 There is a sub routine called getProjectExportPath_v2.t (potentially updated version number over time). ​ That subroutine takes the following as inputs/​outputs:​ There is a sub routine called getProjectExportPath_v2.t (potentially updated version number over time). ​ That subroutine takes the following as inputs/​outputs:​
   * inputStringSet[] - this is a string set with 3 entries in ORDER:   * inputStringSet[] - this is a string set with 3 entries in ORDER:
     * exportDataDir - this is the root of where the returned path starts - you must ensure this part of the path is previously made it building like this:     * exportDataDir - this is the root of where the returned path starts - you must ensure this part of the path is previously made it building like this:
-<​code>​ buildstring ($exportDataDirRoot,​ $modelHome, "/",​ "/​exportData/"​)+<​code>​ buildstring ($exportDataDirRoot,​ $modelHome, "/",​ "/​exportData/"​) ​</​code>​
     * subjectArea - this is actually the **last** part of the path and set it to the subject area for the files you are exporting (eg commercial, residential,​ elecProd etc)     * subjectArea - this is actually the **last** part of the path and set it to the subject area for the files you are exporting (eg commercial, residential,​ elecProd etc)
     * projectAppendText - $modelName - this is an environment variable which is the model base name of the model family ​     * projectAppendText - $modelName - this is an environment variable which is the model base name of the model family ​
howtos/toolcoding/getprojectexportpath.txt ยท Last modified: 2013/06/04 13:46 by shona.weldon