Index: /branches/eam_branches/ipp-20130207/dvodist/INSTALL
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/INSTALL	(revision 35201)
+++ /branches/eam_branches/ipp-20130207/dvodist/INSTALL	(revision 35202)
@@ -7,7 +7,7 @@
 
 pikake test examples:
-psconfigure --htdocs /var/www/ --rootdir /ippdata
+psconfigure --htdocs /var/www/ --rootdir /ippdata --rootwww http://pikake.ifa.hawaii.edu/ippdata
 make ippdata
 
-psconfigure --htdocs /var/www/ --rootdir /dvodist
+psconfigure --htdocs /var/www/ --rootdir /dvodist --rootwww http://pikake.ifa.hawaii.edu/ippdata
 make dvodist
Index: /branches/eam_branches/ipp-20130207/dvodist/Makefile.in
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/Makefile.in	(revision 35201)
+++ /branches/eam_branches/ipp-20130207/dvodist/Makefile.in	(revision 35202)
@@ -4,5 +4,5 @@
 	@echo "  (website) = dvodist or ippdata"
 
-GENERATE = src/generate
+GENERATE = src/generate --htdocs @HTDOCS@ --rootdir @ROOTDIR@ --rootwww @ROOTWWW@
 
 # we have 2 sites (or more?) controlled by this build directory
@@ -44,4 +44,9 @@
 $(TGT-IPPDATA)/PScolorlogo2.jpg \
 $(TGT-IPPDATA)/index.php \
+$(TGT-IPPDATA)/photladder.20130107.subset/index.php \
+$(TGT-IPPDATA)/photladder.20130107.subset/relphot-fits/index.php \
+$(TGT-IPPDATA)/photladder.20130107.subset/relphot-csv/index.php \
+$(TGT-IPPDATA)/photladder.20130107.subset/ubercal-fits/index.php \
+$(TGT-IPPDATA)/photladder.20130107.subset/ubercal-csv/index.php \
 $(TGT-IPPDATA)/test.php \
 $(TGT-IPPDATA)/docs.php \
@@ -73,5 +78,5 @@
 	@if [ ! -d $(TGT-UTIL) ]; then mkdir -p $(TGT-UTIL) || exit; fi
 	rm -f $(TGT-UTIL)/$*.php || exit
-	$(GENERATE) --htdocs @HTDOCS@ --rootdir @ROOTDIR@ $(SRC-UTIL)/$*.mkd $(TGT-UTIL)/$*.php || exit
+	$(GENERATE) $(SRC-UTIL)/$*.mkd $(TGT-UTIL)/$*.php || exit
 
 $(TGT-UTIL)/%: $(SRC-UTIL)/%
@@ -84,5 +89,5 @@
 	@if [ ! -d $(@D) ]; then mkdir -p $(@D) || exit; fi
 	rm -f $(TGT-DVODIST)/$*.php || exit
-	$(GENERATE) --htdocs @HTDOCS@ --rootdir @ROOTDIR@ $(SRC-DVODIST)/$*.mkd $(TGT-DVODIST)/$*.php || exit
+	$(GENERATE) $(SRC-DVODIST)/$*.mkd $(TGT-DVODIST)/$*.php || exit
 
 # non-generated php code is copied directly
@@ -96,5 +101,5 @@
 	@if [ ! -d $(@D) ]; then mkdir -p $(@D) || exit; fi
 	rm -f $(TGT-IPPDATA)/$*.php || exit
-	$(GENERATE) --htdocs @HTDOCS@ --rootdir @ROOTDIR@ $(SRC-IPPDATA)/$*.mkd $(TGT-IPPDATA)/$*.php || exit
+	$(GENERATE) $(SRC-IPPDATA)/$*.mkd $(TGT-IPPDATA)/$*.php || exit
 
 # non-generated php code is copied directly
@@ -127,3 +132,2 @@
 $(SRC-PROG)/mkdist.testcat.sh \
 $(SRC-PROG)/mkindex.sh
-
Index: /branches/eam_branches/ipp-20130207/dvodist/configure.tcsh
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/configure.tcsh	(revision 35201)
+++ /branches/eam_branches/ipp-20130207/dvodist/configure.tcsh	(revision 35202)
@@ -11,4 +11,5 @@
 set htdocs  = ""
 set rootdir = ""
+set rootwww = ""
 set dbhost  = ""
 set dbuser  = ""
@@ -61,4 +62,12 @@
    endif
    breaksw;
+  case --rootwww*
+   if ("$1" == "--rootwww") then
+     shift
+     set rootwww = $1
+   else
+     set rootwww = `echo $1 | tr = ' ' | awk '{print $2}'`
+   endif
+   breaksw;
   case --dbhost*
    if ("$1" == "--dbhost") then
@@ -153,4 +162,5 @@
 echo "htdocs:  $htdocs"
 echo "rootdir: $rootdir"
+echo "rootwww: $rootwww"
 # echo "dbhost:  $dbhost"
 # echo "dbuser:  $dbuser"
@@ -161,4 +171,5 @@
 if ("$htdocs" == "") goto usage
 if ("$rootdir" == "") goto usage
+if ("$rootwww" == "") goto usage
 
 # unless we need a db interface, skip this
@@ -197,6 +208,11 @@
 cat Makefile.in | sed "s|@HTDOCS@|$htdocs|" > tmp.1
 cat tmp.1       | sed "s|@ROOTDIR@|$rootdir|" > tmp.2
-cat tmp.2       | sed "s|@BINDIR@|$bindir|" > Makefile
+cat tmp.2       | sed "s|@BINDIR@|$bindir|" > tmp.1
+cat tmp.1       | sed "s|@ROOTWWW@|$rootwww|" > Makefile
 rm -f tmp.1 tmp.2
+
+# convert mkindex.sizes.sh.in to mkindex.sizes.sh
+#cat scripts/mkindex.sizes.sh.in | sed "s|@HTDOCS@|$htdocs|" > scripts/mkindex.sizes.sh
+chmod +x scripts/mkindex.sizes.sh
 
 ## # convert raw/site.php.in to raw/site.php
Index: /branches/eam_branches/ipp-20130207/dvodist/ippdata/index.mkd
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/ippdata/index.mkd	(revision 35201)
+++ /branches/eam_branches/ipp-20130207/dvodist/ippdata/index.mkd	(revision 35202)
@@ -1,11 +1,34 @@
 <?php include "@HTDOCS@/www-util/ippdata.page.php"; ?>
 
-# PS1 Public Data Distribution
+# PS1 / IPP Public Data Distribution
 
-This is the PS1 public data distribution server.  
+Pan-STARRS 1 (PS1) is an astronomical observatory dedicated to
+surveying the sky in optical wavelengths.  The telescope is located at
+the summit of Haleakala on the Hawaiian island of Maui.  Data
+collected by the telescope are automatically processed by the PS1
+Image Processing Pipeline (IPP).
 
-Data is distributed in several forms
+The PS1 telescope has been in full survey operations since May 2010.
+In the intervening period, it is surveyed the 3/4 of the sky visible
+from Hawaii repeatedly in 5 bands.  This "3pi" survey gets the major
+portion of the telescope time (56%), with the remaining time going to
+a variety of deep survey fields and dedicated asteroid search time. 
 
-@ Data Product             : none                       : plain : title : Comment
-@ PS1 Photometry Ladder v0 : photladder.20120604.subset : dir   : dir1  : Photometry Ladder released 2012.06.07 (EAM UPDATE)
-@ Synthetic Photometry DVO : catdir.syn.test            : dir   : dir1  : Demonstration DVO Database
+One of the major goals of the 3pi survey is the construction of a
+high-quality photometric reference catalog covering the 3pi region
+(Dec > -30 deg).  
+
+This web site provides the public access to data products related to
+the PS1 surveys, with particular emphasis on the bulk photometry (and
+eventually astrometry) datasets.  
+
+@ Data Product                : none                       : plain : title : Comment
+@ PS1 Photladder, 12.01       : photladder.20130107.subset : dir   : dir1  : Photometric Reference Ladder, Release 12.01
+@ Synthetic Photometry DVO    : catdir.syn.test            : dir   : dir2  : Demonstration DVO Database
+
+Public release of transient events and asteroid discoveries are
+provided via the links below.
+
+* [Transient public server](http://ifa.transients.hawaii.edu)
+* [Moving objects](http://ifa.objects.hawaii.edu)
+
Index: /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/index.mkd
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/index.mkd	(revision 35202)
+++ /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/index.mkd	(revision 35202)
@@ -0,0 +1,35 @@
+<?php include "@HTDOCS@/www-util/ippdata.page.php"; ?>
+
+# PS1 Photometric Reference Ladder, Release 12.01
+
+(up to [PS1 Data Release](/ippdata/index.php))
+
+The PS1 Photometric Reference Ladder (Release 12.01) provides
+reference PS1 photometry for 1-degree wide bands across the sky.
+There are 24 rungs in RA (1 at each integer RA hour) and 4 rungs in
+DEC (at -25, 0, +25, and +50 degrees).  In each band, a maximum of
+~1000 objects per square degree are provided.  
+
+The reference catalog data are provided in 2 formats: FITS tables and
+Comma-Separated Values text files.  The latter may be easily loaded
+into excel or certain database software.  
+
+There are two sets of tables: ubercal and relphot.  The ubercal tables
+only include objects for which measurements in all 5 filters were used
+for the ubercal solution.  These data come from time periods which
+have been judged as photometric and reprensent the most pristine
+sample.  
+
+The relphot tables include objects for which some (or even all) of the
+filters have been calibrated via relative photometry using image
+overlaps to connect them to images in the ubercal set.  Please take
+care when using the relphot tables, as the relative photometry tie may
+allow for substantial drift in certain patches in the sky (see Figure
+6 in Magnier et al 2013).
+
+@ Data Product             : none                       : plain : title : Comment
+@ Ubercal FITS tables  : ubercal-fits : dir   : dir1  : NOTES
+@ Ubercal CSV tables  : ubercal-csv : dir   : dir2  : NOTES
+@ Relphot FITS tables  : relphot-fits : dir   : dir1  : NOTES
+@ Relphot CSV tables  : relphot-csv : dir   : dir2  : NOTES
+
Index: /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/relphot-csv/index.mkd
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/relphot-csv/index.mkd	(revision 35202)
+++ /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/relphot-csv/index.mkd	(revision 35202)
@@ -0,0 +1,41 @@
+<?php include "@HTDOCS@/www-util/ippdata.page.php"; ?>
+
+# PS1 Photometric Reference Ladder, Release 12.01
+## Relphot Data in CSV Format
+
+(up to [PS1 Photladder, 12.01](/ippdata/photladder.20130107.subset/index.php))
+
+Download this entire directory with the following command:
+
+<tt> wget -c -r -np -nH @ROOTWWW@/photladder.20130107.subset/relphot-csv </tt>
+
+@ filename : plain : title : size (bytes) </td><td> md5sum 
+@ ps1.ladder.1201.relphot.D+00d.csv : file : file1 : 110556097 </td><td> 58521986ff3f5f068741a0088e98b5b4
+@ ps1.ladder.1201.relphot.D-25d.csv : file : file2 : 137215192 </td><td> 50f17936f16daceb0d55807523ada3ac
+@ ps1.ladder.1201.relphot.D+25d.csv : file : file1 : 129767144 </td><td> eebd48a731c5c788aae6a8da5b6d1331
+@ ps1.ladder.1201.relphot.D+50d.csv : file : file2 : 121230721 </td><td> 772cddf3e4f0bb12380f3c1f36178c9a
+@ ps1.ladder.1201.relphot.R+00h.csv : file : file1 :  15309153 </td><td> 64f476cfbcdf7478c4773cf6295424d5
+@ ps1.ladder.1201.relphot.R+01h.csv : file : file2 :  20307262 </td><td> 0dcb7763434d23f65778f7edd23bc6ce
+@ ps1.ladder.1201.relphot.R+02h.csv : file : file1 :  20200390 </td><td> 80fde9be579090a12a771dd03705f230
+@ ps1.ladder.1201.relphot.R+03h.csv : file : file2 :  17177383 </td><td> 21e6a8c51810c0b49bd38ceb3af35cd6
+@ ps1.ladder.1201.relphot.R+04h.csv : file : file1 :  26113727 </td><td> 9de577b47f96d3de6046d925f7940a91
+@ ps1.ladder.1201.relphot.R+05h.csv : file : file2 :  29938977 </td><td> 190bec64d97605191eac71c40b4743c1
+@ ps1.ladder.1201.relphot.R+06h.csv : file : file1 :  34393464 </td><td> 0bdd2d826c606292cf1989c4b4424817
+@ ps1.ladder.1201.relphot.R+07h.csv : file : file2 :  36147439 </td><td> 1805e7643926385e456c56dd5e1d1da1
+@ ps1.ladder.1201.relphot.R+08h.csv : file : file1 :  32550615 </td><td> 33c215d047a9042f3835e63d07dbc51b
+@ ps1.ladder.1201.relphot.R+09h.csv : file : file2 :  15447531 </td><td> 56b99eee8818a74e1714e390200eb6fd
+@ ps1.ladder.1201.relphot.R+10h.csv : file : file1 :  10994377 </td><td> f0574a61e1c71f03484f04e7031cf3ac
+@ ps1.ladder.1201.relphot.R+11h.csv : file : file2 :   8716684 </td><td> a2708070e3be85021eb8392a7795eb5d
+@ ps1.ladder.1201.relphot.R+12h.csv : file : file1 :  13034137 </td><td> cc6273887c0f60b7a764c91858432c02
+@ ps1.ladder.1201.relphot.R+13h.csv : file : file2 :  11831878 </td><td> 4fb83b7eec46ddf4928e9c16a144a648
+@ ps1.ladder.1201.relphot.R+14h.csv : file : file1 :  17305762 </td><td> d7d43a96495d5130867e6159a6a87e76
+@ ps1.ladder.1201.relphot.R+15h.csv : file : file2 :  21324169 </td><td> da9f0c6f65ef088c37ab73bd4e3ed40a
+@ ps1.ladder.1201.relphot.R+16h.csv : file : file1 :  31951575 </td><td> 819f0b78ac0f8cf77d844bec28514ce6
+@ ps1.ladder.1201.relphot.R+17h.csv : file : file2 :  35145746 </td><td> ec2a7b853bdc3325f089d8bb45ebdead
+@ ps1.ladder.1201.relphot.R+18h.csv : file : file1 :  35236424 </td><td> fe60b776dae5e2e74ef353e1a8a4f33c
+@ ps1.ladder.1201.relphot.R+19h.csv : file : file2 :  36944631 </td><td> 0f5bcc3e6f33cfe87fbef2cfd0de3c63
+@ ps1.ladder.1201.relphot.R+20h.csv : file : file1 :  37311438 </td><td> 25d3fce6352553e686b914eeba806b20
+@ ps1.ladder.1201.relphot.R+21h.csv : file : file2 :  37012001 </td><td> 21bf9f13eb0fe90a0cba6abeb1d5ef30
+@ ps1.ladder.1201.relphot.R+22h.csv : file : file1 :  35452830 </td><td> dbf436ed469596d6e326a4c416715205
+@ ps1.ladder.1201.relphot.R+23h.csv : file : file2 :  31024737 </td><td> cbb1031c111b4626480c8d52d7e8e3f8
+@ ps1.ladder.1201.relphot.R+24h.csv : file : file1 :  13328142 </td><td> ad408b5b3e3ca7e7a873fa4e18779d9d
Index: /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/relphot-fits/index.mkd
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/relphot-fits/index.mkd	(revision 35202)
+++ /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/relphot-fits/index.mkd	(revision 35202)
@@ -0,0 +1,41 @@
+<?php include "@HTDOCS@/www-util/ippdata.page.php"; ?>
+
+# PS1 Photometric Reference Ladder, Release 12.01
+## Relphot Data in FITS Format
+
+(up to [PS1 Photladder, 12.01](/ippdata/photladder.20130107.subset/index.php))
+
+Download this entire directory with the following command:
+
+<tt> wget -c -r -np -nH @ROOTWWW@/photladder.20130107.subset/relphot-fits </tt>
+
+@ filename : plain : title : size (bytes) </td><td> md5sum 
+@ ps1.ladder.1201.relphot.D+00d.fits : file : file1 : 39398400 | 64ff5ec3d9c76e32b3e6ef8182b1f023
+@ ps1.ladder.1201.relphot.D-25d.fits : file : file2 : 49127040 | 395f8aad559be044aa673624ee49dcc7
+@ ps1.ladder.1201.relphot.D+25d.fits : file : file1 : 46370880 | 96ad6ef5953658f139632521d814a246
+@ ps1.ladder.1201.relphot.D+50d.fits : file : file2 : 43274880 | 3d21e1b27b41182f75e06e0eab15e622
+@ ps1.ladder.1201.relphot.R+00h.fits : file : file1 :  5483520 | 26be0dd339f41791f5ddb18fc8192a40
+@ ps1.ladder.1201.relphot.R+01h.fits : file : file2 :  7263360 | a1957a589d9ddce3cfb4f9dd8c2cb9da
+@ ps1.ladder.1201.relphot.R+02h.fits : file : file1 :  7217280 | 28e71fcf3b19485bb86c9bc5af58caeb
+@ ps1.ladder.1201.relphot.R+03h.fits : file : file2 :  6108480 | 7fc5f75aa9c412692f1fdaeacd065772
+@ ps1.ladder.1201.relphot.R+04h.fits : file : file1 :  9216000 | 5354af2ec06dfb188f2f0cbde03fb567
+@ ps1.ladder.1201.relphot.R+05h.fits : file : file2 : 10589760 | 9b0472cd92dbdad908b44a9da6f1e6ba
+@ ps1.ladder.1201.relphot.R+06h.fits : file : file1 : 12153600 | 043d299e05d5857afbb8f966741886b8
+@ ps1.ladder.1201.relphot.R+07h.fits : file : file2 : 12764160 | b5a11f6f313f4b15b3478d7a385786a1
+@ ps1.ladder.1201.relphot.R+08h.fits : file : file1 : 11554560 | 0b7aab048824b2a333c727f1c7f16215
+@ ps1.ladder.1201.relphot.R+09h.fits : file : file2 :  5463360 | c6243b7ebf27d88beffe6839452817c0
+@ ps1.ladder.1201.relphot.R+10h.fits : file : file1 :  3954240 | 4f87ac1becccf90acc57e8af2e1b7ad3
+@ ps1.ladder.1201.relphot.R+11h.fits : file : file2 :  3130560 | 001d0234ec8b450a0a31fceedf4ee50e
+@ ps1.ladder.1201.relphot.R+12h.fits : file : file1 :  4685760 | f6974c449fb4a23107dc1a7a1ba84908
+@ ps1.ladder.1201.relphot.R+13h.fits : file : file2 :  4239360 | dbfc709f6efcb74c93b07bb0a1355faf
+@ ps1.ladder.1201.relphot.R+14h.fits : file : file1 :  6243840 | de718b2b96e43390e06905237b39ce1a
+@ ps1.ladder.1201.relphot.R+15h.fits : file : file2 :  7669440 | af51be4af06df82f55d9d610dc9aeb34
+@ ps1.ladder.1201.relphot.R+16h.fits : file : file1 : 11528640 | 6897ea57487d17617b70429b938c14f7
+@ ps1.ladder.1201.relphot.R+17h.fits : file : file2 : 12666240 | c3526e9498ad58f665d26459d1643689
+@ ps1.ladder.1201.relphot.R+18h.fits : file : file1 : 12660480 | 22d2917e2dda2dd0e287e928dc8563c7
+@ ps1.ladder.1201.relphot.R+19h.fits : file : file2 : 13204800 | cccbd09b445fa38ce9431d9b1e72e11c
+@ ps1.ladder.1201.relphot.R+20h.fits : file : file1 : 13374720 | b5a184414289eb2ce7cb6517d984856a
+@ ps1.ladder.1201.relphot.R+21h.fits : file : file2 : 13374720 | d489763dbf47025ed6bc6f30a30db920
+@ ps1.ladder.1201.relphot.R+22h.fits : file : file1 : 12810240 | 15400c02daf6d33f7b4c7087adc77f3e
+@ ps1.ladder.1201.relphot.R+23h.fits : file : file2 : 11131200 | 5e6684beff60a325af65b8ab220ee197
+@ ps1.ladder.1201.relphot.R+24h.fits : file : file1 :  4806720 | 5caa7a2e90443d1e1c3ccb3b241d3bf7
Index: /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/ubercal-csv/index.mkd
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/ubercal-csv/index.mkd	(revision 35202)
+++ /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/ubercal-csv/index.mkd	(revision 35202)
@@ -0,0 +1,41 @@
+<?php include "@HTDOCS@/www-util/ippdata.page.php"; ?>
+
+# PS1 Photometric Reference Ladder, Release 12.01
+## Ubercal Data in FITS Format
+
+(up to [PS1 Photladder, 12.01](/ippdata/photladder.20130107.subset/index.php))
+
+Download this entire directory with the following command:
+
+<tt> wget -c -r -np -nH @ROOTWWW@/photladder.20130107.subset/ubercal-fits </tt>
+
+@ filename : plain : title : size (bytes) </td><td> md5sum 
+@ ps1.ladder.1201.ubercal.D+00d.csv : file : file1 : 166286854 </td><td> 6fab78f8eac0bb8d36939b6915d31806
+@ ps1.ladder.1201.ubercal.D-25d.csv : file : file2 :  88442869 </td><td> a91e8bab8a057b10976c9a020d3fc195
+@ ps1.ladder.1201.ubercal.D+25d.csv : file : file1 : 258034962 </td><td> 8f6f2376d5045cd907dace781aa3a7f1
+@ ps1.ladder.1201.ubercal.D+50d.csv : file : file2 : 339802708 </td><td> 37041b92f3bc2e609957724199565c0f
+@ ps1.ladder.1201.ubercal.R+00h.csv : file : file1 : 353129004 </td><td> ae177120778f88d544a40e409dbad9f9
+@ ps1.ladder.1201.ubercal.R+01h.csv : file : file2 : 370336079 </td><td> 36120952f8e37c580744e2899e573d7f
+@ ps1.ladder.1201.ubercal.R+02h.csv : file : file1 : 380563565 </td><td> 227535b2474f58237f9f035abbaf1258
+@ ps1.ladder.1201.ubercal.R+03h.csv : file : file2 : 390174387 </td><td> 4163934598de7de636940d2005207ad9
+@ ps1.ladder.1201.ubercal.R+04h.csv : file : file1 : 405124960 </td><td> 5b6edd9cf1a8c9ae9781d344b393258a
+@ ps1.ladder.1201.ubercal.R+05h.csv : file : file2 : 421318946 </td><td> 1c7ca4ab4a54d4d01a43383a9efe80ee
+@ ps1.ladder.1201.ubercal.R+06h.csv : file : file1 : 441583307 </td><td> 9c311cecaff480a015d837b2b88a3fb2
+@ ps1.ladder.1201.ubercal.R+07h.csv : file : file2 : 452337093 </td><td> a65630d86e77e02ffc1f825d18ec890d
+@ ps1.ladder.1201.ubercal.R+08h.csv : file : file1 : 479817001 </td><td> f287b92c8a50522d9bec2785c224ef88
+@ ps1.ladder.1201.ubercal.R+09h.csv : file : file2 : 483821698 </td><td> 8d2c129ae9fff01360164ea613da60d1
+@ ps1.ladder.1201.ubercal.R+10h.csv : file : file1 : 489127513 </td><td> c62ed7a5c13c8ecde5df1642f1ca28ec
+@ ps1.ladder.1201.ubercal.R+11h.csv : file : file2 : 494372401 </td><td> 0d942b67d4d4d1c77a443143b3228c5b
+@ ps1.ladder.1201.ubercal.R+12h.csv : file : file1 : 505312644 </td><td> a476b3e0b82db42d18ac97f5f7851405
+@ ps1.ladder.1201.ubercal.R+13h.csv : file : file2 : 511810521 </td><td> 34f0d0c3ec8407ffd0b4812782284b80
+@ ps1.ladder.1201.ubercal.R+14h.csv : file : file1 : 525293417 </td><td> bacc5036900abe42b12fa6f4845eae23
+@ ps1.ladder.1201.ubercal.R+15h.csv : file : file2 : 536591368 </td><td> 2379f80629e2f1a0051ec75c424fe6a8
+@ ps1.ladder.1201.ubercal.R+16h.csv : file : file1 : 563319383 </td><td> 7e6c681a8fcffbcd9b854a453a5af95a
+@ ps1.ladder.1201.ubercal.R+17h.csv : file : file2 : 592925045 </td><td> a745b6d59a1f0695f39b8b57c58bf027
+@ ps1.ladder.1201.ubercal.R+18h.csv : file : file1 : 609032859 </td><td> 6b91b9f6737bd025dea8a0e2ddb937b0
+@ ps1.ladder.1201.ubercal.R+19h.csv : file : file2 : 632938107 </td><td> 44e009333765d3084263d758e2b1bcc1
+@ ps1.ladder.1201.ubercal.R+20h.csv : file : file1 : 653062724 </td><td> 16ca9da7f624fb6771cab0c6a30a5dbd
+@ ps1.ladder.1201.ubercal.R+21h.csv : file : file2 : 687179008 </td><td> 369ac5e840334af8a8986232e84381f3
+@ ps1.ladder.1201.ubercal.R+22h.csv : file : file1 : 712573076 </td><td> 5d1c11aa311b5c0a5c6d59e9ef910bba
+@ ps1.ladder.1201.ubercal.R+23h.csv : file : file2 : 736227297 </td><td> e18f4f4e3a1b687f170bdec490c7ed59
+@ ps1.ladder.1201.ubercal.R+24h.csv : file : file1 : 748365730 </td><td> 5a9cd96056be0839046e5d89dadba056
Index: /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/ubercal-fits/index.mkd
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/ubercal-fits/index.mkd	(revision 35202)
+++ /branches/eam_branches/ipp-20130207/dvodist/ippdata/photladder.20130107.subset/ubercal-fits/index.mkd	(revision 35202)
@@ -0,0 +1,42 @@
+<?php include "@HTDOCS@/www-util/ippdata.page.php"; ?>
+
+# PS1 Photometric Reference Ladder, Release 12.01
+## Ubercal Data in FITS Format
+
+(up to [PS1 Photladder, 12.01](/ippdata/photladder.20130107.subset/index.php))
+
+Download this entire directory with the following command:
+
+<tt> wget -c -r -np -nH @ROOTWWW@/photladder.20130107.subset/ubercal-fits </tt>
+
+@ filename : plain : title : size (bytes) </td><td> md5sum 
+@ ps1.ladder.1201.ubercal.D+00d.fits : file : file1 :  59544000 </td><td> 6fdbd05631ec10e70cb85328c5a3da49
+@ ps1.ladder.1201.ubercal.D-25d.fits : file : file2 :  31780800 </td><td> 840c650abe448f5f6724785e3d1d578e
+@ ps1.ladder.1201.ubercal.D+25d.fits : file : file1 :  92350080 </td><td> 60b3dff46596127760ed8a42771f20c3
+@ ps1.ladder.1201.ubercal.D+50d.fits : file : file2 : 121610880 </td><td> 8f4fed22147205ba75101fcf8aed08c6
+@ ps1.ladder.1201.ubercal.R+00h.fits : file : file1 : 126365760 </td><td> 8bab7143168484d45968c2abe1cb2a07
+@ ps1.ladder.1201.ubercal.R+01h.fits : file : file2 : 132508800 </td><td> 3e30dad2c6e663e1b1ee2e9eaccea0e5
+@ ps1.ladder.1201.ubercal.R+02h.fits : file : file1 : 136146240 </td><td> 0dd601595a6e806ce0fefe029795396a
+@ ps1.ladder.1201.ubercal.R+03h.fits : file : file2 : 139553280 </td><td> 5b4d8232b0cdf77c8e95032afb57860f
+@ ps1.ladder.1201.ubercal.R+04h.fits : file : file1 : 144829440 </td><td> 87239e621ca8baec839cbbbb5f966f55
+@ ps1.ladder.1201.ubercal.R+05h.fits : file : file2 : 150552000 </td><td> 102c187e9207ff8f545d1d4a4b48faf8
+@ ps1.ladder.1201.ubercal.R+06h.fits : file : file1 : 157703040 </td><td> 117a1a4c323da86f8d541e07e5b9b9d1
+@ ps1.ladder.1201.ubercal.R+07h.fits : file : file2 : 161498880 </td><td> 5f62663a594807eb9a1d0abae80047a6
+@ ps1.ladder.1201.ubercal.R+08h.fits : file : file1 : 171224640 </td><td> 348163f63f31f21e14ca3d12fa6156b9
+@ ps1.ladder.1201.ubercal.R+09h.fits : file : file2 : 172635840 </td><td> f500eb7a467392de2088a391bd309760
+@ ps1.ladder.1201.ubercal.R+10h.fits : file : file1 : 174536640 </td><td> f0fc87198a1bb6b48986074b121933a3
+@ ps1.ladder.1201.ubercal.R+11h.fits : file : file2 : 176411520 </td><td> 8a13079aa560768f04ace810ae5eefed
+@ ps1.ladder.1201.ubercal.R+12h.fits : file : file1 : 180328320 </td><td> 2c316914db44e4bdbedec1315b4f1abb
+@ ps1.ladder.1201.ubercal.R+13h.fits : file : file2 : 182649600 </td><td> f41a20f0272a52029a4ddf287480064f
+@ ps1.ladder.1201.ubercal.R+14h.fits : file : file1 : 187508160 </td><td> b3eea25ad3dcd2b398f27452a8c7cc59
+@ ps1.ladder.1201.ubercal.R+15h.fits : file : file2 : 191571840 </td><td> 6c881b16c49db28d5a29fa30cefa29d0
+@ ps1.ladder.1201.ubercal.R+16h.fits : file : file1 : 201199680 </td><td> c036c422ec257364d0fc776237818b68
+@ ps1.ladder.1201.ubercal.R+17h.fits : file : file2 : 211855680 </td><td> 9b3a283b43aca71b330ce8774febf9db
+@ ps1.ladder.1201.ubercal.R+18h.fits : file : file1 : 217658880 </td><td> 8917b016e2d88d8ebff6f15217784d10
+@ ps1.ladder.1201.ubercal.R+19h.fits : file : file2 : 226183680 </td><td> 26e661c58f829ed40408c1be806ce67d
+@ ps1.ladder.1201.ubercal.R+20h.fits : file : file1 : 233424000 </td><td> cc15b2f95d3fd4df17d0dd070fce610e
+@ ps1.ladder.1201.ubercal.R+21h.fits : file : file2 : 245736000 </td><td> 80ac07c42403ec1ee67282987f8e2b18
+@ ps1.ladder.1201.ubercal.R+22h.fits : file : file1 : 254885760 </td><td> 484c6290abf8ad1d2e9f2fb02d69b0fb
+@ ps1.ladder.1201.ubercal.R+23h.fits : file : file2 : 263361600 </td><td> c7218ac7f282f23b391076ccd9ed94ff
+@ ps1.ladder.1201.ubercal.R+24h.fits : file : file1 : 267713280 </td><td> 3362fe91321c15979b6c809ea0a46970
+
Index: /branches/eam_branches/ipp-20130207/dvodist/scripts/mkindex.sh
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/scripts/mkindex.sh	(revision 35201)
+++ /branches/eam_branches/ipp-20130207/dvodist/scripts/mkindex.sh	(revision 35202)
@@ -8,23 +8,22 @@
 set topdir = $argv[1]
 
-# this is weak: depends on root location
-ln -s /data/ippc17.0/www/dvodist/www-root/index.php $topdir/
+set file = `basename $topdir`
 
-set file = `basename $topdir`
-echo "$file : plain : title  : Title" > $topdir/index.txt
-echo "..             : dir   : dir2  : parent directory" >> $topdir/index.txt
+echo '<?php include "@HTDOCS@/www-util/dvodist.page.php"; ?>' >  $topdir/index.mkd
+
+echo "$file : plain : title  : Title" >> $topdir/index.mkd
+echo "..             : dir   : dir2  : parent directory" >> $topdir/index.mkd
 
 set N = 1
 foreach entry ($topdir/*)
   set file = `basename $entry`
-  if ("$file" == "index.php") continue
-  if ("$file" == "index.txt") continue
+  if ("$file" == "index.mkd") continue
 
   if (-d $entry) then
-    echo "$file : dir : dir$N : directory" >> $topdir/index.txt
+    echo "@ $file : dir : dir$N : directory" >> $topdir/index.mkd
   endif
 
   if (-f $entry) then
-    echo "$file : file : file$N : database file" >> $topdir/index.txt
+    echo "@ $file : file : file$N : database file" >> $topdir/index.mkd
   endif
 
Index: /branches/eam_branches/ipp-20130207/dvodist/scripts/mkindex.sizes.sh
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/scripts/mkindex.sizes.sh	(revision 35202)
+++ /branches/eam_branches/ipp-20130207/dvodist/scripts/mkindex.sizes.sh	(revision 35202)
@@ -0,0 +1,35 @@
+#!/bin/csh -f 
+
+if ($#argv != 1) then
+  echo "USAGE: mkindex.sizes.sh (dir)"
+  exit 2
+endif
+
+set topdir = $argv[1]
+
+set file = `basename $topdir`
+
+set N = 1
+foreach entry ($topdir/*)
+  set file = `basename $entry`
+  set md5 = `md5sum $entry | awk '{print $1}'`
+  set size = `ls -l $entry | awk '{print $5}'`
+  echo $file, $md5, $size
+
+  if ("$file" == "index.php") continue
+  if ("$file" == "index.mkd") continue
+
+  if (-d $entry) then
+    echo "@ $file : dir : dir$N : directory" >> $topdir/index.mkd
+  endif
+
+  if (-f $entry) then
+    echo "@ $file : file : file$N : $size | $md5" >> $topdir/index.mkd
+  endif
+
+  if ($N == 1) then
+    set N = 2
+  else
+    set N = 1
+  endif
+end
Index: /branches/eam_branches/ipp-20130207/dvodist/src/generate
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/src/generate	(revision 35201)
+++ /branches/eam_branches/ipp-20130207/dvodist/src/generate	(revision 35202)
@@ -6,4 +6,5 @@
 set htdocs  = ""
 set rootdir  = ""
+set rootwww  = ""
 set args    = ""
 set VERBOSE = 0
@@ -25,4 +26,12 @@
    else
      set rootdir = `echo $1 | tr = ' ' | awk '{print $2}'`
+   endif
+   breaksw;
+  case --rootwww*
+   if ("$1" == "--rootwww") then
+     shift
+     set rootwww = $1
+   else
+     set rootwww = `echo $1 | tr = ' ' | awk '{print $2}'`
    endif
    breaksw;
@@ -47,4 +56,5 @@
   echo "htdocs : $htdocs"
   echo "rootdir: $rootdir"
+  echo "rootwww: $rootwww"
   echo "input  : $args[1]"
   echo "output : $args[2]"
@@ -53,6 +63,7 @@
 if ("$htdocs" == "") goto usage
 if ("$rootdir" == "") goto usage
+if ("$rootwww" == "") goto usage
 
-cat $args[1] | sed "s|@HTDOCS@|$htdocs|" | sed "s|@ROOTDIR@|$rootdir|" > $args[2]
+cat $args[1] | sed "s|@HTDOCS@|$htdocs|" | sed "s|@ROOTDIR@|$rootdir|" | sed "s|@ROOTWWW@|$rootwww|" > $args[2]
 exit 0
 
Index: /branches/eam_branches/ipp-20130207/dvodist/www-util/ipp.php
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/www-util/ipp.php	(revision 35201)
+++ /branches/eam_branches/ipp-20130207/dvodist/www-util/ipp.php	(revision 35202)
@@ -147,5 +147,4 @@
 
     if (count($line) == 4) {
-      echo "count = 4<br>\n";
       $name  = trim($line[0]);
       $type  = trim($line[1]);
@@ -155,5 +154,4 @@
     }
     if (count($line) == 5) {
-      echo "count = 5<br>\n";
       $name  = trim($line[0]);
       $link  = trim($line[1]);
@@ -216,8 +214,8 @@
       break;
     case 'dir':
-      echo "<tr class=\"$style\"><td><a class=\"$style\" href=\"$name\">$name</a></td><td>$info</td></tr>\n";
+      echo "<tr class=\"$style\"><td><a class=\"$style\" href=\"$link\">$name</a></td><td>$info</td></tr>\n";
       break;
     default:
-      echo "<tr class=\"$style\"><td><a class=\"$style\" href=\"$name\">$name</a></td><td>$info</td></tr>\n";
+      echo "<tr class=\"$style\"><td><a class=\"$style\" href=\"$link\">$name</a></td><td>$info</td></tr>\n";
       break;
     } 
Index: /branches/eam_branches/ipp-20130207/dvodist/www-util/ippdata.menu.dat
===================================================================
--- /branches/eam_branches/ipp-20130207/dvodist/www-util/ippdata.menu.dat	(revision 35201)
+++ /branches/eam_branches/ipp-20130207/dvodist/www-util/ippdata.menu.dat	(revision 35202)
@@ -8,5 +8,5 @@
 
 menutop   | menutop      | plain   | &nbsp;                       | 
-menutop   | menuselect   | link    | DVO Releases                 | /index.php
+menutop   | menuselect   | link    | PS1 Data Release             | /index.php
 menutop   | menuselect   | link    | Documentation                | /docs.php
 menutop   | menuselect   | link    | Help                         | /help.php
