if ( 3 != 3 ) then set DAY = 2003.06.06_00 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.06.06_00.18231/in setenv OUTPUT /tmp/2003.06.06_00.18231/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.06.06_00.18231/out/FRAMES setenv STACKLIST_NAME /tmp/2003.06.06_00.18231/out/STACKLIST01 setenv BLANK_NAME /tmp/2003.06.06_00.18231/out/BLANK setenv REAL_STACKNAME PSI_X_T setenv FOURIER_STACKNAME PSI_X_NU setenv MEAN_IMAGE_NAME /tmp/2003.06.06_00.18231/out/MEAN_IMAGE setenv SLOPE_IMAGE_NAME /tmp/2003.06.06_00.18231/out/SLOPE_IMAGE setenv DEFECTIVE_PIX_LIST_NAME /tmp/2003.06.06_00.18231/out/DEFECTIVE_PIX_LIST setenv MISSING_IMAGE_LIST_NAME /tmp/2003.06.06_00.18231/out/MISSING_IMAGE_LIST setenv INPUT_DATACUBE /tmp/2003.06.06_00.18231/out/PSI_X_NU setenv INTERMED_DATACUBE /tmp/2003.06.06_00.18231/out/PSI_X_NU_2.5_4.5mHz setenv XPOSE_DATACUBE /tmp/2003.06.06_00.18231/out/XPOSE_PSI_X_NU_2.5_4.5mHz setenv PHASE_CORR_1x3 /tmp/2003.06.06_00.18231/out/PHASE_CORR_1x3 setenv PHASE_CORR_2x2 /tmp/2003.06.06_00.18231/out/PHASE_CORR_2x2 set BASE_SIX_H = `time_index -6 time=$DAY':00'` time_index -6 time=2003.06.06_00:00 @ START_SIX_H = 15232 - ( 6 / 2 ) @ END_SIX_H = 15232 + ( 6 / 2 ) - 1 echo ***************************************************** ***************************************************** echo ******starting farside image processing for 2003.06.06_00****** ******starting farside image processing for 2003.06.06_00****** echo getting data. base six hour number: 15232 getting data. base six hour number: 15232 echo starting 6h num: 15229 starting 6h num: 15229 echo going until 6h num: 15234 going until 6h num: 15234 echo working directory: /tmp/2003.06.06_00.18231 working directory: /tmp/2003.06.06_00.18231 echo ********* producing lev 1.8 data ************* ********* producing lev 1.8 data ************* set SIX_H = 15229 rm -r -f /tmp/2003.06.06_00.18231/in /tmp/2003.06.06_00.18231/out mkdir /tmp/2003.06.06_00.18231/in mkdir /tmp/2003.06.06_00.18231/out echo copying parameters copying parameters cp -r /home/soi/farside++/scripts++/params /tmp/2003.06.06_00.18231/ echo working directory is /tmp/2003.06.06_00.18231 working directory is /tmp/2003.06.06_00.18231 echo setting up symbolic links setting up symbolic links rm -rf /tmp/2003.06.06_00.18231/out/eof_data_used while ( 15229 < = 15234 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15229] if ( 0 ) then echo GOT HERE /PDS49/D7657667/lev1.8/vw_V_06h.15229 GOT HERE /PDS49/D7657667/lev1.8/vw_V_06h.15229 if ( /PDS49/D7657667/lev1.8/vw_V_06h.15229 =~ ###* ) then echo linking to directory: /PDS49/D7657667/lev1.8/vw_V_06h.15229 to /tmp/2003.06.06_00.18231/in/vw_V_06h.15229 linking to directory: /PDS49/D7657667/lev1.8/vw_V_06h.15229 to /tmp/2003.06.06_00.18231/in/vw_V_06h.15229 ln -s /PDS49/D7657667/lev1.8/vw_V_06h.15229 /tmp/2003.06.06_00.18231/in/vw_V_06h.15229 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS49/D7657667/lev1.8/vw_V_06h.15229/vw_V_06h.15229.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 15230 < = 15234 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15230] if ( 0 ) then echo GOT HERE /PDS80/D7917649/lev1.8/vw_V_06h.15230 GOT HERE /PDS80/D7917649/lev1.8/vw_V_06h.15230 if ( /PDS80/D7917649/lev1.8/vw_V_06h.15230 =~ ###* ) then echo linking to directory: /PDS80/D7917649/lev1.8/vw_V_06h.15230 to /tmp/2003.06.06_00.18231/in/vw_V_06h.15230 linking to directory: /PDS80/D7917649/lev1.8/vw_V_06h.15230 to /tmp/2003.06.06_00.18231/in/vw_V_06h.15230 ln -s /PDS80/D7917649/lev1.8/vw_V_06h.15230 /tmp/2003.06.06_00.18231/in/vw_V_06h.15230 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS80/D7917649/lev1.8/vw_V_06h.15230/vw_V_06h.15230.overview.fits fgrep -c eof grep DSNAME if ( 0 > 0 ) then @ SIX_H++ end while ( 15231 < = 15234 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15231] if ( 0 ) then echo GOT HERE /PDS81/D7917657/lev1.8/vw_V_06h.15231 GOT HERE /PDS81/D7917657/lev1.8/vw_V_06h.15231 if ( /PDS81/D7917657/lev1.8/vw_V_06h.15231 =~ ###* ) then echo linking to directory: /PDS81/D7917657/lev1.8/vw_V_06h.15231 to /tmp/2003.06.06_00.18231/in/vw_V_06h.15231 linking to directory: /PDS81/D7917657/lev1.8/vw_V_06h.15231 to /tmp/2003.06.06_00.18231/in/vw_V_06h.15231 ln -s /PDS81/D7917657/lev1.8/vw_V_06h.15231 /tmp/2003.06.06_00.18231/in/vw_V_06h.15231 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS81/D7917657/lev1.8/vw_V_06h.15231/vw_V_06h.15231.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 15232 < = 15234 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15232] if ( 0 ) then echo GOT HERE /PDS82/D7917661/lev1.8/vw_V_06h.15232 GOT HERE /PDS82/D7917661/lev1.8/vw_V_06h.15232 if ( /PDS82/D7917661/lev1.8/vw_V_06h.15232 =~ ###* ) then echo linking to directory: /PDS82/D7917661/lev1.8/vw_V_06h.15232 to /tmp/2003.06.06_00.18231/in/vw_V_06h.15232 linking to directory: /PDS82/D7917661/lev1.8/vw_V_06h.15232 to /tmp/2003.06.06_00.18231/in/vw_V_06h.15232 ln -s /PDS82/D7917661/lev1.8/vw_V_06h.15232 /tmp/2003.06.06_00.18231/in/vw_V_06h.15232 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS82/D7917661/lev1.8/vw_V_06h.15232/vw_V_06h.15232.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 15233 < = 15234 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15233] if ( 0 ) then echo GOT HERE /PDS41/D7917669/lev1.8/vw_V_06h.15233 GOT HERE /PDS41/D7917669/lev1.8/vw_V_06h.15233 if ( /PDS41/D7917669/lev1.8/vw_V_06h.15233 =~ ###* ) then echo linking to directory: /PDS41/D7917669/lev1.8/vw_V_06h.15233 to /tmp/2003.06.06_00.18231/in/vw_V_06h.15233 linking to directory: /PDS41/D7917669/lev1.8/vw_V_06h.15233 to /tmp/2003.06.06_00.18231/in/vw_V_06h.15233 ln -s /PDS41/D7917669/lev1.8/vw_V_06h.15233 /tmp/2003.06.06_00.18231/in/vw_V_06h.15233 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` grep DSNAME fgrep -c eof print_head /PDS41/D7917669/lev1.8/vw_V_06h.15233/vw_V_06h.15233.overview.fits if ( 0 > 0 ) then @ SIX_H++ end while ( 15234 < = 15234 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[15234] if ( 1 ) then echo PEQ4FSI failed. PEQ4FSI failed. echo ### PEQ4FSI lev1.8 creation failed, see /tmp/PEQ.18305.log or PEQ.18305.map ### PEQ4FSI lev1.8 creation failed, see /tmp/PEQ.18305.log or PEQ.18305.map set_missing_day 2003.06.06_00 exit 1