code:work:lvisf:2017quicklook:start
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| code:work:lvisf:2017quicklook:start [2017/06/27 18:01] – created david | code:work:lvisf:2017quicklook:start [2017/06/27 18:24] (current) – [LVIS to Quicklook Data] david | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| sudo apt-get install libc6-dev | sudo apt-get install libc6-dev | ||
| </ | </ | ||
| + | * For **g++** I ended up doing < | ||
| + | sudo apt-get update | ||
| + | sudo apt install g++ | ||
| + | </ | ||
| ===== Applanix Real Time Data ===== | ===== Applanix Real Time Data ===== | ||
| Line 30: | Line 33: | ||
| * Move and rename the trajectory < | * Move and rename the trajectory < | ||
| mv applanix_raw_traj.out / | mv applanix_raw_traj.out / | ||
| + | </ | ||
| + | |||
| + | ===== LVIS to Quicklook Data ===== | ||
| + | |||
| + | Turn an entire flight of data into a single binary file we can geolocate. | ||
| + | |||
| + | * Change the code so that it appends to a file rather than overwriting it | ||
| + | * Change this < | ||
| + | fpout = fopen(argv[2]," | ||
| + | </ | ||
| + | * To this < | ||
| + | fpout = fopen(argv[2]," | ||
| + | </ | ||
| + | * Compile the code < | ||
| + | g++ lvisfile2quicklook.c xmcParseMeta.cpp -o lvisfile2quicklook | ||
| + | </ | ||
| + | * Create this shell script to run it | ||
| + | * Make a file name **runme** | ||
| + | * Edit the file < | ||
| + | nano runme | ||
| + | </ | ||
| + | * Put this in the file < | ||
| + | #!/bin/bash | ||
| + | |||
| + | for file in $1/ | ||
| + | do | ||
| + | echo " | ||
| + | | ||
| + | done | ||
| + | </ | ||
| + | * Change the permissions so you can run it < | ||
| + | chmod 755 runme | ||
| + | </ | ||
| + | * Run the script, and it will dump all the data into a single file < | ||
| + | time ./runme / | ||
| </ | </ | ||
code/work/lvisf/2017quicklook/start.1498586490.txt.gz · Last modified: by david
