. /usr/local/bin/setall # #---- GFULLDISK.sh - get various weather images # # #---- Currently grabbing (See end of this file) # PROGNAME=`basename $0` echo "Starting $PROGNAME `date`" GFULLDISK_HOME=/other/capture/fulldisk #. /usr/local/bin/setall #echo $PATH # #---- GFULLDISK - Download current US Radar # # #---- Load funtions # . cg_filecomp . cg_geturl.sh #. cg_capturefile ############### # BEGIN # ############### PROGNAME="`basename $0`" echo "Start $PROGNAME `date`" cd $GFULLDISK_HOME squid_running="`ps -e|grep squid|grep -v grep|wc -l`" if [ $squid_running == "0" ] then unset http_proxy else export http_proxy=http://127.0.0.1:3128 fi cg_geturl http://www.goes.noaa.gov/FULLDISK/ GMIR.JPG $GFULLDISK_HOME fdisk_meteorsat_ir.jpg 100 Y cg_geturl http://www.goes.noaa.gov/FULLDISK/ GMVS.JPG $GFULLDISK_HOME fdisk_meteorsat_vs.jpg 100 Y cg_geturl http://www.goes.noaa.gov/FULLDISK/ GWIR.JPG $GFULLDISK_HOME fdisk_goes_west_ir.jpg 100 Y cg_geturl http://www.goes.noaa.gov/FULLDISK/ GWVS.JPG $GFULLDISK_HOME fdisk_goes_west_vs.jpg 100 Y cg_geturl http://www.goes.noaa.gov/FULLDISK/ GEIR.JPG $GFULLDISK_HOME fdisk_goes_east_ir.jpg 100 Y cg_geturl http://www.goes.noaa.gov/FULLDISK/ GEVS.JPG $GFULLDISK_HOME fdisk_goes_east_vs.jpg 100 Y cg_geturl http://www.goes.noaa.gov/FULLDISK/ GIIR.JPG $GFULLDISK_HOME fdisk_goes_indian_ir.jpg 100 Y cg_geturl http://www.goes.noaa.gov/FULLDISK/ GIVS.JPG $GFULLDISK_HOME fdisk_goes_indian_vs.jpg 100 Y #cg_geturl http://www.goes.noaa.gov/FULLDISK/ GPIR.JPG $GFULLDISK_HOME fdisk_goes_pacific_ir.jpg 100 Y #cg_geturl http://www.goes.noaa.gov/FULLDISK/ GPVS.JPG $GFULLDISK_HOME fdisk_goes_pacific_vs.jpg 100 Y cg_geturl http://goes.gsfc.nasa.gov/goeseast/fulldisk/color/ latest.jpg $GFULLDISK_HOME fdisk_goeseast_color.jpg 100 Y cg_geturl http://goes.gsfc.nasa.gov/goeswest/fulldisk/color/ latest.jpg $GFULLDISK_HOME fdisk_goeswest_color.jpg 100 Y cg_geturl http://www.ssec.wisc.edu/data/geo/mtsat/ latest_mtsat_wv_fd.jpg $GFULLDISK_HOME mtsat_wv_fd.jpg 100 Y cg_geturl http://www.ssec.wisc.edu/data/geo/mtsat/ latest_mtsat_ir2_fd.jpg $GFULLDISK_HOME mtsat_ir2_fd.jpg 100 Y cg_geturl http://www.ssec.wisc.edu/data/geo/mtsat/ latest_mtsat_vis_fd.jpg $GFULLDISK_HOME mtsat_vis_fd.jpg 100 Y # #--- Need to do these manuall? .gif causes corruption # #cg_geturl http://goes.gsfc.nasa.gov/goeseast/fulldisk/fullres/ir2/ map.gif $GFULLDISK_HOME fdisk_goeseast_ir2_map.jpg 100 Y #cg_geturl http://goes.gsfc.nasa.gov/goeseast/fulldisk/fullres/ir3/ map.gif $GFULLDISK_HOME fdisk_goeseast_ir3_map.jpg 100 Y #cg_geturl http://goes.gsfc.nasa.gov/goeseast/fulldisk/fullres/ir4/ map.gif $GFULLDISK_HOME fdisk_goeseast_ir4_map.jpg 100 Y #cg_geturl http://goes.gsfc.nasa.gov/goeseast/fulldisk/fullres/ir6/ map.gif $GFULLDISK_HOME fdisk_goeseast_ir6_map.jpg 100 Y cgthumbnailer.sh $GFULLDISK_HOME $GFULLDISK_HOME/thumbs jpg 75 96 echo " " echo "***********************************" echo "Finished $PROGNAME `date`" echo "***********************************" echo " "