| 55 | Photographic data delivery ¶ |
| 56 | |
| 57 | Once the data has been processed, it needs to be put into a delivery directory. This is the final file structure in which it will be sent to the customer. |
| 58 | Delivery directory structure ¶ |
| 59 | |
| 60 | COPYRIGHT.txt |
| 61 | |
| 62 | Read_Me-DATE.txt |
| 63 | |
| 64 | doc/ - contains data quality report and calibration certificate |
| 65 | |
| 66 | eventfile/ - contains Image events file created from photo_renamer script |
| 67 | |
| 68 | PROJCODE-YEARJDAY-SITENAME.kml - Google Earth file that shows photograph locations |
| 69 | |
| 70 | photographs/ - contains processed and tagged tifs (named from 00001 onwards) |
| 71 | |
| 72 | thumbnails/ - contains thumbnails of the tifs from photographs |
| 73 | Creating a delivery directory ¶ |
| 74 | |
| 75 | The quick way If you are lucky then you should just be able to run a script to do the stages of processing and it will auto create a delivery directory. The stages of the script involve creating the delivery structure, populating it with files, tagging and renaming the tif images, creating thumbnail images, creating a KML file and generating the Read_Me file. |
| 76 | |
| 77 | The slow way Once the instructions on photo processing have been followed you should have a directory of processed, tagged tiffs which have been renamed as per the convention. Also, there should be a directory of thumbnail images of the processed tiffs. These should be moved over into the photographs and thumbnails directories respectively. The event file created from the renaming script should be copied into the eventfile directory. Use this event file to create a kml file in the delivery directory using kmlise_project.py -d <main_project_directory> -e <eventfile> > PROJ_CODE-YEARJDAY-SITENAME.kml |
| 78 | |
| 79 | Run sorte_fixer.sh in the photograph directory to correct the misspelt 'sorte' tag. |
| 80 | To create a readme for the delivery: ¶ |
| 81 | Latex PDF readme ¶ |
| 82 | |
| 83 | This is still largely untested and probably buggy |
| 84 | |
| 85 | To create a PDF read me file for the delivery takes 3 stages. |
| 86 | |
| 87 | * Generate a config file containing the project information that will be used in the next stage. To do this, use the script generate_readme_config.py with the -d option (giving the delivery directory) and "-r camera". See generate_readme_config.py -h. |
| 88 | * Check and edit the config file: |
| 89 | o Any remarks about the photograph quality / missing items etc should be entered in the "data_quality_remarks" section as a sentence. To add new line characters enter '\\' |
| 90 | o tagtype should be "full" if photos have been tagged with pos/att information or "min" if only tagged with project details. If both types are present in the delivery then use full and in the "data_quality_remarks" section add a sentence explaining which photos have been unable to be tagged with pos/att and why. |
| 91 | o line_numbering should contain a space separated list of names/numbers identifying flight lines. |
| 92 | * Create the LaTeX TeX file. This is editable in any text editor and can be manually edited to correct mistakes or insert new text. To create the TeX file use the script create_latex_camera_readme.py with the -f option, giving the location of the config file generated above. |
| 93 | * Convert the TeX file into a PDF file. This is done using the command latex <TeXFile> and should create a file named Read_me-TODAYSDATE.pdf. |
| 94 | |
| 95 | It is advisable to keep the TeX file somewhere safe until after the delivery has been checked in case some changes to the Read_me need to be made (the TeX file should not be part of the delivery). |
| 96 | |