Last change
on this file since 2417 was
2417,
checked in by labetoulle, 9 years ago
|
put all path definitions in a seperate file
|
-
Property svn:executable set to
*
|
File size:
710 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | # -*- coding: utf-8 -*- |
---|
3 | |
---|
4 | # this must come first |
---|
5 | from __future__ import print_function, unicode_literals, division |
---|
6 | |
---|
7 | # standard library imports |
---|
8 | import os |
---|
9 | # import os.path |
---|
10 | |
---|
11 | # Application library imports |
---|
12 | from gencmip6 import * |
---|
13 | |
---|
14 | |
---|
15 | ROOT_DIR = os.getcwd() |
---|
16 | |
---|
17 | # Common paths |
---|
18 | DIR = { |
---|
19 | "ROOT": ROOT_DIR, |
---|
20 | "DATA": os.path.join(ROOT_DIR, "output"), |
---|
21 | "SAVE": os.path.join(ROOT_DIR, "save"), |
---|
22 | "PLOT": os.path.join(ROOT_DIR, "plot"), |
---|
23 | } |
---|
24 | |
---|
25 | # Common files |
---|
26 | OUT = { |
---|
27 | "PARAM": "OUT_CONSO_PARAM", |
---|
28 | "BILAN": "OUT_CONSO_BILAN", |
---|
29 | "UTHEO": "OUT_CONSO_UTHEO", |
---|
30 | "LOGIN": "OUT_CONSO_LOGIN", |
---|
31 | "STORE": "OUT_CONSO_STORE", |
---|
32 | "CCCMP": "ccc_myproject.dat" |
---|
33 | } |
---|
34 | |
---|
35 | |
---|
36 | if __name__ == "__main__": |
---|
37 | print(DIR, ) |
---|
38 | print(OUT, ) |
---|
Note: See
TracBrowser
for help on using the repository browser.