-
Notifications
You must be signed in to change notification settings - Fork 0
/
sort.h
49 lines (45 loc) · 1.45 KB
/
sort.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// DO NOT EDIT. This file was auto-generated by scripts/gensortindices.py
// using the latitude sorting indices of
// MOD03.A2015129.1540.005.2015131111937.hdf
short SORT_WIDTHS[] = {
7, 69, 82, 97, 127, 589, 127, 98, 81, 70, 7
};
short SORT_FIRST[][10] = {
{0, 1, 2, 3, 4, 10, 5, 11, 6, 12},
{0, 1, 2, 3, 4, 5, 10, 6, 11, 7},
{0, 1, 2, 3, 4, 5, 6, 10, 7, 11},
{0, 1, 2, 3, 4, 5, 6, 7, 10, 8},
{0, 1, 2, 3, 4, 5, 6, 7, 8, 10},
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
{0, 1, 2, 3, 4, 5, 6, 7, 8, 10},
{0, 1, 2, 3, 4, 5, 6, 7, 10, 8},
{0, 1, 2, 3, 4, 5, 6, 10, 7, 11},
{0, 1, 2, 3, 4, 5, 10, 6, 11, 7},
{0, 1, 2, 3, 4, 10, 5, 11, 6, 12},
};
short SORT_MID[][10] = {
{-3, 3, -2, 4, -1, 10, 5, 11, 6, 12},
{2, -2, 3, -1, 4, 5, 10, 6, 11, 7},
{-2, 2, -1, 3, 4, 5, 6, 10, 7, 11},
{1, -1, 2, 3, 4, 5, 6, 7, 10, 8},
{-1, 1, 2, 3, 4, 5, 6, 7, 8, 10},
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
{-1, 1, 2, 3, 4, 5, 6, 7, 8, 10},
{1, -1, 2, 3, 4, 5, 6, 7, 10, 8},
{-2, 2, -1, 3, 4, 5, 6, 10, 7, 11},
{2, -2, 3, -1, 4, 5, 10, 6, 11, 7},
{-3, 3, -2, 4, -1, 10, 5, 11, 6, 12},
};
short SORT_LAST[][10] = {
{-3, 3, -2, 4, -1, 5, 6, 7, 8, 9},
{2, -2, 3, -1, 4, 5, 6, 7, 8, 9},
{-2, 2, -1, 3, 4, 5, 6, 7, 8, 9},
{1, -1, 2, 3, 4, 5, 6, 7, 8, 9},
{-1, 1, 2, 3, 4, 5, 6, 7, 8, 9},
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
{-1, 1, 2, 3, 4, 5, 6, 7, 8, 9},
{1, -1, 2, 3, 4, 5, 6, 7, 8, 9},
{-2, 2, -1, 3, 4, 5, 6, 7, 8, 9},
{2, -2, 3, -1, 4, 5, 6, 7, 8, 9},
{-3, 3, -2, 4, -1, 5, 6, 7, 8, 9},
};