RAVE
Lib.rave_pgf_apply_qc_plugin Namespace Reference

Functions

 arglist2dict (arglist)
 Creates a dictionary from a rave argument list.
 
 perform_quality_control (volume, detectors, qc_mode)
 Performs a quality control sequence on a volume.
 
 generate_new_volume_with_qc (original_file, args)
 
 generate (files, arguments)
 Creates a new volume based on the incoming with quality controls applied to it.
 

Variables

 logger = rave_pgf_logger.create_logger()
 
 ravebdb = None
 

Detailed Description

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/>.

Function Documentation

◆ arglist2dict()

Lib.rave_pgf_apply_qc_plugin.arglist2dict ( arglist)

Creates a dictionary from a rave argument list.

Parameters
arglistthe argument list
Returns
a dictionary

◆ generate()

Lib.rave_pgf_apply_qc_plugin.generate ( files,
arguments )

Creates a new volume based on the incoming with quality controls applied to it.

Parameters
filesa list of files to apply quality controls on. currently assume only one file
argumentsthe arguments defining what quality controls to apply
Returns
a temporary h5 file with the volume

◆ perform_quality_control()

Lib.rave_pgf_apply_qc_plugin.perform_quality_control ( volume,
detectors,
qc_mode )

Performs a quality control sequence on a volume.

Parameters
volumethe volume to perform the quality controls on
detectorsthe detectors that should be run on the volume