source: trunk/src/project_init.pro @ 2

Last change on this file since 2 was 2, checked in by pinsard, 12 years ago

import of project infrastructure (to be cont.)

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