RAVE
Lib.rave_radvol_realtime Namespace Reference

Classes

class  options
 Generic object used to organize options and argument values to radvol. More...
 

Functions

 init ()
 Initializes the ARGS dictionary by reading content from XML file.
 
 get_options (inobj)
 Based on the /what/source attribute, find site-specific options/arguments.
 
 proof ()
 

Variables

 CONFIG_FILE = os.path.join(rave_defines.RAVECONFIG, "radvol_params.xml")
 Contains site-specific argument settings.
 
int initialized = 0
 
dict ARGS = {}
 
tuple INTS
 

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

◆ get_options()

Lib.rave_radvol_realtime.get_options ( inobj)

Based on the /what/source attribute, find site-specific options/arguments.

Parameters
inobjinput SCAN or PVOL object
Returns
options object. If the look-up fails, then default options are returned

◆ init()

Lib.rave_radvol_realtime.init ( )

Initializes the ARGS dictionary by reading content from XML file.

Variable Documentation

◆ CONFIG_FILE

Lib.rave_radvol_realtime.CONFIG_FILE = os.path.join(rave_defines.RAVECONFIG, "radvol_params.xml")

Contains site-specific argument settings.

◆ INTS

tuple Lib.rave_radvol_realtime.INTS
Initial value:
1= ("DBZHtoTH",
2 "BROAD_QIOn", "BROAD_QCOn",
3 "SPIKE_QIOn", "SPIKE_QCOn", "SPIKE_AAzim", "SPIKE_AVarAzim", "SPIKE_ABeam", "SPIKE_AVarBeam", "SPIKE_BAzim"
4 "NMET_QIOn", "NMET_QCOn",
5 "SPECK_QIOn", "SPECK_QCOn",
6 "BLOCK_QIOn", "BLOCK_QCOn",
7 "ATT_QIOn", "ATT_QCOn")