| 1 | You can get the bandwidth information from an HDF files by running azexhdf on it. The information is stored in several vectors in the HDF. For CCD sensors, the key vectors are: |
| 2 | * CAwavc: wavelength central frequencies for CCD sensors (CASI, Eagle, Hawk), in nm |
| 3 | * CAwavh: wavelength half bandwidth for CCD sensors (CASI, Eagle, Hawk), in nm |
| 4 | |
| 5 | The length of the vectors will vary for CCD sensors depending on the band configuration. |
| 6 | |
| 7 | For ATM, |
| 8 | * ATwavu & ATwavl: upper and lower wavelength limits for ATM, in nm |
| 9 | |
| 10 | The ATM vectors will never vary. |
| 11 | |
| 12 | == Example commands == |
| 13 | |
| 14 | General form: `azexhdf -vf OUTPUT_FILE.txt -vn VECTOR_NAME -h LEV1_HDF_FILENAME` |
| 15 | |
| 16 | `azexhdf -vf casi192_wave_centre.txt -vn CAwavc -h lev1/c192a011b.hdf ` |
| 17 | * this prints lots of information and also outputs the vector as space-separated numbers to the file, e.g. |
| 18 | {{{ |
| 19 | 408.94 440.93 488.94 508.72 528.52 559.66 570.06 588.97 620.21 648.68 670.55 679.11 684.83 704.86 754.62 779.60 871.54 |
| 20 | }}} |
| 21 | |
| 22 | A unix command to transpose this output into a column is `cat OUTPUT_FILE.txt | tr ' ' \\n > OUTPUT_FILE-transposed.txt` |
| 23 | |
| 24 | Band Center-Wavelength Half-bandwidth |
| 25 | 1 408.94 6.74479 |
| 26 | 2 439.04 6.74581 |
| 27 | 3 487.99 6.75106 |
| 28 | 4 507.78 7.69685 |
| 29 | 5 557.78 6.76623 |
| 30 | 6 617.37 7.73400 |
| 31 | 7 661.99 6.80551 |
| 32 | 8 678.16 5.86114 |
| 33 | 9 705.81 6.82787 |
| 34 | 10 748.86 3.97656 |
| 35 | 11 757.50 3.01953 |
| 36 | 12 775.75 9.75582 |
| 37 | 13 862.78 11.79800 |
| 38 | 14 882.26 5.97619 |