++ 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:13:30 CST '2013: Starting processNPP_Texas151216.sh' Sun Nov 17 02:13:30 CST 2013: Starting processNPP_Texas151216.sh + '[' 1 -lt 1 ']' + dateDir=2013_11_13_317_0904 + workDir=/mnt/r5/Data/NPP/2013_11_13_317_0904 + cd /mnt/r5/Data/NPP/2013_11_13_317_0904 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/extractProjectNPPmod.sh -107 25 -93 37 15,12,16 2013_11_13_317_0904 ++ 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' ++ awk '{print NF}' ++ echo '15 12 16' + bandKnt=3 + dateDir=2013_11_13_317_0904 + workDir=/mnt/r5/Data/NPP/2013_11_13_317_0904 + cd /mnt/r5/Data/NPP/2013_11_13_317_0904 ++ head -1 ++ ls GMTCO_npp_d20131113_t0904211_e0905453_b10598_c20131113092044413853_cspp_dev.h5 GMTCO_npp_d20131113_t0905466_e0907108_b10598_c20131113092048353608_cspp_dev.h5 GMTCO_npp_d20131113_t0907120_e0908362_b10598_c20131113092052216604_cspp_dev.h5 GMTCO_npp_d20131113_t0908374_e0910016_b10598_c20131113092052364035_cspp_dev.h5 GMTCO_npp_d20131113_t0910028_e0911270_b10598_c20131113092235287817_cspp_dev.h5 GMTCO_npp_d20131113_t0911282_e0912524_b10598_c20131113092243166143_cspp_dev.h5 GMTCO_npp_d20131113_t0912536_e0914178_b10598_c20131113092253061469_cspp_dev.h5 GMTCO_npp_d20131113_t0914190_e0915433_b10598_c20131113092249423820_cspp_dev.h5 + gmtco=GMTCO_npp_d20131113_t0904211_e0905453_b10598_c20131113092044413853_cspp_dev.h5 + for bandNumber in '$bandNumbers' ++ mindigits 2 15 + bn=15 ++ ls 'SVM15*h5' ++ head -1 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 ++ ls 'SVM151216*_reg.bsq' ++ tail -1 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