
import os
import config

TWCDIR     = os.environ['TWCDIR']
TWCCLIDIR  = os.environ['TWCCLIDIR']
TWCPERSDIR = os.environ['TWCPERSDIR']

config.set('appName',              'execd')
config.set('channel',              'SystemEventChannel')
config.set('pluginRoot',           TWCPERSDIR + '/plugin')
config.set('imageCutTool',         TWCCLIDIR + '/util/imagecut')
config.set('vectorCutTool',        TWCCLIDIR + '/util/vectorcut')
config.set('mapRoot',              TWCPERSDIR + '/data/map.cuts')
config.set('imageRoot',            TWCPERSDIR + '/data/volatile/images')
config.set('resourceRoot',         '/rsrc')
config.set('pidFileName',          TWCPERSDIR + '/data/pid')

# this can be 'fixedPalette' or 'colorAverage', do NOT change from
# 'fixedPalette' unless you are debugging and using "pink borders"
# (if you work on radar, then you know what this means)
config.set('radarImageScalingMethod', 'fixedPalette')
# smoothing also has to be turned off for "pink borders"
# but ONLY do this if you are debugging!!
config.set('enableSmoothing',      1)
