2016-07-29T14:00:00
100
GAVO Historical Photographic Plate Archive GHPPA
astrophotography
history-of-astronomy
GAVO Data Center
GAVO's historical photographic plate archive (GHHPA) is a
collection of various digitized historical photographic
plates. It currently exposes:
* the scans of plates of selected Kapteyn special fields obtained
at Potsdam
* the Palomar-Leiden Trojan surveys, 1960-1977,
* a collection of plates obtained at Boyden Station, South Africa,
kept at various German observatories.
Other plate collections kept by GAVO include the Heidelberg
Digitized Astronomical Plates HDAP,
ivo://org.gavo.dc/lswscans/res/positions/siap, and the APPLAUSE
database from Potsdam.
True
dl
pub_did
application/x-votable+xml;content=datalink
Datalink
CREATE VIEW \qName AS
SELECT \reSub{, datalink_url}{}{\colNames},
'\getConfig{web}{serverURL}/kapteyn/q/dl/dlmeta?ID='
|| gavo_urlescape(pub_did) as datalink_url FROM kapteyn.plates
UNION ALL
SELECT \colNames FROM boydende.data
UNION ALL
SELECT \reSub{, datalink_url}{}{\colNames},
accref AS datalink_url FROM plts.data
UNION ALL
SELECT \colNames FROM flare_survey.data
HPPIA Datalink
This is just a dispatcher to the datalink
services on the individual services.
"pub_did"
"\schema.main"
descriptor = FromrowDescriptor.fromDB(pubDID, tableName, idColumn)
dest_url = descriptor.metadata["datalink_url"]
if dest_url is None:
raise svcs.NotFound(f"No datalink known for {pubDID}")
raise svcs.Found(dest_url)
hpp_web
Historical Photographic Plate Image Archive
Pointed
im/siap.xml
row = self.getFirstVOTableRow()
self.assertEqual(row["object"], "Circinus Field I")
self.assertTrue(row["accref"].endswith(
"boydende/data/fits/HAR081_007020.fits"), "accref wrong")
self.assertTrue(row["accref"].startswith("http://"),
"accref not morphed")
self.assertTrue(row["datalink_url"].endswith(
"/boydende/q/dl/dlmeta?ID="
"ivo%3A//org.gavo.dc/~%3Fboydende/data/fits/HAR081_007020.fits"),
"datalink URL wrong.")
im/siap.xml
row = self.getFirstVOTableRow()
self.assertEqual(row["instId"],
"Zeiss Triplet 15 cm Potsdam-Telegrafenberg")
self.assertTrue("/kapteyn/q/dl/dlmeta?ID=" in row["datalink_url"])
# redirect URL to local site
self.followUp.url.content_ = row["datalink_url"]
overridden in the previous test
bySemantics = dict((r["semantics"], r) for r in self.getVOTableRows())
self.assertEqual(
bySemantics["#this"]["description"],
"The full dataset.")
self.assertEqual(
bySemantics["#preview"]["content_type"],
"image/jpeg")
self.assertEqual(
bySemantics["#preview-image"]["description"],
"Low-res photo with plate borders.")
self.assertEqual(
bySemantics["#proc"]["service_def"],
"proc_svc")
dl/dlmeta
bySemantics = dict((r["semantics"], r)
for r in self.getVOTableRows())
self.assertEqual(bySemantics["#preview"]["access_url"],
EqualingRE(r"http.*/getproduct/flare_survey/data/plates/ESO040_004362.fits\\?preview=True"))