source: trunk/src/init.pro

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

fix thanks to coding rules and pep8; typo; dupe empty lines

  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1;+
2;
3; .. _init.pro:
4;
5; ========
6; init.pro
7; ========
8;
9; IDL Version 6.2, Mac OS X (darwin ppc m32)
10;
11; Journal File for marina@ino.lodyc.jussieu.fr
12;
13; Working directory: /Users/marina/WORK/SOURCES/SAXO_DIR
14;
15; This is the initialisation file.
16; it defines the !path and the default values of some of the common variables
17;
18; :see also:
19;
20; SAXO
21;
22; :ref:`init_pom.pro`
23;
24; :todo:
25;
26; header
27;
28; replace hard coded path using ${POMME}
29;
30; :history:
31;
32; - fplod 20101129T110610Z aedon.locean-ipsl.upmc.fr (Darwin)
33;
34;   * add reStructuredText minimal header
35;
36; - marina 20060314T135342Z ino.lodyc.jussieu.fr
37;
38;   * creation
39;
40;-
41;
42; path definition
43;
44!path = expand_path('+' + '/Users/marina/WORK/PROJETS/TERMINE/POMME/PIERREK/IDL') $
45      + ':' + expand_path('+' + '/Users/marina/WORK/SOURCES/SAXO_DIR') $
46      + ':' + expand_path('+' + !dir)
47;
48; compatibility with the old version
49;
50keep_compatibility, 0
51;
52; define all the commons
53;
54@all_cm
55;
56; define default directories
57;
58homedir = isadirectory('/Users/marina/WORK/PROJETS/TERMINE/POMME/PIERREK/IDL/', title = 'Select the default HOME directory')
59iodir = isadirectory('/Users/marina/DATA/DATA_PIERREK', title = 'Select the default IO directory')
60psdir = isadirectory('/Users/marina/WORK/PROJETS/TERMINE/POMME/PIERREK/FIG', title = 'Select the default postscripts directory')
61imagedir = psdir
62animdir = psdir
63;
64; define printer parameters
65;
66printer_human_names = strarr(2)
67printer_machine_names = strarr(2)
68print_command = strarr(2)
69printer_human_names[0] = 'x4'
70printer_machine_names[0] = 'x4'
71print_command[0] = '\lpr -P x4'
72printer_human_names[1] = 'hpl4'
73printer_machine_names[1] = 'hpl4'
74print_command[1] = '\lpr -P hpl4'
75;
76; colors ...
77;
78device, decomposed = 0
79device, retain = 2
80lct, 39
81;
82; postscript parameters ...
83;
84key_portrait = 1
85page_size = [20.9903, 29.7039]
86windowsize_scale = 0.8
87archive_ps = 0
88;
89;========================================================
90; end of the part that should be modified by the users...
91;========================================================
92;
93; default definitions of many other common parameters...
94jpiglo = 1L
95jpjglo = 1L
96jpkglo = 1L
97jpidta = jpiglo
98jpjdta = jpjglo
99jpkdta = jpjglo
100jpi = 1L
101jpj = 1L
102jpk = 1L
103jpt = 1L
104time = 0L
105ixminmesh = -1L
106ixmaxmesh = -1L
107iyminmesh = -1L
108iymaxmesh = -1L
109izminmesh = -1L
110izmaxmesh = -1L
111ixmindta = 0L
112ixmaxdta = jpidta - 1
113iymindta = 0L
114iymaxdta = jpjdta - 1
115izmindta = 0L
116izmaxdta = jpkdta - 1
117key_shift = 0L
118key_periodic = 0L
119key_yreverse = 0L
120key_zreverse = 0L
121key_stride = [1, 1, 1]
122ccmeshparameters ={filename:'No File', filetype:'nothing' $
123, jpiglo:jpiglo, jpjglo:jpjglo, jpkglo:jpkglo $
124, jpi:jpi, jpj:jpj, jpk:jpk $
125, ixminmesh:ixminmesh, ixmaxmesh:ixmaxmesh $
126, iyminmesh:iyminmesh, iymaxmesh:iymaxmesh $
127, izminmesh:izminmesh, izmaxmesh:izmaxmesh $
128, key_shift:key_shift, key_periodic:key_periodic $
129, triangulation:-1, boundary:[-180, 180]}
130ccreadparameters = {funclec_name:'No File' $
131, jpidta:jpidta, jpjdta:jpjdta, jpkdta:jpkdta $
132, ixmindta:ixmindta, ixmaxdta:ixmaxdta $
133, iymindta:iymindta, iymaxdta:iymaxdta $
134, izmindta:izmindta, izmaxdta:izmaxdta}
135lon1 = 0
136lon2 = 1
137lat1 = 0
138lat2 = 1
139vert1 = 0
140vert2 = 1
141valmask = 1.e20
142vargrid = 'T'
143varname = ''
144varexp = ''
145varunit = ''
146vardate= '0'
147@updateold
148;
149print,  'iodir =', iodir
150
151;open saxo online help:
152;ONLINE_HELP,book="/Users/marina/WORK/SOURCES/SAXO_DIR/SRC/Documentation/idldoc_assistant_output/idldoc-lib.adp"
Note: See TracBrowser for help on using the repository browser.