23 | | === Semi-scripted method === |
24 | | * In the directory above the new project directories (eg '.../flight_data/unpacking/') run 'unpack_folder_structure.py' [[BR]] NOTE: If you want to just run this on just one project (and as we usually only unpack one at a time) then you will need to move this project into a temporary containing folder when running this script (will change script at some point so can specify a single project). |
25 | | * By default, it runs safely in a dry-run mode and will output the commands it will run to the terminal. Check these look ok. |
26 | | * If happy, either re-run with --execute (and optionally --verbose) |
27 | | * Each project directory should be re-formatted to the current standard |
| 23 | === Script === |
| 24 | * Run unpack_convert_proj.sh in the target project directory. This will change the project from the old-syle to the new whilst correcting a few errors. |
48 | | In each project directory run 'unpack_file_check.py -l <admin/logsheet.doc(.txt)>' |
49 | | * This will convert .doc logsheet to .txt, or use the .txt if one available. NOTE to convert to .doc requires ooffice macro |
50 | | * Will then do various checks of data against logsheet as listed below. Information will be output to terminal. Important (error) messages are printed again at the end. |
51 | | * Check file sizes against a 'suitable' size and also against header file (Eagle + Hawk) |
52 | | * Check number of files against logsheet |
53 | | * Check number of logsheets |
54 | | * Check GPS start/stop times in header file (Eagle + Hawk) |
55 | | * Check .raw, .nav, .log, .hdr for each Eagle + Hawk line |
56 | | * Check for nav-sync issues - THIS IS BASED ON A FALSE ASSUMPTION AND PROBABLY IS USELESS |
| 43 | knpa: This will need to be rewritten to work with the new file structure. |
73 | | = Move to permanent PML data storage = |
74 | | |
75 | | Move to appropriate location in the repository (~arsf/arsf_data/2009/flight_data/...) |
76 | | * ensure the project directory names conform to the standard - '''PROJECTCODE-YYYY_JJJxx_SITENAME''', e.g. ''GB07_07-2007_102a_Inverclyde'', ''boresight-2007_198'', etc |
77 | | |
78 | | = Create subsidiary files = |
79 | | |
80 | | Run the DEM generating script if a UK flight. `nextmapdem.sh` |
81 | | |
82 | | If the flight is outside the UK you'll need to process the LiDAR data first or use the ASTER/SRTM dem (see http://arsf-dan.nerc.ac.uk/trac/wiki/Processing/SRTMDEMs) |
83 | | |
84 | | Create the calibration sym link. This is done automatically if the unpacking scripts have been run. |
| 135 | |
| 136 | = Move to permanent PML data storage = |
| 137 | |
| 138 | Move to appropriate location in the repository (~arsf/arsf_data/2009/flight_data/...) |
| 139 | * ensure the project directory names conform to the standard - '''PROJECTCODE-YYYY_JJJxx_SITENAME''', e.g. ''GB07_07-2007_102a_Inverclyde'', ''boresight-2007_198'', etc |
| 140 | |
| 141 | = Create subsidiary files = |
| 142 | |
| 143 | Run the DEM generating script if a UK flight. `nextmapdem.sh` |
| 144 | |
| 145 | If the flight is outside the UK you'll need to process the LiDAR data first or use the ASTER/SRTM dem (see http://arsf-dan.nerc.ac.uk/trac/wiki/Processing/SRTMDEMs) |
| 146 | |
| 147 | Create the calibration sym link. This is done automatically if the unpacking scripts have been run. |