| 27 | |
| 28 | The pitch, roll and yaw angles to use are reported at the end of the terminal output. The quality of these can be checked first by viewing the produced image. If the blue-green tiepoints appear to have random offsets or there are very few of them then the quality may not be very good. Reprocess the warp image using the new boresight adjustment values and view it together with the base image to determine its quality. Further iterations may be required. |
| 29 | |
| 30 | == Important Notes == |
| 31 | |
| 32 | The warp and base images used should be as straight as possible, no wobbles or bends in the data. Only short parts of the flight lines are required, usually 2000 lines will suffice. Prior to running the script you should view the 2 images to check they overlap with each other. Use `azexhdf -h <lev1filename>` to get the height and heading of the flight line |
| 33 | |
| 34 | This method does not always produce suitable results and the following may help if the results are not good: |
| 35 | * try changing the matching type if the number of tie points attained was small or bad quality |
| 36 | * you may have to tie point manually in ENVI - slow and more effort but results usually good (if your tie points are) |
| 37 | * check you are using the correct height for the part of the line you are matching against |
| 38 | |
| 39 | == More automated approach == |
| 40 | There are another 2 scripts which can be used for a more automated approach but there are some known issues with these. |
| 41 | |
| 42 | * `getboresightvalues.sh` can be used as a more simple way to run the IDL script from a bash terminal. It assumes you also have the script `startidl.sh` in the same directory and is run as: `getboresightvalues.sh $warplev1file $basefilename $warpfilename '$matchtype' '$outputdirectory'` replacing the $words |