source:
trunk/monitor/cgi-bin/asapconfig.py@
707
Last change on this file since 707 was 703, checked in by , 19 years ago | |
---|---|
|
|
File size: 727 bytes |
Line | |
---|---|
1 | # asapconfig.py |
2 | |
3 | rpfpath = [] |
4 | # Append observing directories |
5 | rpfpath.append("/u/mar637/brage/singledish/data") |
6 | rpfpath.append("/u/mar637/brage/singledish/data/mopra200505") |
7 | observatory = "Mopra" |
8 | |
9 | import os,sys |
10 | # This is where asap lives |
11 | sys.path.insert(2,'/opt/lib/python2.3/site-packages') |
12 | os.environ["AIPSPATH"]="/opt/share/asap linux_gnu somewhere localhost" |
13 | |
14 | #overwrite /usr/local/... as default |
15 | sys.path.insert(2,'/usr/lib/python2.3/site-packages') |
16 | |
17 | # This is needed for plotting with matplotlib |
18 | os.environ["MATPLOTLIBDATA"]="/opt/share/matplotlib" |
19 | os.environ["HOME"]="/tmp" |
20 | |
21 | # logsink class |
22 | class LogSink: |
23 | def __init__(self): |
24 | self.content = [] |
25 | def write(self, string): |
26 | self.content.append(string) |
Note:
See TracBrowser
for help on using the repository browser.