Closed basaks closed 6 years ago
This is required as cluster.f
passed on by @alexgorb implemented uniform grids everywhere. We need very different grids based on the parameter file for inversrion. Here is an example of the relevant part of the parameter file looks like for regional
and global
grid, with the first block corresponding to global
:
72 36 16 5. 5.
0.
110.
280.
410.
660.
840.
1020.
1250.
1400.
1600.
1850.
2050.
2250.
2450.
2600.
2750.
2889.
100. 190. -54. 0. 45 27 22
0.
35.
70.
110.
160.
210.
260.
310.
360.
410.
460.
510.
560.
610.
660.
710.
810.
910.
1010.
1110.
1250.
1400.
1600.
The above implies non-trivial changes in the Grid class and the _find_block functions.
The above mentioned changes may not be required. However, a different set of changes can achieve the output @alexgorb 's scripts expect. These are:
zone
latitude
outputs to co-latitude
.All of the above is done, @alexgorb has run inversion code with these changes. Closed.
Clustering code should be flexible to be able to deal with different cell sizes in different zones, i.e. we want to be able to specify different grid sizes for the
regional
andglobal
zones.Best option is probably to work of the same parameter file used during inversion.
Something like this for the global grid size:
72 36 16 5. 5.
And this for the regional grid:
100. 190. -54. 0. 45 27 22
Source:
param2x2
parameter file passed on by @alexgorb .