source: trunk/init_path.pro @ 2

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

initial import from /usr/work/fvi/OPA/geomag/

File size: 1.8 KB
Line 
1;---------------------------------------------------
2; PATHS INITIALISATIONS                            *
3;---------------------------------------------------
4;
5; 1. Directories
6; ==============
7;
8input_dir = '/usr/work/sur/fvi/OPA/geomag/'
9output_dir = '/usr/work/sur/fvi/OPA/geomag/'
10;
11; 2. Input information
12; ====================
13;
14;  2.1. Data file name
15;  -------------------
16;
17IF keyword_set(nscal) THEN BEGIN
18data_u_file = 'OMIP_east_west_stress.nc'
19data_v_file = 'OMIP_north_south_stress.nc'
20ENDIF ELSE BEGIN
21   datafile = 'condmag.nc'
22ENDELSE
23;
24;  2.2. Data mask file name
25;  ------------------------
26;
27IF keyword_set(key_mask) THEN maskfile = 'tmi99_sst_2x0.5grid.nc'
28;
29;  2.3. Target grid
30;  ----------------
31;
32gridfile = 'meshmask_bab.nc'
33;
34; 3. Output information 
35; =====================
36;
37;  3.1. Output file name
38;  ---------------------
39;
40IF keyword_set(nscal) THEN BEGIN
41  outputfile_x = 'OMIP_east_west_stress_ORCA_R2_grid_U.nc'
42  outputfile_y = 'OMIP_north_south_stress_ORCA_R2_grid_V.nc'
43ENDIF ELSE BEGIN
44;   outputfile = 'cond_sed_ORCA2.nc'
45   outputfile = 'Br_ORCA2.nc'
46ENDELSE
47;
48printf, 40, ''
49IF keyword_set(nscal) THEN BEGIN
50printf, 40, 'Data input file (x-component) : ', string(input_dir, '/', data_u_file)
51printf, 40, 'Data input file (y-component) : ', string(input_dir, '/', data_v_file)
52ENDIF ELSE BEGIN
53printf, 40, 'Data input file  : ', string(input_dir, '/', datafile)
54ENDELSE
55IF keyword_set(key_mask) THEN printf, 40, 'Mask input file  : ', string(input_dir, '/', maskfile)
56IF keyword_set(nscal) THEN BEGIN
57printf, 40, 'Output file (x-component) : ', string(output_dir, '/', outputfile_x)
58printf, 40, 'Output file (y-component) : ', string(output_dir, '/', outputfile_y)
59ENDIF ELSE BEGIN
60printf, 40, 'Output file      : ', string(output_dir, '/', outputfile)
61ENDELSE
62printf, 40, 'Target grid file : ', string(input_dir, '/', gridfile)
63
Note: See TracBrowser for help on using the repository browser.