+ date Sat Dec 7 14:34:09 CST 2019 + echo /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/runVIIRSProcessing.dayNight npp.20191207.2004.ssec /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/runVIIRSProcessing.dayNight npp.20191207.2004.ssec ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/runVIIRSProcessing.dayNight + FUNC=runVIIRSProcessing.dayNight ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/runVIIRSProcessing.dayNight + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts ++ readlink -f /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + defDir=/mnt/r6/Software/IDL_WORKDIR/Default/scripts + dataBase=/mnt/r6/Data + iRodsBase=/corralZ/projects/CSR/Public + dataSource=SSEC ++ grep -v '^#' /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/viirsBounds.list + boundsList='-107:25:-93:37:Day=processVIIRSCreflTexas.sh -107:25:-93:37:Both=processVIIRS_Texas151216.sh -98.5:26.76:-92.5:32.76:Both=processVIIRS_Houston151216.sh -98.5:26.76:-92.5:32.76:Night=processVIIRS-DNB_Houston151216.sh -107:25:-93:37:Both=runVIIRS-ActiveFires.sh -107:25:-93:37:Day=processVIIRSAF_Day_Texas.sh -107:25:-93:37:Night=processVIIRSAF_Night_Texas.sh -107:25:-93:37:Night=processVIIRS-DNB_Texas.sh -98:17:-80:31:Both=processVIIRS_GoM151216.sh -98:17:-80:31:Night=processVIIRS-DNB_GoM.sh -98:17:-80:31:Day=processVIIRSCreflGoM.sh' + '[' 1 -lt 1 ']' + dateDir=npp.20191207.2004.ssec + source /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/set_SSEC_procVars.source ++ defScriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts ++ defdataBase=/mnt/r6/Data ++ defiRodsBase=/corralZ/projects/CSR/Public ++ defdataSource=SSEC ++ test -z /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts ++ test -z npp.20191207.2004.ssec ++ test -z /mnt/r6/Data +++ /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/NPPorVIIRS.sh npp.20191207.2004.ssec ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/NPPorVIIRS.sh + FUNC=NPPorVIIRS.sh + retString=VIIRS + '[' 1 -ne 1 ']' ++ expr '' : '2..._[01]._[0-3].' + testLen=0 + '[' 0 -eq 10 ']' + echo VIIRS ++ dataSub=VIIRS ++ dataDir=/mnt/r6/Data/VIIRS ++ '[' VIIRS = VIIRS ']' +++ echo npp.20191207.2004.ssec +++ cut -c1-4 ++ year=2019 +++ echo npp.20191207.2004.ssec +++ cut -d. -f1 ++ sc=npp ++ '[' NPP = J01 ']' ++ SAT=NPP ++ test -z /corralZ/projects/CSR/Public ++ defdataSource=SSEC ++ test -z SSEC ++ iRodsDir=/corralZ/projects/CSR/Public/VIIRS/NPP/SSEC/2019 ++ /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/NPPorVIIRS.sh npp.20191207.2004.ssec ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/NPPorVIIRS.sh + FUNC=NPPorVIIRS.sh + retString=VIIRS + '[' 1 -ne 1 ']' ++ expr '' : '2..._[01]._[0-3].' + testLen=0 + '[' 0 -eq 10 ']' + echo VIIRS + dataSub=VIIRS + expr npp.20191207.2004.ssec : '/.*' + dataDir=/mnt/r6/Data/VIIRS + workDir=/mnt/r6/Data/VIIRS/npp.20191207.2004.ssec + cd /mnt/r6/Data/VIIRS/npp.20191207.2004.ssec + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/hideExtraSdrs.sh + date Sat Dec 7 14:34:09 CST 2019 + echo /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/hideExtraSdrs.sh /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/hideExtraSdrs.sh ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/hideExtraSdrs.sh + FUNC=hideExtraSdrs.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/hideExtraSdrs.sh + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts ++ readlink -f /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + ftpHost=ftp.ssec.wisc.edu + destBase=/mnt/r6/Data/VIIRS + lockFile=/hideExtraSdrs.sh.lock + test -f /hideExtraSdrs.sh.lock + date /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/hideExtraSdrs.sh: line 19: /hideExtraSdrs.sh.lock: Permission denied + trap '{ rm -f /hideExtraSdrs.sh.lock; }' EXIT + test -d Hide ++ ls '*.h5' ls: cannot access *.h5: No such file or directory + h5List= ++ ls 'G*h5' ls: cannot access G*h5: No such file or directory + geoList= + rm -f /hideExtraSdrs.sh.lock + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/nppDayNightCheck.sh 'G*h5' h5dump error: unable to open file "G*h5" ++ head -1 dayNight.list ++ cut -d: -f2 + dnFlag= ++ tail -1 dayNight.list ++ cut -d: -f2 + lastDnFlag= + '[' '' '!=' '' ']' + for masterBounds in '$boundsList' ++ echo -107:25:-93:37:Day=processVIIRSCreflTexas.sh ++ sed 's,:, ,g' + bounds='-107 25 -93 37' ++ echo -107:25:-93:37:Day=processVIIRSCreflTexas.sh ++ cut -d: -f5 + dayNight=Day ++ echo -107:25:-93:37:Day=processVIIRSCreflTexas.sh ++ cut -d= -f2 + process=processVIIRSCreflTexas.sh + '[' Day = Both -o Day = '' ']' + for masterBounds in '$boundsList' ++ echo -107:25:-93:37:Both=processVIIRS_Texas151216.sh ++ sed 's,:, ,g' + bounds='-107 25 -93 37' ++ echo -107:25:-93:37:Both=processVIIRS_Texas151216.sh ++ cut -d: -f5 + dayNight=Both ++ echo -107:25:-93:37:Both=processVIIRS_Texas151216.sh ++ cut -d= -f2 + process=processVIIRS_Texas151216.sh + '[' Both = Both -o Both = '' ']' ++ date + echo Sat Dec 7 14:34:10 CST 2019 ' Starting processVIIRS_Texas151216.sh npp.20191207.2004.ssec' Sat Dec 7 14:34:10 CST 2019 Starting processVIIRS_Texas151216.sh npp.20191207.2004.ssec + echo '/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processVIIRS_Texas151216.sh npp.20191207.2004.ssec >& processVIIRS_Texas151216.sh.log ' /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processVIIRS_Texas151216.sh npp.20191207.2004.ssec >& processVIIRS_Texas151216.sh.log + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processVIIRS_Texas151216.sh npp.20191207.2004.ssec + status=0 ++ date + echo Sat Dec 7 14:34:10 CST 2019 ' Finished processVIIRS_Texas151216.sh npp.20191207.2004.ssec status=0' Sat Dec 7 14:34:10 CST 2019 Finished processVIIRS_Texas151216.sh npp.20191207.2004.ssec status=0 + for masterBounds in '$boundsList' ++ echo -98.5:26.76:-92.5:32.76:Both=processVIIRS_Houston151216.sh ++ sed 's,:, ,g' + bounds='-98.5 26.76 -92.5 32.76' ++ echo -98.5:26.76:-92.5:32.76:Both=processVIIRS_Houston151216.sh ++ cut -d: -f5 + dayNight=Both ++ echo -98.5:26.76:-92.5:32.76:Both=processVIIRS_Houston151216.sh ++ cut -d= -f2 + process=processVIIRS_Houston151216.sh + '[' Both = Both -o Both = '' ']' ++ date + echo Sat Dec 7 14:34:10 CST 2019 ' Starting processVIIRS_Houston151216.sh npp.20191207.2004.ssec' Sat Dec 7 14:34:10 CST 2019 Starting processVIIRS_Houston151216.sh npp.20191207.2004.ssec + echo '/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processVIIRS_Houston151216.sh npp.20191207.2004.ssec >& processVIIRS_Houston151216.sh.log ' /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processVIIRS_Houston151216.sh npp.20191207.2004.ssec >& processVIIRS_Houston151216.sh.log + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processVIIRS_Houston151216.sh npp.20191207.2004.ssec + status=255 ++ date + echo Sat Dec 7 14:34:11 CST 2019 ' Finished processVIIRS_Houston151216.sh npp.20191207.2004.ssec status=255' Sat Dec 7 14:34:11 CST 2019 Finished processVIIRS_Houston151216.sh npp.20191207.2004.ssec status=255 + for masterBounds in '$boundsList' ++ echo -98.5:26.76:-92.5:32.76:Night=processVIIRS-DNB_Houston151216.sh ++ sed 's,:, ,g' + bounds='-98.5 26.76 -92.5 32.76' ++ echo -98.5:26.76:-92.5:32.76:Night=processVIIRS-DNB_Houston151216.sh ++ cut -d: -f5 + dayNight=Night ++ echo -98.5:26.76:-92.5:32.76:Night=processVIIRS-DNB_Houston151216.sh ++ cut -d= -f2 + process=processVIIRS-DNB_Houston151216.sh + '[' Night = Both -o Night = '' ']' + for masterBounds in '$boundsList' ++ echo -107:25:-93:37:Both=runVIIRS-ActiveFires.sh ++ sed 's,:, ,g' + bounds='-107 25 -93 37' ++ echo -107:25:-93:37:Both=runVIIRS-ActiveFires.sh ++ cut -d: -f5 + dayNight=Both ++ echo -107:25:-93:37:Both=runVIIRS-ActiveFires.sh ++ cut -d= -f2 + process=runVIIRS-ActiveFires.sh + '[' Both = Both -o Both = '' ']' ++ date + echo Sat Dec 7 14:34:11 CST 2019 ' Starting runVIIRS-ActiveFires.sh npp.20191207.2004.ssec' Sat Dec 7 14:34:11 CST 2019 Starting runVIIRS-ActiveFires.sh npp.20191207.2004.ssec + echo '/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/runVIIRS-ActiveFires.sh npp.20191207.2004.ssec >& runVIIRS-ActiveFires.sh.log ' /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/runVIIRS-ActiveFires.sh npp.20191207.2004.ssec >& runVIIRS-ActiveFires.sh.log + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/runVIIRS-ActiveFires.sh npp.20191207.2004.ssec + status=0 ++ date + echo Sat Dec 7 14:34:12 CST 2019 ' Finished runVIIRS-ActiveFires.sh npp.20191207.2004.ssec status=0' Sat Dec 7 14:34:12 CST 2019 Finished runVIIRS-ActiveFires.sh npp.20191207.2004.ssec status=0 + for masterBounds in '$boundsList' ++ echo -107:25:-93:37:Day=processVIIRSAF_Day_Texas.sh ++ sed 's,:, ,g' + bounds='-107 25 -93 37' ++ echo -107:25:-93:37:Day=processVIIRSAF_Day_Texas.sh ++ cut -d: -f5 + dayNight=Day ++ echo -107:25:-93:37:Day=processVIIRSAF_Day_Texas.sh ++ cut -d= -f2 + process=processVIIRSAF_Day_Texas.sh + '[' Day = Both -o Day = '' ']' + for masterBounds in '$boundsList' ++ echo -107:25:-93:37:Night=processVIIRSAF_Night_Texas.sh ++ sed 's,:, ,g' + bounds='-107 25 -93 37' ++ echo -107:25:-93:37:Night=processVIIRSAF_Night_Texas.sh ++ cut -d: -f5 + dayNight=Night ++ echo -107:25:-93:37:Night=processVIIRSAF_Night_Texas.sh ++ cut -d= -f2 + process=processVIIRSAF_Night_Texas.sh + '[' Night = Both -o Night = '' ']' + for masterBounds in '$boundsList' ++ echo -107:25:-93:37:Night=processVIIRS-DNB_Texas.sh ++ sed 's,:, ,g' + bounds='-107 25 -93 37' ++ echo -107:25:-93:37:Night=processVIIRS-DNB_Texas.sh ++ cut -d: -f5 + dayNight=Night ++ echo -107:25:-93:37:Night=processVIIRS-DNB_Texas.sh ++ cut -d= -f2 + process=processVIIRS-DNB_Texas.sh + '[' Night = Both -o Night = '' ']' + for masterBounds in '$boundsList' ++ echo -98:17:-80:31:Both=processVIIRS_GoM151216.sh ++ sed 's,:, ,g' + bounds='-98 17 -80 31' ++ echo -98:17:-80:31:Both=processVIIRS_GoM151216.sh ++ cut -d: -f5 + dayNight=Both ++ echo -98:17:-80:31:Both=processVIIRS_GoM151216.sh ++ cut -d= -f2 + process=processVIIRS_GoM151216.sh + '[' Both = Both -o Both = '' ']' ++ date + echo Sat Dec 7 14:34:12 CST 2019 ' Starting processVIIRS_GoM151216.sh npp.20191207.2004.ssec' Sat Dec 7 14:34:12 CST 2019 Starting processVIIRS_GoM151216.sh npp.20191207.2004.ssec + echo '/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processVIIRS_GoM151216.sh npp.20191207.2004.ssec >& processVIIRS_GoM151216.sh.log ' /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processVIIRS_GoM151216.sh npp.20191207.2004.ssec >& processVIIRS_GoM151216.sh.log + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processVIIRS_GoM151216.sh npp.20191207.2004.ssec + status=0 ++ date + echo Sat Dec 7 14:34:14 CST 2019 ' Finished processVIIRS_GoM151216.sh npp.20191207.2004.ssec status=0' Sat Dec 7 14:34:14 CST 2019 Finished processVIIRS_GoM151216.sh npp.20191207.2004.ssec status=0 + for masterBounds in '$boundsList' ++ echo -98:17:-80:31:Night=processVIIRS-DNB_GoM.sh ++ sed 's,:, ,g' + bounds='-98 17 -80 31' ++ echo -98:17:-80:31:Night=processVIIRS-DNB_GoM.sh ++ cut -d: -f5 + dayNight=Night ++ echo -98:17:-80:31:Night=processVIIRS-DNB_GoM.sh ++ cut -d= -f2 + process=processVIIRS-DNB_GoM.sh + '[' Night = Both -o Night = '' ']' + for masterBounds in '$boundsList' ++ echo -98:17:-80:31:Day=processVIIRSCreflGoM.sh ++ sed 's,:, ,g' + bounds='-98 17 -80 31' ++ echo -98:17:-80:31:Day=processVIIRSCreflGoM.sh ++ cut -d: -f5 + dayNight=Day ++ echo -98:17:-80:31:Day=processVIIRSCreflGoM.sh ++ cut -d= -f2 + process=processVIIRSCreflGoM.sh + '[' Day = Both -o Day = '' ']' + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/gen_irods_recents.sh /corralZ/projects/CSR/Public/VIIRS/NPP/SSEC/2019