| 1 | == Configure == |
| 2 | The configuration file is made with the generate_alsproc_config.py program. It will examine your current working directory and derive a project directory, from which it will determine the best available calibration to base your configuration file on, and populate it with information derived from your flightlines. This can take a while, as it needs to perform a cursory check on all of the raw data. |
| 3 | {{{ |
| 4 | generate_alsproc_config.py |
| 5 | }}} |
| 6 | |
| 7 | Example: |
| 8 | {{{ |
| 9 | airborne@pmpc1322:/users/rsg/arsf/arsf_data/2013/flight_data/uk/RG12_09-2013_121_Wessex# ~besm/local/alsproc/scripts/generate_alsproc_config.py |
| 10 | Gathering details about project... |
| 11 | Using calibration file (/users/rsg/arsf/calibration/lidar/20130219/als50.cfg)... |
| 12 | Collating details for .cfg file... |
| 13 | Writing .cfg file |
| 14 | Scanning flightline 130501_093511... ok |
| 15 | Scanning flightline 130501_094820... ok |
| 16 | Scanning flightline 130501_100234... ok |
| 17 | Scanning flightline 130501_101637... ok |
| 18 | Scanning flightline 130501_102953... ok |
| 19 | Scanning flightline 130501_104304... ok |
| 20 | Scanning flightline 130501_105631... ok |
| 21 | Scanning flightline 130501_113351... ok |
| 22 | Scanning flightline 130501_114825... ok |
| 23 | Scanning flightline 130501_120434... ok |
| 24 | Scanning flightline 130501_121952... ok |
| 25 | Scanning flightline 130501_123433... ok |
| 26 | Scanning flightline 130501_125655... not ok, check failed on duration |
| 27 | all done |
| 28 | }}} |
| 29 | |
| 30 | Flightlines which alsproc thinks it might not be able to process based on this check will be flagged here, as in the case of the last flightline, and not be marked to be processed. |
| 31 | |
| 32 | Next, edit the .cfg file created as a result. If you did not specify, it will be under processing/als50/. |
| 33 | |
| 34 | Fields of particular interest to you as a data processor are: |
| 35 | * output-format - can normally be left as the default |
| 36 | * '''projection''' - will need to be set per-flight depending on where the flight is based (TODO: VERIFY) |
| 37 | * output_dir - default is probably fine, but it can be useful to change, especially when working on the pitch and roll values later |
| 38 | * '''sol-file''' - change this to the location of the sol file created during navigation processing |
| 39 | * '''sup-file''' - as with the sol file |
| 40 | |
| 41 | You will then see a section for each flightline. process_line should be set to true for each flightline unless there was some problem, in which case the maintainer for alsproc should be contacted. |
| 42 | {{{ |
| 43 | [110618_090736] |
| 44 | output-file = %(output_dir)s/ldr110618_090736.las |
| 45 | process_line = true |
| 46 | |
| 47 | # GMT 09:07:52 to 09:08:39, 47.3 seconds |
| 48 | start-time = 1640,551272.000006 |
| 49 | end-time = 1640,551319.282274 |
| 50 | delta-avg-diff = 0.000006667852 |
| 51 | scanner-fov = 18.932618 |
| 52 | scan-rate = 58.214212 |
| 53 | multi-pulse = false |
| 54 | }}} |
| 55 | |
| 56 | |
| 57 | == Generate == |
| 58 | Alsproc is fed its arguments with the wrapper script alsproc_batch.py, which also handles certain LiDAR preformatting if using las12_las. |
| 59 | {{{ |
| 60 | alsproc_batch.py processing/als50/2013121.cfg |
| 61 | }}} |
| 62 | |
| 63 | Log files will be kept for each flightline in the directory specified by log_dir in the configuration file, for your use if alsproc should suffer from some processing error. |
| 64 | |
| 65 | == Pitch and Roll Errors == |
| 66 | <how to prh correct> |