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