========================================================================== Help notes for modis_update_utcpole_leapsec.csh ========================================================================== Usage: modis_update_utcpole_leapsec.csh [OPTIONS] Options: -quiet Don't print any messages unless an error occurs -verbose-ftp Enable verbose auto-download messages -retries n Number of times to retry a failed download ========================================================================== The modis_update_luts.csh script downloads current utcpole.dat and leapsec.dat files from an ftp server, replacing the existing files in the $SEADAS/var/modis/ directory. These files are required for MODIS geolocation processing and it is suggested that they be updated once per week using a cronjob. This script can also be run manually at any time. If the script's -quiet mode is invoked, messages are only written to stdout in the case of an error, which avoids unnecessary emails when the script is run as a cronjob. It is recommended to run this script as a weekly cronjob. Remember to invoke a shell to run the script within cron in order to set the MODISL1DB environment variables. Example weekly crontab line for csh shell users: 0 0 * * 0 /bin/csh -c "/path_to_scripts/modis_update_utcpole_leapsec.csh -quiet" See http://oceancolor.gsfc.nasa.gov/seadas/doc/toplevel/anc_info.html#UTCPOLE for more information on the utcpole.dat and leapsec.dat files. ========================================================================== ====================================== Explanation of command line arguments: ====================================== -quiet (optional) No messages are printed to stdout unless an error occurs. -verbose-ftp (optional) Enable verbose wget output messages for all downloads. -retries n (optional) (default=4) Number of times to retry failed download before giving up. The wget ftp client uses linear backoff, waiting 1, then 2, then 3 seconds, etc. after each attempt. ==========================================================================