It is often useful to view the output of the VAPOR Python scripts, for example to debug the Python code.   Data values can be output using the python "print" method.  When in the VAPOR Python editor, if the "Test" button is clicked the output of the script will be displayed in a popup dialog.

The output text that results in the process of evaluating a derived variable will not be displayed in a dialog.  However this text is output in VAPOR diagnostics and it can be viewed in the vapor log file as follows: In the Vapor User Preferences panel , under "Message Logging and Popups", set the Message Limits value for Log File Max, next to Diagnostic Messages, to a large positive number (larger than the number of times your output text will be repeated with the same values).  Note also the name and path to the Log File.  After your script has executed, edit the Log File.  Every time the python script writes output text, the results will be in a diagnostic message, preceded by the words "Python output text:".  Note that this output will ordinarily only be written once, the first time the script is executed with the same extents, refinement, etc.  Subsequent uses of the derived variable may reference data in the cache without re-calculating the variable.