RAVE
Lib.rave_defines Namespace Reference

Variables

 RAVEROOT = os.path.split(os.path.split(rave_defines.__file__)[0])[0]
 PATHS.
 
str RAVELIB = RAVEROOT + '/Lib'
 
str RAVECONFIG = RAVEROOT + '/config'
 
str RAVEDB = RAVEROOT + '/db'
 
str RAVEBIN = RAVEROOT + '/bin'
 
str RAVEETC = RAVEROOT + '/etc'
 
str LIBRAVEINCLUDE = RAVEROOT + '/include'
 
str LIBRAVELIB = RAVEROOT + '/lib'
 
str RAVEICON = RAVEROOT + '/rave.xbm'
 
str RAVE_VERSION = '2.0'
 
tuple RAVE_VERSIONS = ('2.0')
 
str H5RAD_VERSION = 'H5rad 2.0'
 
tuple H5RAD_VERSIONS = ('H5rad 1.2', 'H5rad 2.0', 'H5rad 2.1', 'H5rad 2.2', 'H5rad 2.3')
 
str ODIM_VERSION = 'ODIM_H5/V2_0'
 
tuple ODIM_VERSIONS = ('ODIM_H5/V2_0', 'ODIM_H5/V2_1', 'ODIM_H5/V2_2', 'ODIM_H5/V2_3')
 
str ENCODING = 'iso-8859-1'
 
str UTF8 = 'UTF-8'
 
str COMPRESSION = "zlib"
 
int COMPRESSION_ZLIB_LEVEL = 6
 
dict ARRAYTYPES
 
float GAIN = 0.4
 
float OFFSET = -30.0
 
float ZR_A = 200.0
 
float ZR_b = 1.5
 
str GADJUST_STATFILE = RAVEETC + '/gadjust.stat'
 
float DEFAULTA = 0.323868068019
 
float DEFAULTB = -0.00107776407064
 
float DEFAULTC = 1.77500903316e-05
 
int MERGETERMS = 20
 
int TIMELIMIT_CLIMATOLOGIC_COEFF = 48
 
str CT_FTEMPLATE = "SAFNWC_MSG?_CT___%s_FES_________.h5"
 
str CTPATH = "/opt/baltrad/MSG_CT"
 
 CTDELTA = datetime.timedelta(minutes=15)
 
int CT_MAX_DELTAS = 3
 
str TFILE = RAVECONFIG + "/t-critical.pickle"
 
str TFILE_TEMPLATE = RAVECONFIG + "/t-critical.txt"
 
 PROJECTION_REGISTRY = os.path.join(RAVECONFIG, 'projection_registry.xml')
 
 AREA_REGISTRY = os.path.join(RAVECONFIG, 'area_registry.xml')
 
 PIDFILE = os.path.join(RAVEETC, 'rave_pgf_server.pid')
 
str PGF_HOST = 'localhost'
 
int PGF_PORT = 8085
 
int PGFs = 4
 
 STDOE = os.path.join(RAVEETC, 'rave_pgf_stdout_stderr.log')
 
str DEX_SPOE = 'http://localhost:8084/BaltradDex'
 
str DEX_CHANNEL = 'default_products'
 
str DEX_USER = 'rave_pgf'
 
str DEX_NODENAME = 'localhost'
 
 DEX_PRIVATEKEY = None
 
 BDB_CONFIG_FILE = None
 
str CENTER_ID = 'ORG:82'
 
str GENREG = 'generate-registry'
 
 REGFILE = os.path.join(RAVEETC, 'rave_pgf_registry.xml')
 
 QFILE = os.path.join(RAVEETC, 'rave_pgf_queue.xml')
 
str PGF_TAG = 'bltgenerate'
 
str LOGID = 'PGF[rave.baltrad.eu]'
 
int LOGPORT = 8089
 
 LOGFILE = os.path.join(RAVEETC, "rave_pgf.log")
 
int LOGFILESIZE = 5000000
 
int LOGFILES = 5
 
str LOGFACILITY = "local3"
 
str LOGLEVEL = "info"
 
 LOGPIDFILE = os.path.join(RAVEETC, 'rave_pgf_log_server.pid')
 
str SYSLOG_FORMAT = "%(name)s: %(levelname)-8s %(message)s"
 
str LOGFILE_FORMAT = "%(asctime)-15s %(levelname)-8s %(message)s"
 
str SYSLOG = "/var/run/syslog"
 
str LOGGER_TYPE = "syslog"
 
 ODIM_SOURCE_FILE = os.path.join(RAVECONFIG, 'odim_source.xml')
 
 QUALITY_REGISTRY = os.path.join(RAVEETC, 'rave_pgf_quality_registry.xml')
 
 RAVE_TILE_REGISTRY = os.path.join(RAVEETC, 'rave_tile_registry.xml')
 
 RAVE_TILE_COMPOSITING_PROCESSES = None
 
int RAVE_TILE_COMPOSITING_TIMEOUT = 290
 
bool RAVE_TILE_COMPOSITING_ALLOW_MISSING_TILES = False
 
 RAVE_MULTIPROCESSING_MAX_TASKS_PER_WORKER = None
 
int RAVE_QUALITY_CONTROL_PROCESSES = 4
 
bool RAVE_PGF_QUALITY_FIELD_REPROCESSING = False
 
bool RAVE_PGF_AZIMUTHAL_NAVIGATION = True
 
bool RAVE_PGF_COMPOSITING_USE_LAZY_LOADING = False
 
bool RAVE_PGF_COMPOSITING_USE_LAZY_LOADING_PRELOADS = False
 
str QITOTAL_METHOD = "minimum"
 
 RAVESCANSUN_OUT = None
 
int RAVE_IO_DEFAULT_VERSION = 2
 

Detailed Description

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

Variable Documentation

◆ ARRAYTYPES

dict Lib.rave_defines.ARRAYTYPES
Initial value:
1= {'b':'char', 'B':'uchar', 'I':'int', 'h':'short',
2 'L':'long', 'f':'float', 'd':'double'}

◆ RAVEROOT

Lib.rave_defines.RAVEROOT = os.path.split(os.path.split(rave_defines.__file__)[0])[0]

PATHS.