RAVE
rave_defines.py File Reference

Contains a variety of definitions used by RAVE. More...

Namespaces

namespace  Lib.rave_defines
 

Variables

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

Detailed Description

Contains a variety of definitions used by RAVE.

Author
Daniel Michelson, SMHI
Date
2011-06-27