source: trunk/src/project_init.pro @ 85

Last change on this file since 85 was 85, checked in by pinsard, 13 years ago

restart consolidation of paper01 software

File size: 2.8 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;   $ idl -IDL_STARTUP project_init.pro
20;
21; or::
22;
23;  $ IDL
24;  IDL> @project_init
25;
26;
27; SEE ALSO
28; ========
29;
30; :ref:`project_profile.sh`
31;
32; TODO
33; ====
34;
35; learn to write IF .. ELSE in a @file
36;
37; check idl -IDL_STARTUP project_init.pro not ok now on cratos
38;
39; EVOLUTIONS
40; ==========
41;
42; $Id$
43;
44; $URL$
45;
46; - fplod 20110429T081938Z aedon.locean-ipsl.upmc.fr (Darwin)
47;
48;   * rename to project_init.pro (more generic)
49;
50; - fplod 20110413T151541Z cratos.locean-ipsl.upmc.fr (Linux)
51;
52;   * fix uncompleted replacement SAXO_SRC by SAXO_DIR
53;
54; - fplod 20110413T070801Z aedon.locean-ipsl.upmc.fr (Darwin)
55;
56;   * replace SAXO_SRC by SAXO_DIR
57;
58; - fplod 20110411T074056Z aedon.locean-ipsl.upmc.fr (Darwin)
59;
60;   * remove fplod/cratos dependencies use $TROPFLUX*; use SAXO_SRC;
61;     add cm_project
62;
63; - fplod 20110408T131625Z cratos.locean-ipsl.upmc.fr (Linux)
64;
65;   * creation using buildinit on cratos
66;
67;-
68;
69; SAXO environment
70saxo_dir_env=GETENV('SAXO_DIR')
71;
72; project environment #1
73project_env_temp=GETENV('PROJECT')
74project_id_env_temp=GETENV('PROJECT_ID')
75project_od_env_temp=GETENV('PROJECT_OD')
76;
77; path definition
78!path = expand_path('+' + project_env_temp + '/src') $
79      + path_sep(/search_path) + expand_path('+' + saxo_dir_env) $
80      + path_sep(/search_path) + expand_path('+' + !dir)
81;
82; project environment #2
83@cm_project
84project_env=project_env_temp
85project_id_env=project_id_env_temp
86project_od_env=project_od_env_temp
87;
88; compatibility with the old version
89;
90keep_compatibility, 0
91;
92; define all the commons
93;
94@cm_4cal
95@cm_4data
96@cm_4mesh
97@cm_4data
98@cm_4ps
99@cm_general
100;
101; define default directories
102;
103homedir = isadirectory(project_env + '/src/', title = 'Select the default HOME directory')
104iodir = isadirectory(project_id_env, title = 'Select the default IO directory')
105psdir = isadirectory(project_od_env, title = 'Select the default postscripts directory')
106imagedir = isadirectory(project_od_env, title = 'Select the default images directory')
107animdir = isadirectory(project_od_env, title = 'Select the default animations directory')
108;
109; define printer parameters
110;
111printer_human_names = ''
112printer_machine_names = ''
113print_command = ''
114;
115; colors ...
116;
117device, decomposed = 0
118device, retain = 2
119lct, 39
120;
121; postscript parameters ...
122;
123key_portrait = 0
124page_size = [20.9903, 29.7039]
125windowsize_scale = 1.00000
126archive_ps = 0
127;
128;========================================================
129; end of the part that should be modified by the users...
130;========================================================
131;
132; if needed, keep compatibility with the old version
133;
134@updateold
135;
Note: See TracBrowser for help on using the repository browser.