1. Sean might have a better answer, but you can try editing $SEADAS/run/scripts/modules/ProcUtils.py. The following line appears in two places; change the 10 to the desired number of seconds:
socket.setdefaulttimeout(10)2. The very easiest way to automatically download the ancillary files would be to let the python scripts do it; files will be placed in $L2GEN_ANC. You can use your range start and end time in the following commands, not just for a granule:
getanc.py --start=${start_time} --stop=${end_time}
modis_atteph.py --mission=aqua --start=${start_time} --stop=${end_time}
modis_atteph.py --mission=terra --start=${start_time} --stop=${end_time}If your network connection isn't stable enough for that, you'll have to run the above with the
-d or
--disable-download option, then use the resulting files to determine the filenames. For example:
for f in `cut -d\= -f2 ${start_time}.atteph`; do
mkdir -p `dirname $f`
cd `dirname $f`
wget -c -nc http://oceandata.sci.gsfc.nasa.gov/cgi/getfile/`basename $f`
cd -
done3. You'll need to look in the metadata. Something like this:
touch reprocess.txt
for f in *.L2_LAC; do
if `ncdump_hdf $f | egrep -q "(met|ozone)_climatology"`
then echo $f >> reprocess.txt
fi
done