2010-04-10T09:06:00
A sub-registry for services within GAVO
Upload an RD for registration. To retrieve a record you or someone else
has uploaded, see \RSTservicelink{/gvo/q/upload/static}{Uploads}.
To see how to write an RD, see
\RSTservicelink{/gvo/q/upload/info}{the service info}.
XXX
XXX
XXX, X.; YYY, Y.
XXX
XXX
???
Catalog
Research
XXX
XXX
Here's a walkthrough what it all means:
```_,
a convenient way to to moderately fancy markup in a way that the source
remains fairly readable as plain text (this text is itself written in a
meta item with format="rst"). Here's an example how that would look like::
`_
] ]>
The meta items themselves are mainly defined in the
`Checklist for data providers `_
(and we should add things there as necessary).
Here are some additional comments:
:creationDate:
When was the resource created (actually, things are much more complicated,
but never mind)? This is an ISO time stamp with no time zone (UTC implied),
i.e., like 2010-04-10T09:06:00.
:creator:
Use a pattern like "Lastname, B.; Anothername, U." here.
:description:
If you must, you can have paragraphs in here using blank lines.
Formulae are only possible to the extent of sequences of unicode
characters (where it's certainly a good idea to remain within the BMP):
β+∫r dr=☕.
:subject:
repeat as often as desired, but use a new element every time, i.e.,::
Science
Superstition
:referenceURL:
You can leave this out. The DC-internal info page will then become
the reference URL. You can pep this up using a _longdoc meta (you're
just reading such a _longdoc meta), and that may be more convenient
than hacking some custom HTML. Talk to Markus if interested but unsure.
:type:
You can remove this if you don't want to give anything here. Values here
can be from a controlled vocabulary ; useful values allowed include
``Other``, ``Archive``, ``Catalog``, ``Simulation``, ``Survey``,
``Outreach``, ``Photographic``. Multiple values are written as for
subject.
:contentLevel:
You can remove this if you don't want to give anything here. Values here
can be from a controlled vocabulary that give who you intend the service to
use; useful values allowed include ``General``, ``University``, ``Research``,
``Amateur``, ``Informal Education`` (there's also some levels for schools,
but I'd consider them covered by "general"). Multiple values are work
as for subject.
```_ -- realistically, however,
you should probably just ask Markus.
Registering Educational Resources
=================================
For these, you'll want to use a different template::
resType: document
# EDIT: after the auth, just put the directory name in SVN (no trailing slash
identifier: ivo://edu.gavo.org/gavo_aladincalib
# EDIT: Rough datetime (UTC:-)
creationDate: 2014-09-24T08:00:00Z
# EDIT: Author(s); use Lastname, F., multiple names separated by an empty creator: line
creator: Rothmaier, F.; Demleitner, M.
# EDIT: Title (capitalised words are recommended)
title: Astrometric Calibration using Aladin
subject:Virtual observatory
subject:Tutorials
# EDIT: take additional subjects from http://www.ivoa.net/rdf/Vocabularies/vocabularies-20091007/IVOAT/IVOAT.html if possible, capitalise the first word, the rest should usually by lowercase
subject:Astrometric calibration
referenceURL:http://www.g-vo.org/pmwiki/Documents/Tutorials
sets:ivo_managed
# EDIT: one line with either of Research, General, Amateur
contentLevel: Amateur
contentLevel: Research
# EDIT: If you use a registred software or service, put that here.
uses: The ALADIN image server
uses.ivoid: ivo://cds.aladin/sia
# EDIT: sourceURI should point into a VCS
accessURL:http://www.g-vo.org/tutorials/astrometric-calib-aladin.pdf
sourceURI:http://svn.ari.uni-heidelberg.de/svn/edu/trunk/gavo_aladincalib
language: en
The VO client Aladin offers powerful facilities of creating an
astrometrical calibration to images lacking WCS (World Coordinate System)
information. This tutorial shows how to go about doing this for an
image of the Ring Nebula in Lyr.
]]>
Upload Resource Descriptors for GAVO Directory
res/response.html
data
res/listpage.html
GAVO inventory page
from gavo.registry import servicelist
return servicelist.getChunkedServiceList("gavo")
from gavo.registry import servicelist
return servicelist.querySubjectsList("gavo")
# this assumes an item of the subjectServiceList as data
return data["chunk"]
self.assertHTTPStatus(401)
upload/form
self.assertHasStrings("Service RD</label>")
foobarupload/form
self.assertHasStrings("Bad input",
"<strong>Service RD",
"syntax error: line 1, column 0)")
]]>upload/form
0 | ')
]]>
]]>upload/form
self.assertHasStrings("'procDef' is an illegal attribute")
A test service
2010-04-26T11:45:00
Testing
http://foo.bar
u
http://foo/bar
]]>upload/form
self.assertHasStrings("* Meta key description missing")
x
A test service
2010-04-26T11:45:00
Testing
http://foo.bar
u
http://foo/bar
]]>upload/form
1 | ')
]]>
self.assertHasStrings(
'"/gvo/data/testing_ignore/run/external">A test service')
x
A test service
2010-04-26T11:45:00
Testing
http://foo.bar
u
]]>upload/form
0 | ')
]]>
self.assertLacksStrings(
'"/gvo/data/testing_ignore/run/external">A test service')