if ( 3 != 3 ) then set DAY = 2001.01.28_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/2001.01.28_12.9133/in setenv OUTPUT /tmp/2001.01.28_12.9133/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/2001.01.28_12.9133/out/FRAMES setenv STACKLIST_NAME /tmp/2001.01.28_12.9133/out/STACKLIST01 setenv BLANK_NAME /tmp/2001.01.28_12.9133/out/BLANK setenv REAL_STACKNAME PSI_X_T setenv FOURIER_STACKNAME PSI_X_NU setenv MEAN_IMAGE_NAME /tmp/2001.01.28_12.9133/out/MEAN_IMAGE setenv SLOPE_IMAGE_NAME /tmp/2001.01.28_12.9133/out/SLOPE_IMAGE setenv DEFECTIVE_PIX_LIST_NAME /tmp/2001.01.28_12.9133/out/DEFECTIVE_PIX_LIST setenv MISSING_IMAGE_LIST_NAME /tmp/2001.01.28_12.9133/out/MISSING_IMAGE_LIST setenv INPUT_DATACUBE /tmp/2001.01.28_12.9133/out/PSI_X_NU setenv INTERMED_DATACUBE /tmp/2001.01.28_12.9133/out/PSI_X_NU_2.5_4.5mHz setenv XPOSE_DATACUBE /tmp/2001.01.28_12.9133/out/XPOSE_PSI_X_NU_2.5_4.5mHz setenv PHASE_CORR_1x3 /tmp/2001.01.28_12.9133/out/PHASE_CORR_1x3 setenv PHASE_CORR_2x2 /tmp/2001.01.28_12.9133/out/PHASE_CORR_2x2 set BASE_SIX_H = `time_index -6 time=$DAY':00'` time_index -6 time=2001.01.28_12:00 @ START_SIX_H = 11798 - ( 6 / 2 ) @ END_SIX_H = 11798 + ( 6 / 2 ) - 1 echo ***************************************************** ***************************************************** echo ******starting farside image processing for 2001.01.28_12****** ******starting farside image processing for 2001.01.28_12****** echo getting data. base six hour number: 11798 getting data. base six hour number: 11798 echo starting 6h num: 11795 starting 6h num: 11795 echo going until 6h num: 11800 going until 6h num: 11800 echo working directory: /tmp/2001.01.28_12.9133 working directory: /tmp/2001.01.28_12.9133 echo ********* producing lev 1.8 data ************* ********* producing lev 1.8 data ************* set SIX_H = 11795 rm -r -f /tmp/2001.01.28_12.9133/in /tmp/2001.01.28_12.9133/out mkdir /tmp/2001.01.28_12.9133/in mkdir /tmp/2001.01.28_12.9133/out echo copying parameters copying parameters cp -r /home/soi/farside++/scripts++/params /tmp/2001.01.28_12.9133/ echo working directory is /tmp/2001.01.28_12.9133 working directory is /tmp/2001.01.28_12.9133 echo setting up symbolic links setting up symbolic links rm -rf /tmp/2001.01.28_12.9133/out/eof_data_used while ( 11795 < = 11800 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[11795] if ( 0 ) then echo GOT HERE /PDS21/D7702474/lev1.8/vw_V_06h.11795 GOT HERE /PDS21/D7702474/lev1.8/vw_V_06h.11795 if ( /PDS21/D7702474/lev1.8/vw_V_06h.11795 =~ ###* ) then echo linking to directory: /PDS21/D7702474/lev1.8/vw_V_06h.11795 to /tmp/2001.01.28_12.9133/in/vw_V_06h.11795 linking to directory: /PDS21/D7702474/lev1.8/vw_V_06h.11795 to /tmp/2001.01.28_12.9133/in/vw_V_06h.11795 ln -s /PDS21/D7702474/lev1.8/vw_V_06h.11795 /tmp/2001.01.28_12.9133/in/vw_V_06h.11795 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS21/D7702474/lev1.8/vw_V_06h.11795/vw_V_06h.11795.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 11796 < = 11800 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[11796] if ( 0 ) then echo GOT HERE /PDS40/D7916893/lev1.8/vw_V_06h.11796 GOT HERE /PDS40/D7916893/lev1.8/vw_V_06h.11796 if ( /PDS40/D7916893/lev1.8/vw_V_06h.11796 =~ ###* ) then echo linking to directory: /PDS40/D7916893/lev1.8/vw_V_06h.11796 to /tmp/2001.01.28_12.9133/in/vw_V_06h.11796 linking to directory: /PDS40/D7916893/lev1.8/vw_V_06h.11796 to /tmp/2001.01.28_12.9133/in/vw_V_06h.11796 ln -s /PDS40/D7916893/lev1.8/vw_V_06h.11796 /tmp/2001.01.28_12.9133/in/vw_V_06h.11796 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS40/D7916893/lev1.8/vw_V_06h.11796/vw_V_06h.11796.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 11797 < = 11800 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[11797] if ( 0 ) then echo GOT HERE /PDS41/D7916899/lev1.8/vw_V_06h.11797 GOT HERE /PDS41/D7916899/lev1.8/vw_V_06h.11797 if ( /PDS41/D7916899/lev1.8/vw_V_06h.11797 =~ ###* ) then echo linking to directory: /PDS41/D7916899/lev1.8/vw_V_06h.11797 to /tmp/2001.01.28_12.9133/in/vw_V_06h.11797 linking to directory: /PDS41/D7916899/lev1.8/vw_V_06h.11797 to /tmp/2001.01.28_12.9133/in/vw_V_06h.11797 ln -s /PDS41/D7916899/lev1.8/vw_V_06h.11797 /tmp/2001.01.28_12.9133/in/vw_V_06h.11797 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS41/D7916899/lev1.8/vw_V_06h.11797/vw_V_06h.11797.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 11798 < = 11800 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[11798] if ( 0 ) then echo GOT HERE /PDS42/D7702349/lev1.8/vw_V_06h.11798 GOT HERE /PDS42/D7702349/lev1.8/vw_V_06h.11798 if ( /PDS42/D7702349/lev1.8/vw_V_06h.11798 =~ ###* ) then echo linking to directory: /PDS42/D7702349/lev1.8/vw_V_06h.11798 to /tmp/2001.01.28_12.9133/in/vw_V_06h.11798 linking to directory: /PDS42/D7702349/lev1.8/vw_V_06h.11798 to /tmp/2001.01.28_12.9133/in/vw_V_06h.11798 ln -s /PDS42/D7702349/lev1.8/vw_V_06h.11798 /tmp/2001.01.28_12.9133/in/vw_V_06h.11798 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS42/D7702349/lev1.8/vw_V_06h.11798/vw_V_06h.11798.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 11799 < = 11800 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[11799] if ( 0 ) then echo GOT HERE /PDS51/D7702416/lev1.8/vw_V_06h.11799 GOT HERE /PDS51/D7702416/lev1.8/vw_V_06h.11799 if ( /PDS51/D7702416/lev1.8/vw_V_06h.11799 =~ ###* ) then echo linking to directory: /PDS51/D7702416/lev1.8/vw_V_06h.11799 to /tmp/2001.01.28_12.9133/in/vw_V_06h.11799 linking to directory: /PDS51/D7702416/lev1.8/vw_V_06h.11799 to /tmp/2001.01.28_12.9133/in/vw_V_06h.11799 ln -s /PDS51/D7702416/lev1.8/vw_V_06h.11799 /tmp/2001.01.28_12.9133/in/vw_V_06h.11799 set EOF_USED = `print_head $DATA_DIR/vw_V_06h.$SIX_H.overview.fits | grep DSNAME | fgrep -c eof` print_head /PDS51/D7702416/lev1.8/vw_V_06h.11799/vw_V_06h.11799.overview.fits grep DSNAME fgrep -c eof if ( 0 > 0 ) then @ SIX_H++ end while ( 11800 < = 11800 ) set DATA_DIR = `PEQ4FSI 'vw_V_06h['$SIX_H']'` PEQ4FSI vw_V_06h[11800] if ( 1 ) then echo PEQ4FSI failed. PEQ4FSI failed. echo ### PEQ4FSI lev1.8 creation failed, see /tmp/PEQ.9183.log or PEQ.9183.map ### PEQ4FSI lev1.8 creation failed, see /tmp/PEQ.9183.log or PEQ.9183.map set_missing_day 2001.01.28_12 exit 1