Changeset 35202
- Timestamp:
- Feb 24, 2013, 4:28:39 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130207/dvodist
- Files:
-
- 11 added
- 8 edited
-
INSTALL (modified) (1 diff)
-
Makefile.in (modified) (6 diffs)
-
configure.tcsh (modified) (5 diffs)
-
ippdata/index.mkd (modified) (1 diff)
-
ippdata/photladder.20130107.subset (added)
-
ippdata/photladder.20130107.subset/index.mkd (added)
-
ippdata/photladder.20130107.subset/relphot-csv (added)
-
ippdata/photladder.20130107.subset/relphot-csv/index.mkd (added)
-
ippdata/photladder.20130107.subset/relphot-fits (added)
-
ippdata/photladder.20130107.subset/relphot-fits/index.mkd (added)
-
ippdata/photladder.20130107.subset/ubercal-csv (added)
-
ippdata/photladder.20130107.subset/ubercal-csv/index.mkd (added)
-
ippdata/photladder.20130107.subset/ubercal-fits (added)
-
ippdata/photladder.20130107.subset/ubercal-fits/index.mkd (added)
-
scripts/mkindex.sh (modified) (1 diff)
-
scripts/mkindex.sizes.sh (added)
-
src/generate (modified) (4 diffs)
-
www-util/ipp.php (modified) (3 diffs)
-
www-util/ippdata.menu.dat (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130207/dvodist/INSTALL
r34748 r35202 7 7 8 8 pikake test examples: 9 psconfigure --htdocs /var/www/ --rootdir /ippdata 9 psconfigure --htdocs /var/www/ --rootdir /ippdata --rootwww http://pikake.ifa.hawaii.edu/ippdata 10 10 make ippdata 11 11 12 psconfigure --htdocs /var/www/ --rootdir /dvodist 12 psconfigure --htdocs /var/www/ --rootdir /dvodist --rootwww http://pikake.ifa.hawaii.edu/ippdata 13 13 make dvodist -
branches/eam_branches/ipp-20130207/dvodist/Makefile.in
r34748 r35202 4 4 @echo " (website) = dvodist or ippdata" 5 5 6 GENERATE = src/generate 6 GENERATE = src/generate --htdocs @HTDOCS@ --rootdir @ROOTDIR@ --rootwww @ROOTWWW@ 7 7 8 8 # we have 2 sites (or more?) controlled by this build directory … … 44 44 $(TGT-IPPDATA)/PScolorlogo2.jpg \ 45 45 $(TGT-IPPDATA)/index.php \ 46 $(TGT-IPPDATA)/photladder.20130107.subset/index.php \ 47 $(TGT-IPPDATA)/photladder.20130107.subset/relphot-fits/index.php \ 48 $(TGT-IPPDATA)/photladder.20130107.subset/relphot-csv/index.php \ 49 $(TGT-IPPDATA)/photladder.20130107.subset/ubercal-fits/index.php \ 50 $(TGT-IPPDATA)/photladder.20130107.subset/ubercal-csv/index.php \ 46 51 $(TGT-IPPDATA)/test.php \ 47 52 $(TGT-IPPDATA)/docs.php \ … … 73 78 @if [ ! -d $(TGT-UTIL) ]; then mkdir -p $(TGT-UTIL) || exit; fi 74 79 rm -f $(TGT-UTIL)/$*.php || exit 75 $(GENERATE) --htdocs @HTDOCS@ --rootdir @ROOTDIR@$(SRC-UTIL)/$*.mkd $(TGT-UTIL)/$*.php || exit80 $(GENERATE) $(SRC-UTIL)/$*.mkd $(TGT-UTIL)/$*.php || exit 76 81 77 82 $(TGT-UTIL)/%: $(SRC-UTIL)/% … … 84 89 @if [ ! -d $(@D) ]; then mkdir -p $(@D) || exit; fi 85 90 rm -f $(TGT-DVODIST)/$*.php || exit 86 $(GENERATE) --htdocs @HTDOCS@ --rootdir @ROOTDIR@$(SRC-DVODIST)/$*.mkd $(TGT-DVODIST)/$*.php || exit91 $(GENERATE) $(SRC-DVODIST)/$*.mkd $(TGT-DVODIST)/$*.php || exit 87 92 88 93 # non-generated php code is copied directly … … 96 101 @if [ ! -d $(@D) ]; then mkdir -p $(@D) || exit; fi 97 102 rm -f $(TGT-IPPDATA)/$*.php || exit 98 $(GENERATE) --htdocs @HTDOCS@ --rootdir @ROOTDIR@$(SRC-IPPDATA)/$*.mkd $(TGT-IPPDATA)/$*.php || exit103 $(GENERATE) $(SRC-IPPDATA)/$*.mkd $(TGT-IPPDATA)/$*.php || exit 99 104 100 105 # non-generated php code is copied directly … … 127 132 $(SRC-PROG)/mkdist.testcat.sh \ 128 133 $(SRC-PROG)/mkindex.sh 129 -
branches/eam_branches/ipp-20130207/dvodist/configure.tcsh
r34748 r35202 11 11 set htdocs = "" 12 12 set rootdir = "" 13 set rootwww = "" 13 14 set dbhost = "" 14 15 set dbuser = "" … … 61 62 endif 62 63 breaksw; 64 case --rootwww* 65 if ("$1" == "--rootwww") then 66 shift 67 set rootwww = $1 68 else 69 set rootwww = `echo $1 | tr = ' ' | awk '{print $2}'` 70 endif 71 breaksw; 63 72 case --dbhost* 64 73 if ("$1" == "--dbhost") then … … 153 162 echo "htdocs: $htdocs" 154 163 echo "rootdir: $rootdir" 164 echo "rootwww: $rootwww" 155 165 # echo "dbhost: $dbhost" 156 166 # echo "dbuser: $dbuser" … … 161 171 if ("$htdocs" == "") goto usage 162 172 if ("$rootdir" == "") goto usage 173 if ("$rootwww" == "") goto usage 163 174 164 175 # unless we need a db interface, skip this … … 197 208 cat Makefile.in | sed "s|@HTDOCS@|$htdocs|" > tmp.1 198 209 cat tmp.1 | sed "s|@ROOTDIR@|$rootdir|" > tmp.2 199 cat tmp.2 | sed "s|@BINDIR@|$bindir|" > Makefile 210 cat tmp.2 | sed "s|@BINDIR@|$bindir|" > tmp.1 211 cat tmp.1 | sed "s|@ROOTWWW@|$rootwww|" > Makefile 200 212 rm -f tmp.1 tmp.2 213 214 # convert mkindex.sizes.sh.in to mkindex.sizes.sh 215 #cat scripts/mkindex.sizes.sh.in | sed "s|@HTDOCS@|$htdocs|" > scripts/mkindex.sizes.sh 216 chmod +x scripts/mkindex.sizes.sh 201 217 202 218 ## # convert raw/site.php.in to raw/site.php -
branches/eam_branches/ipp-20130207/dvodist/ippdata/index.mkd
r34748 r35202 1 1 <?php include "@HTDOCS@/www-util/ippdata.page.php"; ?> 2 2 3 # PS1 Public Data Distribution3 # PS1 / IPP Public Data Distribution 4 4 5 This is the PS1 public data distribution server. 5 Pan-STARRS 1 (PS1) is an astronomical observatory dedicated to 6 surveying the sky in optical wavelengths. The telescope is located at 7 the summit of Haleakala on the Hawaiian island of Maui. Data 8 collected by the telescope are automatically processed by the PS1 9 Image Processing Pipeline (IPP). 6 10 7 Data is distributed in several forms 11 The PS1 telescope has been in full survey operations since May 2010. 12 In the intervening period, it is surveyed the 3/4 of the sky visible 13 from Hawaii repeatedly in 5 bands. This "3pi" survey gets the major 14 portion of the telescope time (56%), with the remaining time going to 15 a variety of deep survey fields and dedicated asteroid search time. 8 16 9 @ Data Product : none : plain : title : Comment 10 @ PS1 Photometry Ladder v0 : photladder.20120604.subset : dir : dir1 : Photometry Ladder released 2012.06.07 (EAM UPDATE) 11 @ Synthetic Photometry DVO : catdir.syn.test : dir : dir1 : Demonstration DVO Database 17 One of the major goals of the 3pi survey is the construction of a 18 high-quality photometric reference catalog covering the 3pi region 19 (Dec > -30 deg). 20 21 This web site provides the public access to data products related to 22 the PS1 surveys, with particular emphasis on the bulk photometry (and 23 eventually astrometry) datasets. 24 25 @ Data Product : none : plain : title : Comment 26 @ PS1 Photladder, 12.01 : photladder.20130107.subset : dir : dir1 : Photometric Reference Ladder, Release 12.01 27 @ Synthetic Photometry DVO : catdir.syn.test : dir : dir2 : Demonstration DVO Database 28 29 Public release of transient events and asteroid discoveries are 30 provided via the links below. 31 32 * [Transient public server](http://ifa.transients.hawaii.edu) 33 * [Moving objects](http://ifa.objects.hawaii.edu) 34 -
branches/eam_branches/ipp-20130207/dvodist/scripts/mkindex.sh
r33986 r35202 8 8 set topdir = $argv[1] 9 9 10 # this is weak: depends on root location 11 ln -s /data/ippc17.0/www/dvodist/www-root/index.php $topdir/ 10 set file = `basename $topdir` 12 11 13 set file = `basename $topdir` 14 echo "$file : plain : title : Title" > $topdir/index.txt 15 echo ".. : dir : dir2 : parent directory" >> $topdir/index.txt 12 echo '<?php include "@HTDOCS@/www-util/dvodist.page.php"; ?>' > $topdir/index.mkd 13 14 echo "$file : plain : title : Title" >> $topdir/index.mkd 15 echo ".. : dir : dir2 : parent directory" >> $topdir/index.mkd 16 16 17 17 set N = 1 18 18 foreach entry ($topdir/*) 19 19 set file = `basename $entry` 20 if ("$file" == "index.php") continue 21 if ("$file" == "index.txt") continue 20 if ("$file" == "index.mkd") continue 22 21 23 22 if (-d $entry) then 24 echo " $file : dir : dir$N : directory" >> $topdir/index.txt23 echo "@ $file : dir : dir$N : directory" >> $topdir/index.mkd 25 24 endif 26 25 27 26 if (-f $entry) then 28 echo " $file : file : file$N : database file" >> $topdir/index.txt27 echo "@ $file : file : file$N : database file" >> $topdir/index.mkd 29 28 endif 30 29 -
branches/eam_branches/ipp-20130207/dvodist/src/generate
r34748 r35202 6 6 set htdocs = "" 7 7 set rootdir = "" 8 set rootwww = "" 8 9 set args = "" 9 10 set VERBOSE = 0 … … 25 26 else 26 27 set rootdir = `echo $1 | tr = ' ' | awk '{print $2}'` 28 endif 29 breaksw; 30 case --rootwww* 31 if ("$1" == "--rootwww") then 32 shift 33 set rootwww = $1 34 else 35 set rootwww = `echo $1 | tr = ' ' | awk '{print $2}'` 27 36 endif 28 37 breaksw; … … 47 56 echo "htdocs : $htdocs" 48 57 echo "rootdir: $rootdir" 58 echo "rootwww: $rootwww" 49 59 echo "input : $args[1]" 50 60 echo "output : $args[2]" … … 53 63 if ("$htdocs" == "") goto usage 54 64 if ("$rootdir" == "") goto usage 65 if ("$rootwww" == "") goto usage 55 66 56 cat $args[1] | sed "s|@HTDOCS@|$htdocs|" | sed "s|@ROOTDIR@|$rootdir|" > $args[2]67 cat $args[1] | sed "s|@HTDOCS@|$htdocs|" | sed "s|@ROOTDIR@|$rootdir|" | sed "s|@ROOTWWW@|$rootwww|" > $args[2] 57 68 exit 0 58 69 -
branches/eam_branches/ipp-20130207/dvodist/www-util/ipp.php
r34748 r35202 147 147 148 148 if (count($line) == 4) { 149 echo "count = 4<br>\n";150 149 $name = trim($line[0]); 151 150 $type = trim($line[1]); … … 155 154 } 156 155 if (count($line) == 5) { 157 echo "count = 5<br>\n";158 156 $name = trim($line[0]); 159 157 $link = trim($line[1]); … … 216 214 break; 217 215 case 'dir': 218 echo "<tr class=\"$style\"><td><a class=\"$style\" href=\"$ name\">$name</a></td><td>$info</td></tr>\n";216 echo "<tr class=\"$style\"><td><a class=\"$style\" href=\"$link\">$name</a></td><td>$info</td></tr>\n"; 219 217 break; 220 218 default: 221 echo "<tr class=\"$style\"><td><a class=\"$style\" href=\"$ name\">$name</a></td><td>$info</td></tr>\n";219 echo "<tr class=\"$style\"><td><a class=\"$style\" href=\"$link\">$name</a></td><td>$info</td></tr>\n"; 222 220 break; 223 221 } -
branches/eam_branches/ipp-20130207/dvodist/www-util/ippdata.menu.dat
r34748 r35202 8 8 9 9 menutop | menutop | plain | | 10 menutop | menuselect | link | DVO Releases| /index.php10 menutop | menuselect | link | PS1 Data Release | /index.php 11 11 menutop | menuselect | link | Documentation | /docs.php 12 12 menutop | menuselect | link | Help | /help.php
Note:
See TracChangeset
for help on using the changeset viewer.
