compass.mesh.IcosahedralMeshStep.get_cell_width¶
- static IcosahedralMeshStep.get_cell_width(subdivisions)[source]¶
Get the approximate cell width for an icosahedral mesh given either a number of subdivisions of the icosahedron. As a rule of thumb:
subdivisions
cell width (km)
5
240
6
120
7
60
8
30
9
15
10
7.5
11
3.8
12
1.9
13
0.94
- Parameters:
subdivisions (int) – The number of subdivisions of the icosahedron to make
- Returns:
cell_width (float) – The approximate size in km of each cell