if ( 3 != 3 ) then set DAY = 2003.07.07_12 set FINAL = /synoptic/farside//FSI_lowres set nuRANGE = .0025-.0045 set NUM_6H_BLOCKS = 6 setenv BASE_WD /home/soi/farside++ setenv FS_DATA `pwd` pwd setenv SCRIPTS /home/soi/farside++/scripts++ setenv INPUT /tmp/2003.07.07_12.29371/in setenv OUTPUT /tmp/2003.07.07_12.29371/out set path= ( /home/soi/farside++/scripts++ /home/soi/farside++/bin/_linux4 /home/soi/farside++/FS_scripts /home/soi/farside++/FS_bin/_linux4 ~CM/bin/_linux4 /bin /usr/bin ) setenv FRAMEDIR /tmp/2003.07.07_12.29371/out/FRAMES setenv STACKLIST_NAME /tmp/2003.07.07_12.29371/out/STACKLIST01 setenv BLANK_NAME /tmp/2003.07.07_12.29371/out/BLANK setenv REAL_STACKNAME PSI_X_T setenv FOURIER_STACKNAME PSI_X_NU setenv MEAN_IMAGE_NAME /tmp/2003.07.07_12.29371/out/MEAN_IMAGE setenv SLOPE_IMAGE_NAME /tmp/2003.07.07_12.29371/out/SLOPE_IMAGE setenv DEFECTIVE_PIX_LIST_NAME /tmp/2003.07.07_12.29371/out/DEFECTIVE_PIX_LIST setenv MISSING_IMAGE_LIST_NAME /tmp/2003.07.07_12.29371/out/MISSING_IMAGE_LIST setenv INPUT_DATACUBE /tmp/2003.07.07_12.29371/out/PSI_X_NU setenv INTERMED_DATACUBE /tmp/2003.07.07_12.29371/out/PSI_X_NU_2.5_4.5mHz setenv XPOSE_DATACUBE /tmp/2003.07.07_12.29371/out/XPOSE_PSI_X_NU_2.5_4.5mHz setenv PHASE_CORR_1x3 /tmp/2003.07.07_12.29371/out/PHASE_CORR_1x3 setenv PHASE_CORR_2x2 /tmp/2003.07.07_12.29371/out/PHASE_CORR_2x2 set BASE_SIX_H = `time_index -6 time=$DAY':00'` time_index -6 time=2003.07.07_12:00 @ START_SIX_H = 15358 - ( 6 / 2 ) @ END_SIX_H = 15358 + ( 6 / 2 ) - 1 echo ***************************************************** ***************************************************** echo ******starting farside image processing for 2003.07.07_12****** ******starting farside image processing for 2003.07.07_12****** echo getting data. base six hour number: 15358 getting data. base six hour number: 15358 echo starting 6h num: 15355 starting 6h num: 15355 echo going until 6h num: 15360 going until 6h num: 15360 echo working directory: /tmp/2003.07.07_12.29371 working directory: /tmp/2003.07.07_12.29371 echo ********* producing lev 1.8 data ************* ********* producing lev 1.8 data ************* set SIX_H = 15355 rm -r -f /tmp/2003.07.07_12.29371/in /tmp/2003.07.07_12.29371/out mkdir /tmp/2003.07.07_12.29371/in mkdir /tmp/2003.07.07_12.29371/out echo copying parameters copying parameters cp -r /home/soi/farside++/scripts++/params /tmp/2003.07.07_12.29371/ echo working directory is /tmp/2003.07.07_12.29371 working directory is /tmp/2003.07.07_12.29371 echo setting up symbolic links setting up symbolic links rm -rf /tmp/2003.07.07_12.29371/out/eof_data_used while ( 15355 < = 15360 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15355] if ( 0 ) then echo GOT HERE /PDS48/D7918284/lev1.8/vw_V_06h.15355 GOT HERE /PDS48/D7918284/lev1.8/vw_V_06h.15355 if ( /PDS48/D7918284/lev1.8/vw_V_06h.15355 =~ ###* ) then echo linking to directory: /PDS48/D7918284/lev1.8/vw_V_06h.15355 to /tmp/2003.07.07_12.29371/in/vw_V_06h.15355 linking to directory: /PDS48/D7918284/lev1.8/vw_V_06h.15355 to /tmp/2003.07.07_12.29371/in/vw_V_06h.15355 ln -s /PDS48/D7918284/lev1.8/vw_V_06h.15355 /tmp/2003.07.07_12.29371/in/vw_V_06h.15355 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS48/D7918284/lev1.8/vw_V_06h.15355/vw_V_06h.15355.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 15356 < = 15360 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15356] if ( 0 ) then echo GOT HERE /PDS50/D7918294/lev1.8/vw_V_06h.15356 GOT HERE /PDS50/D7918294/lev1.8/vw_V_06h.15356 if ( /PDS50/D7918294/lev1.8/vw_V_06h.15356 =~ ###* ) then echo linking to directory: /PDS50/D7918294/lev1.8/vw_V_06h.15356 to /tmp/2003.07.07_12.29371/in/vw_V_06h.15356 linking to directory: /PDS50/D7918294/lev1.8/vw_V_06h.15356 to /tmp/2003.07.07_12.29371/in/vw_V_06h.15356 ln -s /PDS50/D7918294/lev1.8/vw_V_06h.15356 /tmp/2003.07.07_12.29371/in/vw_V_06h.15356 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS50/D7918294/lev1.8/vw_V_06h.15356/vw_V_06h.15356.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 15357 < = 15360 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15357] if ( 0 ) then echo GOT HERE /PDS51/D7918299/lev1.8/vw_V_06h.15357 GOT HERE /PDS51/D7918299/lev1.8/vw_V_06h.15357 if ( /PDS51/D7918299/lev1.8/vw_V_06h.15357 =~ ###* ) then echo linking to directory: /PDS51/D7918299/lev1.8/vw_V_06h.15357 to /tmp/2003.07.07_12.29371/in/vw_V_06h.15357 linking to directory: /PDS51/D7918299/lev1.8/vw_V_06h.15357 to /tmp/2003.07.07_12.29371/in/vw_V_06h.15357 ln -s /PDS51/D7918299/lev1.8/vw_V_06h.15357 /tmp/2003.07.07_12.29371/in/vw_V_06h.15357 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS51/D7918299/lev1.8/vw_V_06h.15357/vw_V_06h.15357.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 15358 < = 15360 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15358] if ( 0 ) then echo GOT HERE /PDS40/D7918303/lev1.8/vw_V_06h.15358 GOT HERE /PDS40/D7918303/lev1.8/vw_V_06h.15358 if ( /PDS40/D7918303/lev1.8/vw_V_06h.15358 =~ ###* ) then echo linking to directory: /PDS40/D7918303/lev1.8/vw_V_06h.15358 to /tmp/2003.07.07_12.29371/in/vw_V_06h.15358 linking to directory: /PDS40/D7918303/lev1.8/vw_V_06h.15358 to /tmp/2003.07.07_12.29371/in/vw_V_06h.15358 ln -s /PDS40/D7918303/lev1.8/vw_V_06h.15358 /tmp/2003.07.07_12.29371/in/vw_V_06h.15358 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS40/D7918303/lev1.8/vw_V_06h.15358/vw_V_06h.15358.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 15359 < = 15360 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15359] if ( 0 ) then echo GOT HERE /PDS41/D7918311/lev1.8/vw_V_06h.15359 GOT HERE /PDS41/D7918311/lev1.8/vw_V_06h.15359 if ( /PDS41/D7918311/lev1.8/vw_V_06h.15359 =~ ###* ) then echo linking to directory: /PDS41/D7918311/lev1.8/vw_V_06h.15359 to /tmp/2003.07.07_12.29371/in/vw_V_06h.15359 linking to directory: /PDS41/D7918311/lev1.8/vw_V_06h.15359 to /tmp/2003.07.07_12.29371/in/vw_V_06h.15359 ln -s /PDS41/D7918311/lev1.8/vw_V_06h.15359 /tmp/2003.07.07_12.29371/in/vw_V_06h.15359 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS41/D7918311/lev1.8/vw_V_06h.15359/vw_V_06h.15359.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 15360 < = 15360 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15360] if ( 1 ) then echo PEQ4FSI failed. PEQ4FSI failed. echo ### PEQ4FSI lev1.8 creation failed, see /tmp/PEQ.29445.log or PEQ.29445.map ### PEQ4FSI lev1.8 creation failed, see /tmp/PEQ.29445.log or PEQ.29445.map set_missing_day 2003.07.07_12 exit 1