code:work:lvisf:2024:field_processing:arcsix:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| code:work:lvisf:2024:field_processing:arcsix:start [2024/07/24 12:49] – [Quality] david | code:work:lvisf:2024:field_processing:arcsix:start [2024/10/15 17:30] (current) – [Final Raid Inventory] david | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ARCSIX Field Processing ====== | ====== ARCSIX Field Processing ====== | ||
| + | * [[code: | ||
| + | * [[code: | ||
| * Backup Drives "/ | * Backup Drives "/ | ||
| * Backup Drives "/ | * Backup Drives "/ | ||
| Line 110: | Line 112: | ||
| rsync -vaP / | rsync -vaP / | ||
| </ | </ | ||
| + | |||
| ==== Care Package Creation ==== | ==== Care Package Creation ==== | ||
| Line 133: | Line 136: | ||
| - Kick off processing < | - Kick off processing < | ||
| time ~/ | time ~/ | ||
| + | </ | ||
| + | - Channel mixed processing < | ||
| + | time ~/ | ||
| </ | </ | ||
| Line 167: | Line 173: | ||
| </ | </ | ||
| - Copy the files from the RTP archive (which is a copy from the plane) (excluding rtlivs just in case it was somehow copied over) < | - Copy the files from the RTP archive (which is a copy from the plane) (excluding rtlivs just in case it was somehow copied over) < | ||
| - | rsync -vaP --exclude=' | + | rsync -vaP --exclude=' |
| </ | </ | ||
| - Copy all **kmz** files to external drive (optional, but a good idea assuming GROUND_NAV is mounted!) (max depth was because there is an older folder in one of the days to avoid copying those) < | - Copy all **kmz** files to external drive (optional, but a good idea assuming GROUND_NAV is mounted!) (max depth was because there is an older folder in one of the days to avoid copying those) < | ||
| Line 191: | Line 197: | ||
| === Mission Meta === | === Mission Meta === | ||
| + | |||
| + | < | ||
| + | ln -s / | ||
| + | </ | ||
| - Modify the configuration file so that the last mjd is captured | - Modify the configuration file so that the last mjd is captured | ||
| - Edit the config < | - Edit the config < | ||
| - | nano /home/lvis/field_tools/ | + | nano /mnt/archive/mjd/ |
| </ | </ | ||
| - Generate mission meta data < | - Generate mission meta data < | ||
| cd ~/ | cd ~/ | ||
| time ./ | time ./ | ||
| + | </ | ||
| + | - Copy to external drive | ||
| + | - Mount GROUND_NAV | ||
| + | - Sync the files to it < | ||
| + | rsync -vaP / | ||
| </ | </ | ||
| Line 207: | Line 222: | ||
| - Attached external drive and mount with Ubuntu manager | - Attached external drive and mount with Ubuntu manager | ||
| - Run this script based on MJD < | - Run this script based on MJD < | ||
| - | sleep 2h ; create_mjd_external_archive.sh ${mjd} / | + | sleep 2h ; create_mjd_external_archive.sh ${mjd} / |
| + | </ | ||
| + | - Copy the camera folder to the external drive. | ||
| + | |||
| + | === Copy Applanix Logs from External Camera Backup === | ||
| + | |||
| + | < | ||
| + | find / | ||
| + | |||
| + | # to make sure you get ALL txt files (Rob and John named them differently) | ||
| + | find / | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Raw Data Copy to Gaia ==== | ||
| + | |||
| + | - Copy card data < | ||
| + | rsync -vazP / | ||
| + | </ | ||
| + | - Copy usb data < | ||
| + | rsync -vazP / | ||
| </ | </ | ||
| Line 216: | Line 251: | ||
| * Run applanix time check on raw IMU files | * Run applanix time check on raw IMU files | ||
| * Camera? | * Camera? | ||
| + | |||
| + | |||
| + | ==== Final Raid Inventory ==== | ||
| + | |||
| + | * Ensure each drive has a meta and inventory entry | ||
| + | * Copy inventory and meta files to three places **drive_meta/ | ||
| + | * camera, card, lvisf, nav, rtp, usb | ||
| + | * Box, Teams and Wiki < | ||
| + | # manual creation of inventory | ||
| + | time_date=$(date ' | ||
| + | time_time=$(date ' | ||
| + | inventory_output=" | ||
| + | meta_output=" | ||
| + | mkdir -p ${camera_basepath}/ | ||
| + | meta_path=" | ||
| + | drivemeta=$(df -h | grep ${camera_mountpoint}) | ||
| + | echo " | ||
| + | echo " | ||
| + | echo "find ${camera_mountpoint} -type f -exec ls -l {} \; >> ${inventory_output}" | ||
| + | find ${camera_mountpoint} -type f -exec ls -l {} \; >> ${inventory_output} | ||
| + | </ | ||
| + | * **md5deep** will follow symbolic links, so run this < | ||
| + | time sudo find / | ||
| + | |||
| + | # 68 hours for 44TB not bad | ||
| + | # / | ||
| + | real 4033m5.615s | ||
| + | user 1616m48.209s | ||
| + | sys | ||
| + | |||
| + | # and make a sorted version of the file | ||
| + | cat ~/ | ||
| + | </ | ||
| + | |||
code/work/lvisf/2024/field_processing/arcsix/start.1721825367.txt.gz · Last modified: by david
