Changes: September 23, 2007 -beta2 milestone -documented the code for users and developers -all data can be read without problems now -removeday.php made to remove all data of a certain day -fixed meesmap problem May 30, 2007 -made failsafe for empty JULDAY entries in fits header, now ignores dates before 1985 -made longer manual for the search interface May 16, 2007 -fixed meesmap issues (meesmap link redundant anyway, possibly scrap) -ignore target-ha-0000 and target-ha-0700 discrepancies -fixed mysql user (single user for querying data, root for adding data) -found problems with certain dataseries and informed Pit March 02, 2007 -skip 0 second cadences (e.g. usefull for 2 series of fits files, kvdl and spec, for example). February 27, 2007 -detection of mosaics added. No additional information stored. tagged with images = -1 -sanitized code (filldb.php), much cleaner now -removed fits presentation type in search.php, was already commented out anyhow February 16, 2007 -gaps appear to work (no `coding' yet, e.g. gaps>2 -> gap data, gaps>5 -> bad data) -Cubes/mosaics/movies detected now as well, mosaics not as stand alone thing yet February 06, 2007 -fixed timeend / duration for single-wavelength result -added simple help (quickstart) -revised some descriptions -split the form in two (simple and advanced) doesn't use js for compatibility -swapped filters/wavelength -pre-sort on date January 25, 2007 -pagelinks added at the top, next/prev added January 19, 2007 -clickable links in search results -thumbs/mees/r0plot popup in fit-size window -default result type 'observations' (for hand-made urls) -search form adapted, but search script left intact (adapt if necessary) January 18, 2007 -minor changes to the interface --added duration --Clear button revised --Barium filter taken out --time input fields fixed -searching improved (searches like <= and >= now) January 17, 2007 -admin user for creating DB etc and search user for searching added -sorting works for fits (r0,time and date taken from table fits) -datalinks added to search results (fits, series, obs) -legacy page update, made overview page January 16, 2007 -pages optimized (range was not right) -r0plot thumb smaller (fits in better) -group by used to prevent duplicate results -legacy page created dynamically, no dependence on pit's pages -checkPref works now, r0preferences incorporated when taking r0plot January 15, 2007 -Searchform changed (javascript) when fits is selected January 10, 2007 -thumbnail version of r0 added, possibly for overview page (?) -sample images shown in 3x2 table, table is smaller now January 09, 2007 -pages now work if a new search is done (offset was stored previously which messed up a search) -r0plot.php now gets all r0's for a certain filter, not a wavelength range -'falulae' now have r0 values, problem was mosaic which messed up the variable curr_pref (set to FALSE which gives true for isset(), but is not a value) -obsbegin now taken globally for ALL filters, not just per filter. This makes sure that there are no differences in obsbegin between different series on one target, as is with 2003-05-02/QuietSun -reset button on form works (just reloading the document, basically) -filter checkboxes work to select certain filters January 04, 2007 -website valid xhtml and css :) -input fields slightly wider -results (series/observations) adapted (smaller thumbnails) -fixed 'limit results per page', now works January 02, 2007 -r0plot accepts filter, and this is matched with filter in the fits table -only short filternames used (bc, rc), seems cleaner -nonexistent samples stored as 'NULL', not '', seems better -samples sorted in seperate rows in search results -some more info added to conf.inc December 27, 2006 -r0plot accepts 'filter' argument as GET var (bc,ha,gb,rc,ca) -conf.inc has some 'configuration' parameters used throughout the scripts December 26, 2006 -happy xmas :) -filter-detection centralized in testfill.php script -jd_to_unix and unix_to_jd work more or less --need gmmktime with dst=1 in order to work, why? -/data/DOT/2001/2001-10-17/AR9661/FITS/GBand/AR9661-gb-0000-20011017-101058.fits has no julday :< -renamed some files to logical filenames --testfill.php -> filldb.php --notes -> changelog --readfits.inc -> func_lib.inc -some results were hidden because there was no gband sample need to rewrite search.php to cope with this --should now present thumbs for all filters -2000, 2001, 2002 and 2004 are assimilated without errors, 2003 gives errors (possibly erroneous fits header), so time for a xmas release :P December 21, 2006 -mosaic, movieflags added to db -movies detected by testfill.php (supposedly) -reordered r0 preferences (gb - bc - ca - rc - ha) December 12, 2006 -FITS files without mu/lat/lon also recognized (problem was with /data/DOT/2004/2004-09-13/SunScan/), NULL values used. -r0 values can now be taken from any filter if gband is absent -data appears to be (quite) consitent now -use ARxxxa ARxxxb as seperate targetnames, fuzzy search takes care of this November 26, 2006 -initiated legacy.php - should make the legacy type webpages, but might also return a `fresher' layout if requested (simple themes) November 25, 2006 - alpha-2 -checkconst script now detects most obvious consistency errors -testfill.php only looks for series-related fits files in FITS/ directories (otherwise fits files in Mosaic/ dirs are also taken) November 24, 2006 -r0* values calculated using average of all filters (caused problems otherwise) -julian date conversion fixed (script now copes with fractioanl julian dates) -sort $fits array using sort, drawback is that sort() sorts arrays by the first element (if you have a construction as in testfill.php), but the first element is observation time and thus convenient. -meesmap target fixed, link now copes with gif->png swap at 20030707 and also with YY to YYYY swap from 1999 to 2000 November 07, 2006 -added series resulttype -smaller thumbnails in result -now detects more thumbnails (mktime(0,0,0,1,1,1970) gives -3600???) -loops over all 2006 dirs now (but breaks down because of memory limitations) --memory raised to 32MB seems to solve most problems -julday partially implemented, seems to work with flaws November 06, 2006 -added time column, sortable -changed date from ymd-hms to ymd (time takes over) -changes testfill.php, now finds sample images as well (mktime needs day 1, month 1, year 1970 or else it takes today) --doesn't work completely yet (?) -changed $s_ variables to $s array (e.g. $s['obsbegin']) -added samplethumb to search results