source: trunk/src/project_init.pro

Last change on this file was 9, checked in by pinsard, 10 years ago

fix thanks to coding rules

File size: 2.7 KB
Line 
1;+
2;
3; .. _project_init.pro:
4;
5; ================
6; project_init.pro
7; ================
8;
9; DESCRIPTION
10; ===========
11;
12; This is the SAXO initialisation file.
13;
14; It ++:
15;
16; .. code-block:: bash
17;
18;    idl -startupfile project_init.pro
19;
20; or
21;
22; .. code-block:: bash
23;
24;    idl -IDL_STARTUP project_init.pro
25;
26; or
27;
28; .. code-block:: idl
29;
30;    @project_init
31;
32; SEE ALSO
33; ========
34;
35; :ref:`project_profile.sh`
36;
37; :ref:`cm_project.pro`
38;
39; TODO
40; ====
41;
42; learn to write IF .. ELSE in a @file
43;
44; improve SAXO behaviour in batch mode using fstat and interactive
45; structure field to avoid
46; ``Error occurred at: LOADCT`` and ``% FILE_TEST: String expression required in this context: MYUNIQUETMPDIR``
47;
48; EVOLUTIONS
49; ==========
50;
51; $Id: project_init.pro 535 2012-04-20 10:01:16Z pinsard $
52;
53; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/project/svn/trunk/src/project_init.pro $
54;
55; - fplod 20120424
56;
57;   * creation
58;
59;-
60;
61; SAXO environment
62saxo_dir_env=GETENV('SAXO_DIR')
63;
64; project environment #1
65project_env_temp=GETENV('PROJECT')
66project_id_env_temp=GETENV('PROJECT_ID')
67project_od_env_temp=GETENV('PROJECT_OD')
68;
69; path definition
70!path = expand_path('+' + project_env_temp + '/src') $
71      + path_sep(/search_path) + expand_path('+' + saxo_dir_env) $
72      + path_sep(/search_path) + expand_path('+' + !dir)
73;
74; project environment #2
75@cm_project
76project_env=project_env_temp
77project_id_env=project_id_env_temp
78project_od_env=project_od_env_temp
79;
80; compatibility with the old version
81;
82keep_compatibility, 0
83;
84; define all the commons
85;
86@cm_4cal
87@cm_4data
88@cm_4mesh
89@cm_4data
90@cm_4ps
91@cm_general
92;
93key_performance = 0
94;
95yyyymmddb_min=20000101L
96yyyymmdde_max=20121231L
97;
98; define default directories
99;
100homedir = isadirectory(project_env + '/src/', title = 'Select the default HOME directory')
101iodir = isadirectory(project_id_env, title = 'Select the default IO directory')
102psdir = isadirectory(project_od_env, title = 'Select the default postscripts directory')
103imagedir = isadirectory(project_od_env, title = 'Select the default images directory')
104animdir = isadirectory(project_od_env, title = 'Select the default animations directory')
105;
106; define printer parameters
107;
108printer_human_names = ''
109printer_machine_names = ''
110print_command = ''
111;
112; colors ...
113;
114device, decomposed = 0
115device, retain = 2
116lct, 39
117;
118; postscript parameters ...
119;
120key_portrait = 0
121page_size = [20.9903, 29.7039]
122windowsize_scale = 1.00000
123archive_ps = 0
124;
125;========================================================
126; end of the part that should be modified by the users...
127;========================================================
128;
129; if needed, keep compatibility with the old version
130;
131@updateold
132;
Note: See TracBrowser for help on using the repository browser.