check_html $SMEI/ucsd/gen/python/check_html.py
[Previous] [Next]
 NAME:
	check_html
 PURPOSE:
	Checks whether files references in an html file exist
 CALLING SEQUENCE:
	check_html file_name
 INPUTS:
	file_name	name of ascii file or directory name
			If a directory is specified all files with
			extension .htm and .html in the directory
			are checked.
 PROCEDURE:
 	Python script
 MODIFICATION HISTORY:
	SEP-2002, Paul Hick (UCSD/CASS)
	MAR-2003, Paul Hick (UCSD/CASS; pphick@ucsd.edu)
		Add check for http:// references


class eon $SMEI/ucsd/gen/python/eon_class.py
[Previous] [Next]
 NAME:
	class eon
 PURPOSE:
	Defines a class for storing times
 PROCEDURE:
	The main instance attributes are

	self.ticday   integer, number of days since 2000/01/01 00:00:00 UT
	                       i.e. Midnight, Jan 1, 2000 in the Gregorian calendar
	self.tictac	  integer, represents the time of day in units of 1/10^self.exponent
	self.exponent integer, defines the unit of self.tictac

	These three attributes must always be set by the __init__ method.

	Other time properties will be calculated only when needed, and are then
	also stored as instance attributes for later recall.
	This is sometimes already done by the __init__ method, but in general
	this task is delegated to the __getattr__ method (which calculates and
	stores the property when it is referenced as an attribute).

	Currently the following extra attributes are supported:

		jd
		mjd
		njd
		posix
		jepoch
		bepoch

	Both Gregorian and Julian calendar are supported. This affects four
	time properties:

	For Gregorian dates:
	    year
	    doy
	    month
	    day

	Julian dates are tracked separately:
	    julian_year
	    julian_doy
	    julian_month
	    julian_day
 TODO:
	Handle time zones. Currently everything is UTC.
	- Input of times with timezone has been implemented (2012-05)
	Probably should be handled similar to the Julian calendar.

	Documentation


compare_tree $SMEI/com/linux/compare_tree
[Previous] [Next]
 NAME:
	compare_tree
 PURPOSE:
	Compare content of directory tree
 OPTIONAL INPUT PARAMETERS:
	$1	source directory; default: $PWD
	$2	destination directory: default: $OLDPWD
 SEE ALSO:
	fcdir
 PROCEDURE:
	Topdirectories should have a trailing /

	All files in $1 are compared to files in $2 with the same name.
 MODIFICATION HISTORY:
	???-????, Paul Hick (UCSD/CASS; pphick@ucsd.edu)