48 | | If the script fails then you will have to fix the problem and try again, or follow the individual stages listed [wiki:RCDPhotoProcessing/RCDPostProcessing here]. Possible causes of failure, excluding the ones previously mentioned above, could be: |
49 | | * SOL file GPS times do not overlap with photograph log file times. Either fix the SOL (if possible) else use the logfile to tag the images (and mention in the Read_Me) |
| 42 | This creates a new event file with a parseable header. Note that the DEFAULT header is HARD CODED in the script. If it is not the same as the below then you can call the function {{{rcdclasses.FixIPASCOEventFileHeader(filename,newfilename,origheader,newheader)}}} from within python to convert the origheader to the newheader. |
| 43 | |
| 44 | Default header: |
| 45 | {{{ |
| 46 | ID Event# GPS Time(s) Easting(degrees) Northing(degrees) Ell Ht(metres) Omega(deg) Phi(deg) Kap(deg) Lat(deg) Lon(deg) Xstd(m) Ystd(m) Zstd(m) Ostd(deg) Pstd(deg) Kstd(deg) |
| 47 | }}} |
| 48 | |
| 49 | You are now ready to tag the tiffs. '''rcd_tiff_tagging.py''' has a lot of options to help in the tagging of images, but for usual tagging (i.e. in an ARSF repository porject) you (probably :) ) only need to specify the solfile, eventfile and project location. For other options see the --help. First run I suggest you do as the following: |
| 50 | |
| 51 | {{{rcd_tiff_tagging.py --eventfile <eventfilename> --solfile <solfilename> --projectlocation <toplevelprojectpath> }}} |
| 52 | |
| 53 | If that outputs everything OK (no errors etc) then add {{{--final}}} to the command to actually perform the tagging. Note also that the script can be loaded in as a library of functions, and the accompanying rcdclasses.py library is also of use here. This will also create an updated event file in the same directory as the photographs. |
| 54 | |
| 55 | === Making the Delivery === |
| 56 | |
| 57 | Now that the processing has been completed the delivery can be made. This, as with the hyperspectral and lidar, uses the [wiki:Procedures/DeliveryCreation/pythonlibrary arsf_delivery_library] together with the convenience script make_arsf_delivery.py. An example usage: |
| 58 | |
| 59 | {{{make_arsf_delivery.py --projectlocation /users/rsg/arsf/arsf_data/2013/flight_data/uk/MYPROJECT --deliverytype camera --steps STRUCTURE}}} |
| 60 | |
| 61 | check that the output looks correct, and if so repeat with {{{--final}}}. This creates an empty structure. Then run: |
| 62 | |
| 63 | {{{make_arsf_delivery.py --projectlocation /users/rsg/arsf/arsf_data/2013/flight_data/uk/MYPROJECT --deliverytype camera --notsteps STRUCTURE}}} |
| 64 | |
| 65 | This will do a dry-run on the camera delivery and output information clearly labelled for each step. You can then proceed running a single step at a time if you so wish, or run the whole lot together. |
| 66 | |