2015-02-18T15:55:00Z
100
Wide-Field Plate Database WFPDB
Tsvetkov, M.K.; Stavrev, K.Y.; Tsvetkova, K.P.; Mutafov, A.S.;
Semkov, E.H.; Kalaglarsky, D.
The Wide-Field Plate Database (WFPDB_) contains the descriptive information
for the astronomical wide-field (>1°) photographic observations stored in
numerous archives all over the world. The total number of these
observations, obtained since the end of the 19th century with more
then 200 instruments (telescopes) is about 2 550 000 from 509 archives.
The WFPDB is continually being updated, providing currently access to the
information for about 640 000 plates from 117 plate archives (30% of the
estimated total number of wide-field plates)
.. _WFPDB: http://www.skyarchive.org/
1995LNP...454..412T
astrophotography
history-of-astronomy
Optical
WFPDB Archives Table
A table of plate archives included in the WFPDB or scheduled
for inclusion, as well as the properties of the instruments
used to take the data.
("%s_%s%s"%(@instr_id, @arch_part, @site_code)).strip()
//scs#pgs-pos-index
WFPDB TAP-queriable Table
WFPDB's table of plates, including position observed and the
epoch of observation.
The identifier in the WFPDB is a string unique for each plate.
For information, it is currently formed as:
* 3 characters observatory identifier
* 3 characters instrument aperture
* 1 character suffix for disambiguation or similar
* 6 characters plate number
* 1 character plate suffix
This structure is not guaranteed, and it is unwise to rely on
it in queries.
Positions are from the observatory logs where a plate solution is not
available. They are taken from empirical plate solutions otherwise.
0 120579
0/0-11
A helper table for building WFPDB's main.
A helper table for building WFPDB's main.
A helper table for building WFPDB's main.
A helper table for building WFPDB's main.
A helper table for building WFPDB's main.
Sets destCol from the srcCol field of the entry for dataCol
in the primary table we get from importing srcData.
We need this as WFPDB has split the content of its main tables
over several files.
from gavo import rsc
@utils.memoized
def getTable():
return rsc.makeData(rd.getById(srcId)
).getPrimaryTable()
try:
vars[dataCol] = getTable().getRow(vars[srcCol])[dataCol]
except KeyError:
vars[dataCol] = None
WFPDB is quite inconsistent in its use of null values.
We're trying to cope here by converting, in vars,
a number of different strings to None
frozenset(["NIL", "None", ""])
if vars[colName] in nullLiterals:
vars[colName] = None
wfpdbid: 1-14
instr_id: 1-7
plateid: 8-14
raj2000:15-20
dej2000:21-27
coord_problem:28
epoch:29-42
time_problem: 43
object: 44-63
object_type: 64-65
method: 66-67
multex: 68-69
exptime: 70- 75
emulsion: 76-86
filter: 87- 93
waveband: 94- 95
xsize: 96- 97
ysize: 98- 99
"%-7s%6s"%(@instr_id, @plateid)
{
"E": "Coordinates wrong",
"M": "Coordinates missing",
"U": "Coordinates uncertain"}
None
"coord_problem"
{
"E": "Epoch error",
"M": "Epoch missing",
"U": "Epoch uncertain"}
None
"time_problem"
{
"A1": "planet",
"A2": "moon",
"A3": "sun",
"A4": "asteroid",
"A5": "comet",
"S1": "star",
"S2": "double star",
"S3": "variable star",
"S4": "star cluster",
"S5": "HII region",
"S6": "nebula",
"S7": "planetary nebula",
"S8": "supernova",
"S9": "fundamental star",
"SR": "reference star around a radio source",
"G1": "galaxy",
"G2": "QSO",
"G3": "group of galaxies",
"G4": "cluster of galaxies",
"G5": "supercluster",
"G6": "void",
"F": "field",}
None
"object_type"
{
"1": "direct photograph",
"2": "direct photograph, multiexposure",
"3": "stellar tracks",
"4": "objective prism",
"5": "objective prism, multiexposure",
"6": "Metcalf's method",
"7": "proper motions",
"8": "no guiding",
"9": "out of focus",
"10": "test plate",
"11": "Hartmann test",
"12": "with mask",
"14": "sub-beam (Pickering) prism",
"24": "objective grating",}
None
"method"
try:
@epoch = dateTimeToJYear(
parseTimestamp(@epoch, "%Y%m%d%H%M%S"))
except ValueError:
try:
@epoch = dateTimeToJYear(
parseTimestamp(@epoch, "%Y%m%d"))
except ValueError:
try:
@epoch = dateTimeToJYear(
parseTimestamp(@epoch, "%Y%m"))
except ValueError:
@epoch = None
"wfpdbid"
"\item"
"import_\item"
"\item"
wfpdbid: 1-14
observer: 16-57
wfpdbid: 1-14
quality: 16-80
wfpdbid: 1-14
availability: 16-246
wfpdbid: 1-14
digitization: 16-246
# continuation lines, my ass
with open(self.sourceToken, encoding="cp1251") as f:
lines = iter(f)
ln = next(lines)
lastId, notes = ln[:13].strip(), ln[15:].strip()
for ln in lines:
id = ln[:13].strip()
if lastId==id:
notes = notes+"\n"+ln[15:].strip()
else:
yield {"wfpdbid": lastId, "notes": notes}
notes = ln[15:].strip()
lastId = id
yield {"wfpdbid": lastId, "notes": notes}
shortName: wfpdb cone
testQuery.ra: 0
testQuery.dec: 0
testQuery.sr: 1
http://skyarchive.org/
cone/scs.xml
row = self.getFirstVOTableRow()
self.assertEqual(row["object"], "POLAR REGION HA+-15M")
self.assertEqual(row["emulsion"], "IIaO")
self.assertEqual(row["exptime"], 1800.0)
self.assertEqual(row["time_problem"], "Epoch missing")