1 | ******************************************* |
---|
2 | * INTERPOLATION PROGRAM * |
---|
3 | ******************************************* |
---|
4 | |
---|
5 | ****************************************** |
---|
6 | * USE : * |
---|
7 | * --> Input grid : Regular * |
---|
8 | * --> Output grid : Regular or Irregular * |
---|
9 | ****************************************** |
---|
10 | |
---|
11 | I- Interpolation initialisations |
---|
12 | ================================ |
---|
13 | |
---|
14 | Field's dimension : |
---|
15 | --> 2D |
---|
16 | Interpolation of the scalar array : |
---|
17 | --> Br |
---|
18 | Type of the interpolation : |
---|
19 | --> bilinear |
---|
20 | |
---|
21 | II- Paths initialisations |
---|
22 | ========================= |
---|
23 | |
---|
24 | Data input file : /usr/work/sur/fvi/OPA/geomag//condmag.nc |
---|
25 | Output file : /usr/work/sur/fvi/OPA/geomag//Br_ORCA2.nc |
---|
26 | Target grid file : /usr/work/sur/fvi/OPA/geomag//meshmask_bab.nc |
---|
27 | |
---|
28 | III- Opening data files and reading input mask and output coordinates |
---|
29 | ===================================================================== |
---|
30 | |
---|
31 | condmag.nc opening OK |
---|
32 | meshmask_bab.nc opening OK |
---|
33 | |
---|
34 | Coordinates of output grid reading OK |
---|
35 | |
---|
36 | IV- Data mask preprocessing |
---|
37 | =========================== |
---|
38 | Re-arranging mask in latitudes : North-South --> South-North |
---|
39 | |
---|
40 | V- Interpolation |
---|
41 | ================ |
---|
42 | |
---|
43 | V-1- Writing attributes of interpolated field to file |
---|
44 | ----------------------------------------------------- |
---|
45 | |
---|
46 | Storing coordinates |
---|
47 | |
---|
48 | Storing times and mask |
---|
49 | |
---|
50 | V-2- Interpolating, correcting and writing field(s) |
---|
51 | --------------------------------------------------- |
---|
52 | |
---|
53 | **** ENTERING TEMPORAL LOOP **** |
---|
54 | |
---|
55 | ***>> TIME ITERATION NUMBER : 1 |
---|
56 | |
---|
57 | interpolating Br at t-point |
---|
58 | |
---|
59 | Data reading OK |
---|
60 | Re-arranging data in latitudes : North-South --> South-North |
---|
61 | |
---|
62 | Storing field |
---|
63 | |
---|
64 | **** END OF TEMPORAL LOOP **** |
---|
65 | |
---|
66 | Closing files |
---|
67 | |
---|
68 | ******************************************* |
---|
69 | * END OF INTERPOLATION PROGRAM * |
---|
70 | ******************************************* |
---|