RAVE
Lib.tiled_compositing Namespace Reference

Classes

class  multi_composite_arguments
 The argument wrapper so that the arguments can be transfered to the composite generator taking care of the tile. More...
 
class  tiled_area_definition
 The basic area definition that should be transfered to the tiling compositing instance. More...
 
class  tiled_compositing
 The actual compositing instance forwarding requests to the tilers. More...
 

Functions

 store_temporary_files (objects)
 Stores the objects as uncompressed temporary files on disc.
 
 comp_generate (args)
 Function that handles the multiprocessing call for the multiprocessing.
 
 execute_quality_control (args)
 Handles the multiprocessing call for the quality control section.
 

Variables

 logger = rave_pgf_logger.create_logger()
 
 my_area_registry = area_registry.area_registry()
 The area registry to be used by this composite generator.
 
 comp = compositing.compositing()
 
 filenames
 
 tc = tiled_compositing(comp,True, True, True)
 

Detailed Description

Copyright (C) 2014- 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/>.

Function Documentation

◆ comp_generate()

Lib.tiled_compositing.comp_generate ( args)

Function that handles the multiprocessing call for the multiprocessing.

Parameters
argstuple of 4 args (multi_composite_arguments, date, time, area identifier)
Returns
result of multi_composite_arguments.generate

◆ execute_quality_control()

Lib.tiled_compositing.execute_quality_control ( args)

Handles the multiprocessing call for the quality control section.

Parameters
argstuple of 4 args, ([filenames],[detectors], reprocess_quality_field, ignore_malfunc)
Returns
a tuple of ([filenames], <execution status as boolean>, "filenames or source names")

◆ store_temporary_files()

Lib.tiled_compositing.store_temporary_files ( objects)

Stores the objects as uncompressed temporary files on disc.

Parameters
objectsa disctionary with filenames as keys and polar objects as values
Returns
a dictionary with temporary filenames as keys and polar objects as values
Exceptions
Exceptionon error, for example if we run out of disc space

Variable Documentation

◆ my_area_registry

Lib.tiled_compositing.my_area_registry = area_registry.area_registry()

The area registry to be used by this composite generator.