RAVE
|
Classes | |
class | RavePGF |
The product generation framework class containing the product generation functionality. More... | |
Functions | |
generate (jobid, algorithm, files, arguments, host=PGF_HOST, port=PGF_PORT) | |
Convenience function for running several jobs asynchronously with \multiprocessing.apply_async. | |
Variables | |
dict | METHODS |
PGF_REGISTRY = rave_pgf_registry.PGF_Registry(filename=REGFILE) | |
Copyright (C) 2010- Swedish Meteorological and Hydrological Institute (SMHI) This file is part of RAVE. RAVE is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. RAVE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with RAVE. If not, see <http://www.gnu.org/licenses/>.
Lib.rave_pgf.generate | ( | jobid, | |
algorithm, | |||
files, | |||
arguments, | |||
host = PGF_HOST, | |||
port = PGF_PORT ) |
Convenience function for running several jobs asynchronously with \multiprocessing.apply_async.
jobid | string job ID, used to keep track of jobs |
algorithm | string to the desired product generation call |
files | list of file strings |
arguments | list of strings, ordered as 'key-value' pairs, so that even items are argument names and odd ones are their values. These must be parsed into their corrects formats, ie. int, float, list, etc. |
host | string URI of the RAVE PGF server to which to connect |
port | int port of the RAVE PGF server to which to connect |
dict Lib.rave_pgf.METHODS |