RAVE
rave_pgf_qtools.py File Reference

Convenience functions for formatting processing queue messages. More...

Classes

class  Lib.rave_pgf_qtools.PGF_JobQueue_isFull_Error
 Job queue Exception. More...
 
class  Lib.rave_pgf_qtools.PGF_JobQueue
 Queue object based on a dictionary. More...
 

Namespaces

namespace  Lib.rave_pgf_qtools
 

Functions

 Lib.rave_pgf_qtools.pgf_dumps (val)
 
 Lib.rave_pgf_qtools.merge (algorithm, files, arguments, jobid)
 Adds Elements containing files and arguments to the message.
 
 Lib.rave_pgf_qtools.split (elem)
 Convenience function for accessing files and arguments from a message.
 
 Lib.rave_pgf_qtools.List2Element (inlist, tagname)
 Convenience function for retrieving an Element from a Python list.
 
 Lib.rave_pgf_qtools.Element2List (elem, tagname)
 Convenience function for retrieving a Python list from an Element.
 

Detailed Description

Convenience functions for formatting processing queue messages.

Note: Because the rave_pgf_registry.PGF_Registry contains algorithms with an element called "arguments" and containing the argument names, the actual argument list is stored in the queue message with the tag "args". Otherwise the root Element will not cope with more than one "arguments".

Author
Daniel Michelson, SMHI
Date
2010-07-23