code:work:lvisf:2017quicklook:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
code:work:lvisf:2017quicklook:start [2017/06/27 18:08] – david | code:work:lvisf:2017quicklook:start [2017/06/27 18:24] (current) – [LVIS to Quicklook Data] david | ||
---|---|---|---|
Line 39: | Line 39: | ||
Turn an entire flight of data into a single binary file we can geolocate. | Turn an entire flight of data into a single binary file we can geolocate. | ||
- | | + | |
+ | * 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 < | ||
+ | # | ||
+ | |||
+ | 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.1498586905.txt.gz · Last modified: 2017/06/27 18:08 by david