Changes between Initial Version and Version 1 of Processing/problemsHS


Ignore:
Timestamp:
Jul 4, 2011, 11:39:53 AM (13 years ago)
Author:
knpa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Processing/problemsHS

    v1 v1  
     1= Hyperspectral processing issues =
     2
     3'''Sync'''
     4
     5If you get something in the log file like:
     6
     7** End of POSATT file with NO Specim sync found
     8** no sync within 5.00 secs of raw file header time: 49915.66
     9
     10then there is no sync info in the nav file for that line and and the range of possible sct values will increase (up to a few seconds). You will need to include 'has_sync = false' in the config file line entry and input a wider range of scts, e.g.
     11
     12[hawk_-11]
     13...
     14...
     15...
     16has_sync = false
     17sctend = -1
     18sctincrement = -0.1
     19sctstart = 1
     20
     21[hawk_-12]
     22...
     23
     24A less likely reason for the above output is that the raw header file in question contains invalid GPS times (either start time or end time) and therefore also results in not lying within the times of the .nav file. If both GPS Starting Position and GPS Start Time are missing (accordingly for End Position/End Time) then the best guess is to replace the invalid time/position with the raw header file from the other sensor (eagle/hawk), making sure that it is the correct corresponding flightline. If only one of the two are missing, time or position, then the navigation files should be used to find the missing data, this is easier done when the position is missing (open .gpb file from applanix/extract) but still possible when the time is missing (.gpb again, but will have to track position).
     25
     26'''Turns'''
     27
     28If you get something in the log file like:
     29
     30** flight line may have a turn in it **
     31** heading spread over approximately: 120 degs **
     32
     33** run terminated due to turn **
     34
     35then there is a bend in the line that is too sharp. You need to add a -bend flag to the azcorr arguments for the line entry in the config file, e.g.
     36
     37[eagle_-7]
     38...
     39...
     40...
     41azgcorr_args_extra = -bend
     42
     43[eagle_-8]
     44...
     45
     46Once processed, it is best to exclude the lines which are causing the problems by including a -l flag in azspec followed by the line numbers delineating the part of the line you want to keep, then reprocessing. E.g. if the bend is at the start of the line:
     47
     48[eagle_-7]
     49...
     50...
     51...
     52azgcorr_args_extra = -bend
     53azspec_args_extra = -l 50 2000
     54
     55will exclude the first 50 lines. Make sure the second value takes into account dark frames: the number of lines given in the header file will include dark frames and if you want to process to the end of the line you should therefore specify the line number before the figure given in 'autodarkstartline' (also in the header file).