++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPP_Texas151216.sh + FUNC=processNPP_Texas151216.sh ++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPP_Texas151216.sh + scriptDir=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts ++ fullpath /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts + defDir=/mnt/r4/Software/IDL_WORKDIR/Default/scripts + dataDir=/mnt/r5/Data/NPP + iRodsDir=/corralZ/projects/CSR/Public/NPP ++ grep processNPP_Texas151216.sh /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/nppBounds.list + boundLine=-107:25:-93:37:Both=processNPP_Texas151216.sh ++ cut -d= -f1 ++ echo -107:25:-93:37:Both=processNPP_Texas151216.sh + bounds=-107:25:-93:37:Both ++ cut -d: -f1 ++ echo -107:25:-93:37:Both + lon1=-107 ++ cut -d: -f2 ++ echo -107:25:-93:37:Both + lat1=25 ++ cut -d: -f3 ++ echo -107:25:-93:37:Both + lon2=-93 ++ cut -d: -f4 ++ echo -107:25:-93:37:Both + lat2=37 ++ date + echo Sun Nov 17 02:31:28 CST '2013: Starting processNPP_Texas151216.sh' Sun Nov 17 02:31:28 CST 2013: Starting processNPP_Texas151216.sh + '[' 1 -lt 1 ']' + dateDir=2013_11_12_316_0742 + workDir=/mnt/r5/Data/NPP/2013_11_12_316_0742 + cd /mnt/r5/Data/NPP/2013_11_12_316_0742 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/extractProjectNPPmod.sh -107 25 -93 37 15,12,16 2013_11_12_316_0742 ++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/extractProjectNPPmod.sh + FUNC=extractProjectNPPmod.sh ++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/extractProjectNPPmod.sh + scriptDir=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts ++ fullpath /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts + dataDir=/mnt/r5/Data/NPP + '[' 6 -lt 5 ']' + lon1=-107 + lon2=-93 + lat1=25 + lat2=37 ++ sed 's/,/ /g' ++ echo 15,12,16 + bandNumbers='15 12 16' ++ echo '15 12 16' ++ awk '{print NF}' + bandKnt=3 + dateDir=2013_11_12_316_0742 + workDir=/mnt/r5/Data/NPP/2013_11_12_316_0742 + cd /mnt/r5/Data/NPP/2013_11_12_316_0742 ++ head -1 ++ ls GMTCO_npp_d20131112_t0742165_e0743408_b10584_c20131112080120824667_cspp_dev.h5 GMTCO_npp_d20131112_t0743420_e0745062_b10584_c20131112080124350408_cspp_dev.h5 GMTCO_npp_d20131112_t0745074_e0746316_b10584_c20131112080128372595_cspp_dev.h5 GMTCO_npp_d20131112_t0746328_e0747570_b10584_c20131112080129189248_cspp_dev.h5 GMTCO_npp_d20131112_t0747582_e0749224_b10584_c20131112080304446763_cspp_dev.h5 GMTCO_npp_d20131112_t0749236_e0750478_b10584_c20131112080307119841_cspp_dev.h5 GMTCO_npp_d20131112_t0750490_e0752132_b10584_c20131112080311081856_cspp_dev.h5 GMTCO_npp_d20131112_t0752144_e0753386_b10584_c20131112080311903542_cspp_dev.h5 GMTCO_npp_d20131112_t0753399_e0755040_b10584_c20131112080438828740_cspp_dev.h5 GMTCO_npp_d20131112_t0755053_e0756297_b10584_c20131112080444957425_cspp_dev.h5 + gmtco=GMTCO_npp_d20131112_t0742165_e0743408_b10584_c20131112080120824667_cspp_dev.h5 + for bandNumber in '$bandNumbers' ++ mindigits 2 15 + bn=15 ++ head -1 ++ ls 'SVM15*h5' ls: cannot access SVM15*h5: No such file or directory + svmFirst= + rm -f 'SVM15*adiance.bin' 'SVM15*_reg.bin' + test -z '' + echo ' No SVM15*.h5 file found' No SVM15*.h5 file found + exit -1 ++ tail -1 ++ ls 'SVM151216*_reg.bsq' ls: cannot access SVM151216*_reg.bsq: No such file or directory + modBsq= + test -z '' + echo ' No _reg.bsq file found' No _reg.bsq file found + exit