[esp-r] Re: Auto-generating QA reports

Jon Hand jon at esru.strath.ac.uk
Fri Jul 24 09:02:54 BST 2009


A question about automating the generation of QA reports...
________________________________________
I am running an optimization procedure on an esp-r model of a home and
would like to auto-generate QA reports via command line so I can
extract information regarding surface areas, volume, etc and perform
additional QA on my model.

Is there a way to do this?  I am presently running up to 1000
simulations, so loading even a few files in prj is not an option!  I
would prefer to parse from a formatted text file then work from the
original .geo files.

-------------------------------------------------

There are two issues here.

First, because there are a specific set of keystrokes required to
create a QA report this can be scripted.   Essentially what you
need to do is record the specific keystrokes you use to create a
QA report when running the project manager in 'text' mode. Save
these keystrokes to a file which will act as a script.  Examples of
scripts can be found in the validation/benchmark/QA/model/cfg
e.g. the TEST.

I attach a script that does this  which you can run like
QA_script   model.cfg  report.txt

on most Linux boxes.  Ensure the script has its permissions set
to be executable.  Replace model.cfg with the name of your model
and report.txt with the name of the QA report you want to create.

The zone geometry file only holds a portion of the information some
people would want to know about in a QA report.  Parsing the raw file
would be a challenge for many people.

The above script generated a QA report in an eye blink and the
calling of the QA_script could itself be automated (e.g. as part
of a 'find' command sequence).

-Jon Hand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QA_script
Type: application/octet-stream
Size: 279 bytes
Desc: QA_script
Url : http://lists.strath.ac.uk/archives/esp-r/attachments/20090724/526018fb/attachment.obj 


More information about the esp-r mailing list