source: trunk/src/project_init.pro @ 82

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

fix for doc

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