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