|
⇤ ← Revision 1 as of 2018-01-12 17:23:44
Size: 780
Comment:
|
Size: 1115
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 25: | Line 25: |
| === 1. Initial inputs === | === 1. Create the following file === {{{ vi lsupport/processScript.sh # Takes a list of image names and runs process_fits on them # Eric E. Palmer, 9 June 2015 file=$1 prefix="images" # symbolic link to source images list=`cat $file` for item in $list do echo "$prefix/$item" | process_fits done }}} |
Block 2 - Ingest V2
Description
This block additionally ingests images from FITS files into the SPC world.
Assumptions
- You have invoked a Bourne-Again Shell (bash)
- You are a member of the group OREX\spc
- You have set up a skeleton directory in the following format:
Bennu/
DATA/
IMAGEFILES/
NOMINALS/
SUMFILES/
SHAPEFILES/
lsupport/
Procedure
1. Create the following file
vi lsupport/processScript.sh
# Takes a list of image names and runs process_fits on them
# Eric E. Palmer, 9 June 2015
file=$1
prefix="images" # symbolic link to source images
list=`cat $file`
for item in $list
do
echo "$prefix/$item" | process_fits
done
2. Set-up
3. Populate sub-directories
4. Generate PICTLIST.TXT file
5. Generate list of images needing registering/autoregistering
6. Complete procedure
(Compiled by JRW)
