database queries killed?
Posted: Mon Apr 01, 2019 11:11 am America/New_York
To avoid processing problems in a clustered computing environment, I am trying to download all the anc files in advance. I run modis_atteph.py and getanc.py with the no-download option first. When it returns, I parse it and check to see if the files exist. If they do not exist, the command is run again without the no-download option. Here is some logging from the program. Note that even the no-download option causes a Error! could not establish a network connection. Check your network connection. response, so I guess that your firewall is killing these too? What is the best way to handle this? NOTE that I have a 5 second sleep statement before each call. I still have errors. Thanks, Brock
$PDS:MOD00.A2004003.1530_1.PDS.bz2
All required modis_atteph.py files are present
All required getanc.py files are present
$PDS:MOD00.A2004003.1535_1.PDS.bz2
All required modis_atteph.py files are present
All required getanc.py files are present
$PDS:MOD00.A2004003.1540_1.PDS.bz2
All required modis_atteph.py files are present
All required getanc.py files are present
$PDS:MOD00.A2004003.1545_1.PDS.bz2
Error! could not establish a network connection. Check your network connection. (This is a first attempt with the no-download option)
If you do not find a problem, please try again later.
All required modis_atteph.py files are __NOT__ present
Issuing this command: modis_atteph.py -m terra -s 2004003154500 -e 2004003154500 --timeout=30 (This is a second attempt without the no-download option fails)
Error! could not establish a network connection. Check your network connection.
If you do not find a problem, please try again later.
All required getanc.py files are present
$PDS:MOD00.A2004003.1710_1.PDS.bz2
All required modis_atteph.py files are present
All required getanc.py files are present
$PDS:MOD00.A2004003.1715_1.PDS.bz2
All required modis_atteph.py files are present
All required getanc.py files are present
$PDS:MOD00.A2004003.1720_1.PDS.bz2
Error! could not establish a network connection. Check your network connection. (This is a first attempt with the no-download option)
If you do not find a problem, please try again later.
All required modis_atteph.py files are present
All required getanc.py files are __NOT__ present
Issuing this command: getanc.py -m terra -s 2004003172000 -e 2004003172000 --timeout=30 (This is a second attempt without the no-download option works)
icefile=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N200400300_SEAICE_NSIDC_24h.hdf
met1=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N200400312_MET_NCEPR2_6h.hdf
met2=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N200400318_MET_NCEPR2_6h.hdf
met3=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N200400318_MET_NCEPR2_6h.hdf
ozone1=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N200400300_O3_EPTOMS_24h.hdf
ozone2=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/004/N200400400_O3_EPTOMS_24h.hdf
ozone3=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/004/N200400400_O3_EPTOMS_24h.hdf
sstfile=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N2004003_SST_OIV2AVAM_24h.nc
$PDS:MOD00.A2004003.1530_1.PDS.bz2
All required modis_atteph.py files are present
All required getanc.py files are present
$PDS:MOD00.A2004003.1535_1.PDS.bz2
All required modis_atteph.py files are present
All required getanc.py files are present
$PDS:MOD00.A2004003.1540_1.PDS.bz2
All required modis_atteph.py files are present
All required getanc.py files are present
$PDS:MOD00.A2004003.1545_1.PDS.bz2
Error! could not establish a network connection. Check your network connection. (This is a first attempt with the no-download option)
If you do not find a problem, please try again later.
All required modis_atteph.py files are __NOT__ present
Issuing this command: modis_atteph.py -m terra -s 2004003154500 -e 2004003154500 --timeout=30 (This is a second attempt without the no-download option fails)
Error! could not establish a network connection. Check your network connection.
If you do not find a problem, please try again later.
All required getanc.py files are present
$PDS:MOD00.A2004003.1710_1.PDS.bz2
All required modis_atteph.py files are present
All required getanc.py files are present
$PDS:MOD00.A2004003.1715_1.PDS.bz2
All required modis_atteph.py files are present
All required getanc.py files are present
$PDS:MOD00.A2004003.1720_1.PDS.bz2
Error! could not establish a network connection. Check your network connection. (This is a first attempt with the no-download option)
If you do not find a problem, please try again later.
All required modis_atteph.py files are present
All required getanc.py files are __NOT__ present
Issuing this command: getanc.py -m terra -s 2004003172000 -e 2004003172000 --timeout=30 (This is a second attempt without the no-download option works)
icefile=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N200400300_SEAICE_NSIDC_24h.hdf
met1=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N200400312_MET_NCEPR2_6h.hdf
met2=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N200400318_MET_NCEPR2_6h.hdf
met3=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N200400318_MET_NCEPR2_6h.hdf
ozone1=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N200400300_O3_EPTOMS_24h.hdf
ozone2=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/004/N200400400_O3_EPTOMS_24h.hdf
ozone3=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/004/N200400400_O3_EPTOMS_24h.hdf
sstfile=/shares/cms_optics/apps/seadas/seadas-7.5/ocssw/var/anc/2004/003/N2004003_SST_OIV2AVAM_24h.nc