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