27 | | The files contained in the fodis, level1b and navigation directories are in band interleaved by line (BIL) ENVI format binary data. There is an accompanying ASCII text header file containing the required information to read the binary data. |
| 27 | The files contained in the fodis, level1b and navigation directories are in band interleaved by line (BIL) ENVI format binary data. There is an accompanying ASCII text header file containing the required information to read the binary data. This data format is essentially a stream of binary data that is ordered thus. Suppose that the file is made of N lines of data from B bands, where each line contains M samples: |
| 28 | |
| 29 | sample 1 of band 1 of line 1, sample 2 of band 1 of line 1 ... sample M of band 1 of line 1 \\ |
| 30 | sample 1 of band 2 of line 1, sample 2 of band 2 of line 1 ... sample M of band 2 of line 1 \\ |
| 31 | .......\\ |
| 32 | sample 1 of band B of line 1, sample 2 of band B of line 1 ... sample M of band B of line 1 \\ |
| 33 | sample 1 of band 1 of line 2, sample 2 of band 1 of line 2 ... sample M of band 1 of line 2 \\ |
| 34 | sample 1 of band 2 of line 2, sample 2 of band 2 of line 2 ... sample M of band 2 of line 2 \\ |
| 35 | .......\\ |
| 36 | sample 1 of band B of line M, sample 2 of band B of line N ... sample M of band B of line N \\ |
| 37 | |
| 38 | Alternatively this can be viewed as a large table such as: |
| 39 | |
| 40 | {{{#!th rowspan=5 |
| 41 | Line 1 |
| 42 | }}} |
| 43 | |---------------- |
| 44 | {{{#!td |
| 45 | || Band 1 || Samples 1, 2, 3, ..., M || |
| 46 | }}} |
| 47 | |---------------- |
| 48 | {{{#!td |
| 49 | ||Band 2 || Samples 1, 2, 3, ..., M || |
| 50 | }}} |
| 51 | |---------------- |
| 52 | {{{#!td |
| 53 | ... |
| 54 | }}} |
| 55 | |---------------- |
| 56 | {{{#!td |
| 57 | ||Band B || Samples 1, 2, 3, ..., M || |
| 58 | }}} |
| 59 | |
| 60 | {{{#!th rowspan=5 |
| 61 | Line 2 |
| 62 | }}} |
| 63 | |---------------- |
| 64 | {{{#!td |
| 65 | || Band 1 || Samples 1, 2, 3, ..., M || |
| 66 | }}} |
| 67 | |---------------- |
| 68 | {{{#!td |
| 69 | ||Band 2 || Samples 1, 2, 3, ..., M || |
| 70 | }}} |
| 71 | |---------------- |
| 72 | {{{#!td |
| 73 | ... |
| 74 | }}} |
| 75 | |---------------- |
| 76 | {{{#!td |
| 77 | ||Band B || Samples 1, 2, 3, ..., M || |
| 78 | }}} |
| 79 | ... |
| 80 | {{{#!th rowspan=5 |
| 81 | Line N |
| 82 | }}} |
| 83 | |---------------- |
| 84 | {{{#!td |
| 85 | || Band 1 || Samples 1, 2, 3, ..., M || |
| 86 | }}} |
| 87 | |---------------- |
| 88 | {{{#!td |
| 89 | ||Band 2 || Samples 1, 2, 3, ..., M || |
| 90 | }}} |
| 91 | |---------------- |
| 92 | {{{#!td |
| 93 | ... |
| 94 | }}} |
| 95 | |---------------- |
| 96 | {{{#!td |
| 97 | ||Band B || Samples 1, 2, 3, ..., M || |
| 98 | }}} |
| 99 | |