source: trunk/src/project_init.pro

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

fix thanks to coding rules; typo; dupe empty lines

File size: 2.4 KB
Line 
1;+
2;
3; .. _project_init.pro:
4;
5; =========================================
6; project_init.pro -- init SAXO environment
7; =========================================
8;
9; DESCRIPTION
10; ===========
11;
12; This is the SAXO initialisation file.
13;
14; It ++:
15; .. code-block:: bash
16;
17;    idl -IDL_STARTUP project_init.pro
18;
19; or:
20;
21; .. code-block:: idl
22;
23;    @project_init
24;
25; SEE ALSO
26; ========
27;
28; :ref:`project_profile.sh`
29;
30; :ref:`cm_project.pro`
31;
32; TODO
33; ====
34;
35; test permission on directories
36;
37; EVOLUTIONS
38; ==========
39;
40; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/cpump/svn/trunk/src/project_init.pro $
41;
42; - fplod 20110426T152038Z cratos.locean-ipsl.upmc.fr (Linux)
43;
44;   * creation
45;
46;-
47;
48; SAXO environment
49saxo_dir_env = GETENV('SAXO_DIR')
50;
51; project environment #1
52project_env_temp = GETENV('PROJECT')
53project_id_env_temp = GETENV('PROJECT_ID')
54project_od_env_temp = GETENV('PROJECT_OD')
55;
56; path definition
57!path = expand_path('+' + project_env_temp + 'src') $
58      + path_sep(/search_path) + expand_path('+' + saxo_dir_env) $
59      + path_sep(/search_path) + expand_path('+' + !dir)
60;
61; project environment #2
62@cm_project
63project_env = project_env_temp
64project_id_env = project_id_env_temp
65project_od_env = project_od_env_temp
66;
67; compatibility with the old version
68keep_compatibility, 0
69;
70; define all the commons
71@cm_4cal
72@cm_4data
73@cm_4mesh
74@cm_4data
75@cm_4ps
76@cm_general
77;
78; define default directories
79;
80homedir = isadirectory(project_env + 'src', title = 'Select the default HOME directory')
81iodir = isadirectory(project_id_env, title = 'Select the default IO directory')
82psdir = isadirectory(project_od_env, title = 'Select the default postscripts directory')
83imagedir = isadirectory(project_od_env, title = 'Select the default images directory')
84animdir = isadirectory(project_od_env, title = 'Select the default animations directory')
85;
86; define printer parameters
87;
88printer_human_names = ''
89printer_machine_names = ''
90print_command = ''
91;
92; colors ...
93;
94device, decomposed = 0
95device, retain = 2
96lct, 39
97;
98; postscript parameters ...
99;
100key_portrait = 0
101page_size = [20.9903, 29.7039]
102windowsize_scale = 1.00000
103archive_ps = 0
104;
105;========================================================
106; end of the part that should be modified by the users...
107;========================================================
108;
109; if needed, keep compatibility with the old version
110;
111@updateold
112;
Note: See TracBrowser for help on using the repository browser.