voruby 1.1.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile.rb +107 -224
- data/lib/misc.rb +1 -0
- data/lib/misc/misc.rb +60 -0
- data/lib/misc/propertyfile.rb +31 -0
- data/lib/symphony.rb +1 -0
- data/lib/symphony/symphony.rb +247 -0
- data/lib/voruby.rb +186 -0
- data/lib/voruby/active_votable/active_votable.rb +468 -347
- data/lib/voruby/adql/1.0/adql.rb +2418 -0
- data/lib/voruby/adql/support.rb +2 -0
- data/lib/voruby/misc.rb +351 -0
- data/lib/voruby/misc/connection_monitor.rb +97 -0
- data/lib/voruby/misc/libxml_ext.rb +121 -0
- data/lib/voruby/misc/rexml_ext.rb +223 -0
- data/lib/voruby/resolver/resolver.rb +12 -0
- data/lib/voruby/resolver/sesame.rb +299 -0
- data/lib/voruby/sky_query/sky_query.rb +192 -0
- data/lib/voruby/stc/1.10/coords.rb +2272 -0
- data/lib/voruby/stc/1.10/region.rb +892 -0
- data/lib/voruby/stc/1.10/stc.rb +3271 -0
- data/lib/voruby/stc/1.30/stc.rb +8666 -0
- data/lib/voruby/stc/support.rb +2 -0
- data/lib/voruby/ucd/ucd.rb +173 -0
- data/lib/voruby/voevent/1.1/voevent.rb +1124 -0
- data/lib/voruby/voevent/support.rb +5 -0
- data/lib/voruby/votable/1.0/votable.rb +1807 -0
- data/lib/voruby/votable/1.1/votable.rb +2100 -0
- data/lib/voruby/votable/votable.rb +305 -0
- data/lib/voruby/wesix/wesix.rb +491 -0
- data/lib/voruby/xlink/1.2/xlink.rb +21 -0
- data/test/voruby/active_votable/complex.vot +60 -0
- data/test/voruby/active_votable/error.vot +6 -0
- data/test/voruby/active_votable/large.vot +130040 -0
- data/test/voruby/active_votable/simple1.vot +38 -0
- data/test/voruby/active_votable/simple2.vot +38 -0
- data/test/voruby/active_votable/test.rb +193 -0
- data/test/voruby/adql/1.0/adql-alias.sql +1 -0
- data/test/voruby/adql/1.0/adql-alias.xml +26 -0
- data/test/voruby/adql/1.0/adql-avg.sql +1 -0
- data/test/voruby/adql/1.0/adql-avg.xml +31 -0
- data/test/voruby/adql/1.0/adql-circle.sql +1 -0
- data/test/voruby/adql/1.0/adql-circle.xml +46 -0
- data/test/voruby/adql/1.0/adql-expr.sql +1 -0
- data/test/voruby/adql/1.0/adql-expr.xml +34 -0
- data/test/voruby/adql/1.0/adql-function.sql +1 -0
- data/test/voruby/adql/1.0/adql-function.xml +41 -0
- data/test/voruby/adql/1.0/adql-group.sql +1 -0
- data/test/voruby/adql/1.0/adql-group.xml +51 -0
- data/test/voruby/adql/1.0/adql-having.sql +1 -0
- data/test/voruby/adql/1.0/adql-having.xml +25 -0
- data/test/voruby/adql/1.0/adql-like.sql +1 -0
- data/test/voruby/adql/1.0/adql-like.xml +17 -0
- data/test/voruby/adql/1.0/adql-order.sql +1 -0
- data/test/voruby/adql/1.0/adql-order.xml +37 -0
- data/test/voruby/adql/1.0/adql-simple.sql +1 -0
- data/test/voruby/adql/1.0/adql-simple.xml +12 -0
- data/test/voruby/adql/1.0/adql-top.sql +1 -0
- data/test/voruby/adql/1.0/adql-top.xml +33 -0
- data/test/voruby/adql/1.0/test.rb +2220 -0
- data/test/voruby/misc/test.rb +32 -0
- data/test/voruby/resolver/sesame/test.rb +56 -0
- data/test/voruby/sky_query/test.rb +107 -0
- data/test/voruby/stc/1.10/coords_test.rb +3704 -0
- data/test/voruby/stc/1.10/region_test.rb +993 -0
- data/test/voruby/stc/1.10/stc-catalog-entry-location.xml +112 -0
- data/test/voruby/stc/1.10/stc-obs-data-location.xml +126 -0
- data/test/voruby/stc/1.10/stc-region-circle.xml +5 -0
- data/test/voruby/stc/1.10/stc-region-convex.xml +11 -0
- data/test/voruby/stc/1.10/stc-region-convexhull.xml +5 -0
- data/test/voruby/stc/1.10/stc-region-ellipse.xml +7 -0
- data/test/voruby/stc/1.10/stc-region-intersection.xml +25 -0
- data/test/voruby/stc/1.10/stc-region-negation.xml +7 -0
- data/test/voruby/stc/1.10/stc-region-polygon.xml +13 -0
- data/test/voruby/stc/1.10/stc-region-sector.xml +6 -0
- data/test/voruby/stc/1.10/stc-region-union.xml +25 -0
- data/test/voruby/stc/1.10/stc-resource-profile.xml +60 -0
- data/test/voruby/stc/1.10/stc-search-location.xml +54 -0
- data/test/voruby/stc/1.10/stc_test.rb +4626 -0
- data/test/voruby/stc/1.30/stc-catalog-entry-location.xml +210 -0
- data/test/voruby/stc/1.30/stc-obs-data-location-arecibo.xml +353 -0
- data/test/voruby/stc/1.30/stc-obs-data-location-fits.xml +250 -0
- data/test/voruby/stc/1.30/stc-obs-data-location-xlink.xml +63 -0
- data/test/voruby/stc/1.30/stc-obs-data-location.xml +216 -0
- data/test/voruby/stc/1.30/stc-resource-profile-unusual-ref-pos.xml +39 -0
- data/test/voruby/stc/1.30/stc-resource-profile.xml +129 -0
- data/test/voruby/stc/1.30/stc-search-location-arecibo.xml +86 -0
- data/test/voruby/stc/1.30/stc-search-location.xml +101 -0
- data/test/voruby/stc/1.30/test.rb +6274 -0
- data/test/voruby/ucd/test.rb +48 -0
- data/test/voruby/voevent/1.1/test.rb +812 -0
- data/test/{voevent/voevent_v1_1.xml → voruby/voevent/1.1/voevent.xml} +2 -2
- data/test/voruby/voregistry/0.3/test.rb +137 -0
- data/test/voruby/votable/1.0/test.rb +714 -0
- data/test/voruby/votable/1.0/votable.basic.xml +660 -0
- data/test/voruby/votable/1.0/votable.html +86 -0
- data/test/voruby/votable/1.0/votable.ns.xml +56 -0
- data/test/voruby/votable/1.1/test.rb +785 -0
- data/test/voruby/votable/1.1/votable.basic.xml +38 -0
- data/test/voruby/votable/1.1/votable.html +86 -0
- data/test/voruby/votable/1.1/votable.ns.xml +56 -0
- data/test/voruby/votable/test.rb +15 -0
- data/test/voruby/wesix/test.rb +268 -0
- data/test/voruby/wesix/testr.fits +28 -0
- metadata +234 -247
- data/REQUIREMENTS +0 -6
- data/lib/voruby/active_votable/loader.rb +0 -5
- data/lib/voruby/adql/adql.rb +0 -2787
- data/lib/voruby/adql/ext.rb +0 -14
- data/lib/voruby/adql/loader.rb +0 -6
- data/lib/voruby/adql/operations.rb +0 -54
- data/lib/voruby/adql/parser.rb +0 -160
- data/lib/voruby/adql/transforms.rb +0 -573
- data/lib/voruby/ext.rb +0 -17
- data/lib/voruby/loader.rb +0 -4
- data/lib/voruby/misc/propertyfile.rb +0 -36
- data/lib/voruby/plastic/applications.rb +0 -174
- data/lib/voruby/plastic/constants.rb +0 -30
- data/lib/voruby/plastic/loader.rb +0 -10
- data/lib/voruby/plastic/plastic.rb +0 -1
- data/lib/voruby/resources/conesearch/conesearch.rb +0 -9
- data/lib/voruby/resources/conesearch/conesearch_v0_2.rb +0 -55
- data/lib/voruby/resources/conesearch/conesearch_v0_3.rb +0 -50
- data/lib/voruby/resources/conesearch/conesearch_v1_0.rb +0 -72
- data/lib/voruby/resources/conesearch/loader.rb +0 -4
- data/lib/voruby/resources/loader.rb +0 -50
- data/lib/voruby/resources/nodes.rb +0 -190
- data/lib/voruby/resources/openskynode/loader.rb +0 -4
- data/lib/voruby/resources/openskynode/openskynode.rb +0 -9
- data/lib/voruby/resources/openskynode/openskynode_v0_1.rb +0 -54
- data/lib/voruby/resources/sia/loader.rb +0 -5
- data/lib/voruby/resources/sia/sia.rb +0 -9
- data/lib/voruby/resources/sia/sia_v0_6.rb +0 -90
- data/lib/voruby/resources/sia/sia_v0_7.rb +0 -89
- data/lib/voruby/resources/sia/sia_v1_0.rb +0 -122
- data/lib/voruby/resources/stsci.rb +0 -59
- data/lib/voruby/resources/vodataservice/coverage_v0_2.rb +0 -195
- data/lib/voruby/resources/vodataservice/coverage_v0_3.rb +0 -158
- data/lib/voruby/resources/vodataservice/loader.rb +0 -5
- data/lib/voruby/resources/vodataservice/vodataservice.rb +0 -9
- data/lib/voruby/resources/vodataservice/vodataservice_v0_4.rb +0 -189
- data/lib/voruby/resources/vodataservice/vodataservice_v0_5.rb +0 -163
- data/lib/voruby/resources/vodataservice/vodataservice_v1_0.rb +0 -221
- data/lib/voruby/resources/voregistry/loader.rb +0 -4
- data/lib/voruby/resources/voregistry/voregistry.rb +0 -9
- data/lib/voruby/resources/voregistry/voregistry_v0_2.rb +0 -40
- data/lib/voruby/resources/voregistry/voregistry_v0_3.rb +0 -30
- data/lib/voruby/resources/voregistry/voregistry_v1_0.rb +0 -86
- data/lib/voruby/resources/voresource/loader.rb +0 -17
- data/lib/voruby/resources/voresource/voresource.rb +0 -9
- data/lib/voruby/resources/voresource/voresource_v0_10.rb +0 -327
- data/lib/voruby/resources/voresource/voresource_v0_9.rb +0 -405
- data/lib/voruby/resources/voresource/voresource_v1_0.rb +0 -230
- data/lib/voruby/services/ext.rb +0 -11
- data/lib/voruby/services/gestalt/footprint.rb +0 -95
- data/lib/voruby/services/gestalt/wcs_fixer.rb +0 -105
- data/lib/voruby/services/gestalt/wesix.rb +0 -155
- data/lib/voruby/services/loader.rb +0 -7
- data/lib/voruby/services/registry/registry.rb +0 -53
- data/lib/voruby/services/resolver/resolver.rb +0 -35
- data/lib/voruby/services/schema/schema.rb +0 -644
- data/lib/voruby/sesame/loader.rb +0 -6
- data/lib/voruby/sesame/sesame_v1_0.rb +0 -64
- data/lib/voruby/simple/loader.rb +0 -6
- data/lib/voruby/simple/parameters.rb +0 -196
- data/lib/voruby/simple/sap.rb +0 -446
- data/lib/voruby/spacetime/loader.rb +0 -3
- data/lib/voruby/spacetime/spacetime.rb +0 -607
- data/lib/voruby/stc/coords_v1_20.rb +0 -900
- data/lib/voruby/stc/loader.rb +0 -55
- data/lib/voruby/stc/region_v1_20.rb +0 -274
- data/lib/voruby/stc/stc_v1_20.rb +0 -1196
- data/lib/voruby/util.rb +0 -27
- data/lib/voruby/voevent/loader.rb +0 -7
- data/lib/voruby/voevent/voevent_v1_0.rb +0 -213
- data/lib/voruby/voevent/voevent_v1_1.rb +0 -196
- data/lib/voruby/votables/chandra.rb +0 -373
- data/lib/voruby/votables/data.rb +0 -179
- data/lib/voruby/votables/galex.rb +0 -377
- data/lib/voruby/votables/int.rb +0 -354
- data/lib/voruby/votables/libxml_parser.rb +0 -411
- data/lib/voruby/votables/libxml_votable.rb +0 -67
- data/lib/voruby/votables/loader.rb +0 -10
- data/lib/voruby/votables/meta.rb +0 -763
- data/lib/voruby/votables/misc.rb +0 -51
- data/lib/voruby/votables/nsa.rb +0 -410
- data/lib/voruby/votables/rexml_parser.rb +0 -408
- data/lib/voruby/votables/rexml_votable.rb +0 -67
- data/lib/voruby/votables/sdss.rb +0 -356
- data/lib/voruby/votables/transforms.rb +0 -388
- data/lib/voruby/votables/tree.rb +0 -45
- data/lib/voruby/votables/types.rb +0 -391
- data/lib/voruby/votables/votable.rb +0 -687
- data/test/active_votable/database.yml +0 -6
- data/test/active_votable/test.vot +0 -168492
- data/test/active_votable/unittest.rb +0 -41
- data/test/adql/test1.adql +0 -49
- data/test/adql/test2.adql +0 -51
- data/test/adql/test3.adql +0 -81
- data/test/adql/test4.adql +0 -53
- data/test/adql/test5.adql +0 -55
- data/test/adql/test6.adql +0 -18
- data/test/adql/test7.adql +0 -48
- data/test/adql/unittest.rb +0 -1672
- data/test/plastic/test.rb +0 -44
- data/test/plastic/test.vot +0 -5385
- data/test/plastic/unittest.rb +0 -66
- data/test/resources/conesearch/conesearch_v0_3.xml +0 -31
- data/test/resources/conesearch/conesearch_v1_0.xml +0 -86
- data/test/resources/conesearch/unittest_v0_3.rb +0 -22
- data/test/resources/conesearch/unittest_v1_0.rb +0 -24
- data/test/resources/openskynode/open_sky_node_v0_1.xml +0 -32
- data/test/resources/openskynode/unittest_v0_1.rb +0 -31
- data/test/resources/sia/simple_image_access_v0_7.xml +0 -36
- data/test/resources/sia/simple_image_access_v1_0.xml +0 -122
- data/test/resources/sia/unittest_v0_7.rb +0 -24
- data/test/resources/sia/unittest_v1_0.rb +0 -29
- data/test/resources/stsci.xml +0 -336
- data/test/resources/unittest_stsci.rb +0 -25
- data/test/resources/vodataservice/catalog_service_resource_v1_0.xml +0 -128
- data/test/resources/vodataservice/data_collection_resource_v0_5.xml +0 -54
- data/test/resources/vodataservice/data_collection_resource_v1_0.xml +0 -117
- data/test/resources/vodataservice/data_service_resource_v1_0.xml +0 -115
- data/test/resources/vodataservice/sky_service_resource_v0_10.xml +0 -45
- data/test/resources/vodataservice/table_service_resource_v1_0.xml +0 -122
- data/test/resources/vodataservice/tabular_sky_service_resource_v0_10.xml +0 -60
- data/test/resources/vodataservice/unittest_v0_5.rb +0 -126
- data/test/resources/vodataservice/unittest_v1_0.rb +0 -151
- data/test/resources/voregistry/authority_resource_v0_3.xml +0 -20
- data/test/resources/voregistry/authority_resource_v1_0.xml +0 -82
- data/test/resources/voregistry/registry_service_v0_3.xml +0 -20
- data/test/resources/voregistry/registry_service_v1_0.xml +0 -107
- data/test/resources/voregistry/unittest_v0_3.rb +0 -31
- data/test/resources/voregistry/unittest_v1_0.rb +0 -34
- data/test/resources/voresource/organisation_resource_v1_0.xml +0 -90
- data/test/resources/voresource/resource_organisation_v0_10.xml +0 -22
- data/test/resources/voresource/resource_service_v0_10.xml +0 -19
- data/test/resources/voresource/resource_v0_10.xml +0 -19
- data/test/resources/voresource/resource_v1_0.xml +0 -79
- data/test/resources/voresource/service_resource_v1_0.xml +0 -91
- data/test/resources/voresource/unittest_v0_10.rb +0 -61
- data/test/resources/voresource/unittest_v0_9.rb +0 -4
- data/test/resources/voresource/unittest_v1_0.rb +0 -190
- data/test/services/gestalt/unittest.rb +0 -74
- data/test/services/registry/unittest.rb +0 -34
- data/test/services/resolver/unittest.rb +0 -38
- data/test/simple/unittest.rb +0 -46
- data/test/spacetime/unittest.rb +0 -39
- data/test/stc/catalog_entry_location_v1_20.xml +0 -112
- data/test/stc/obs_data_location_v1_20.xml +0 -108
- data/test/stc/search_location_v1_20.xml +0 -54
- data/test/stc/stc_resource_profile_v1_20.xml +0 -60
- data/test/stc/unittest_v1_20.rb +0 -620
- data/test/voevent/unittest_v1_0.rb +0 -79
- data/test/voevent/unittest_v1_1.rb +0 -70
- data/test/voevent/voevent_v1_0.xml +0 -96
- data/test/votables/test.vot +0 -366
- data/test/votables/unittest.rb +0 -54
@@ -1,107 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<resource xsi:type="Service"
|
3
|
-
xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
|
4
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
-
xsi:schemaLocation="http://www.ivoa.net/xml/VOResource/v1.0
|
6
|
-
http://www.ivoa.net/xml/VOResource/v1.0"
|
7
|
-
created="2006-08-14T08:00:00"
|
8
|
-
updated="2006-08-14T13:26:00">
|
9
|
-
|
10
|
-
<full>false</full>
|
11
|
-
|
12
|
-
<managedAuthority>STScI</managedAuthority>
|
13
|
-
|
14
|
-
<validationLevel validatedBy="ivo://noao.edu/">2</validationLevel>
|
15
|
-
<validationLevel validatedBy="ivo://ncsa.uiuc.edu/">3</validationLevel>
|
16
|
-
|
17
|
-
<title>NCSA Radio Astronomy Imaging</title>
|
18
|
-
<shortName>NCSA-RAI</shortName>
|
19
|
-
<identifier>ivo://rai.ncsa/RAI</identifier>
|
20
|
-
|
21
|
-
<curation>
|
22
|
-
<publisher ivo-id="ivo://ncsa.uiuc/NCSA">
|
23
|
-
National Center for Supercomputing Applications
|
24
|
-
</publisher>
|
25
|
-
<creator>
|
26
|
-
<name> Dr. Richard Crutcher </name>
|
27
|
-
<logo>
|
28
|
-
http://rai.ncsa.uiuc.edu/rai.jpg
|
29
|
-
</logo>
|
30
|
-
</creator>
|
31
|
-
<creator>
|
32
|
-
<name> David Gasson </name>
|
33
|
-
<logo>
|
34
|
-
http://www.noao.edu/rai.jpg
|
35
|
-
</logo>
|
36
|
-
</creator>
|
37
|
-
<contributor>Dave Bell</contributor>
|
38
|
-
<contributor>Chris Miller</contributor>
|
39
|
-
<date>1993-01-01T02:34:45</date>
|
40
|
-
<date>2006-08-14T12:25:23</date>
|
41
|
-
<version>1.1</version>
|
42
|
-
<contact>
|
43
|
-
<name>Dr. Raymond Plante</name>
|
44
|
-
<email>rplante@ncsa.uiuc.edu</email>
|
45
|
-
</contact>
|
46
|
-
<contact>
|
47
|
-
<name>David Gasson</name>
|
48
|
-
<email>dgasson@noao.edu</email>
|
49
|
-
<address>950 N. Cherry Avenue, Tucson, AZ 85719 USA</address>
|
50
|
-
<telephone>+1-520-318-8381</telephone>
|
51
|
-
</contact>
|
52
|
-
</curation>
|
53
|
-
|
54
|
-
<content>
|
55
|
-
<subject>radio astronomy</subject>
|
56
|
-
<subject>data repositories</subject>
|
57
|
-
<subject>digital libraries</subject>
|
58
|
-
<subject>grid-based processing</subject>
|
59
|
-
<description>
|
60
|
-
The Radio Astronomy Imaging Group at the National Center for
|
61
|
-
Supercomputing Applications is focused on applying
|
62
|
-
high-performance computing to astronomical research. Our
|
63
|
-
projects include the NCSA Astronomy Digital Image Library,
|
64
|
-
the BIMA Data Archive, the BIMA Image Pipeline, and the
|
65
|
-
National Virtual Observatory.
|
66
|
-
</description>
|
67
|
-
<referenceURL>http://rai.ncsa.uiuc.edu/</referenceURL>
|
68
|
-
<source format="bibcode">1989ApJ...342L..71R</source>
|
69
|
-
<type>Organisation</type>
|
70
|
-
<type>Archive</type>
|
71
|
-
<type>Survey</type>
|
72
|
-
<contentLevel>Elementary Education</contentLevel>
|
73
|
-
<contentLevel>Middle School Education</contentLevel>
|
74
|
-
<contentLevel>General</contentLevel>
|
75
|
-
<relationship>
|
76
|
-
<relationshipType>Relationship 1</relationshipType>
|
77
|
-
<relatedResource>http://blah</relatedResource>
|
78
|
-
<relatedResource>http://blah2</relatedResource>
|
79
|
-
</relationship>
|
80
|
-
<relationship>
|
81
|
-
<relationshipType>Relationship 2</relationshipType>
|
82
|
-
<relatedResource>http://blah3</relatedResource>
|
83
|
-
</relationship>
|
84
|
-
</content>
|
85
|
-
|
86
|
-
<rights>secure</rights>
|
87
|
-
<rights>public</rights>
|
88
|
-
|
89
|
-
<capability>
|
90
|
-
<validationLevel validatedBy="ivo://noao.edu/">1</validationLevel>
|
91
|
-
<validationLevel validatedBy="ivo://ncsa.uiuc.edu/">3</validationLevel>
|
92
|
-
<description>This is a fake capability signifying nothing.</description>
|
93
|
-
<interface xsi:type="vr:WebBrowser" role="std" version="1.1">
|
94
|
-
<accessURL use="base">www.noao.edu</accessURL>
|
95
|
-
<accessURL>http://nsa.noao.edu/</accessURL>
|
96
|
-
<securityMethod standardID="ivo://representative/security_uri/" />
|
97
|
-
<securityMethod standardID="ivo://representative/security_uri/2/" />
|
98
|
-
</interface>
|
99
|
-
<interface xsi:type="vr:WebService" role="std" version="1.1">
|
100
|
-
<accessURL use="base">www.noao.edu</accessURL>
|
101
|
-
<accessURL>http://nsa.noao.edu/</accessURL>
|
102
|
-
<securityMethod standardID="ivo://representative/security_uri/" />
|
103
|
-
<securityMethod standardID="ivo://representative/security_uri/2/" />
|
104
|
-
<wsdlURL>http://www.noao.edu?wsdl</wsdlURL>
|
105
|
-
</interface>
|
106
|
-
</capability>
|
107
|
-
</resource>
|
@@ -1,31 +0,0 @@
|
|
1
|
-
require 'test/unit'
|
2
|
-
require 'voruby/resources/voregistry/voregistry_v0_3'
|
3
|
-
|
4
|
-
require 'test/resources/voresource/unittest_v0_10'
|
5
|
-
|
6
|
-
include VORuby::Resources::VOResource::V0_10
|
7
|
-
include VORuby::Resources::VORegistry::V0_3
|
8
|
-
|
9
|
-
class RegistryTest < ServiceTest
|
10
|
-
def setup
|
11
|
-
assert_nothing_raised {
|
12
|
-
@res = Registry.load_from_file('test/resources/voregistry/registry_service_v0_3.xml')
|
13
|
-
}
|
14
|
-
end
|
15
|
-
|
16
|
-
def test_managed_authorities
|
17
|
-
assert_equal('CDS', @res.managed_authorities[0].value)
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
class AuthorityTest < ResourceTest
|
22
|
-
def setup
|
23
|
-
assert_nothing_raised {
|
24
|
-
@res = Authority.load_from_file('test/resources/voregistry/authority_resource_v0_3.xml')
|
25
|
-
}
|
26
|
-
end
|
27
|
-
|
28
|
-
def test_managing_org
|
29
|
-
assert_equal('CDS', @res.managing_org.value)
|
30
|
-
end
|
31
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
require 'test/unit'
|
2
|
-
require 'voruby/resources/voregistry/voregistry_v1_0'
|
3
|
-
|
4
|
-
require 'test/resources/voresource/unittest_v1_0'
|
5
|
-
|
6
|
-
include VORuby::Resources::VORegistry::V1_0
|
7
|
-
|
8
|
-
class RegistryTest < ServiceTest
|
9
|
-
def setup
|
10
|
-
assert_nothing_raised {
|
11
|
-
@res = Registry.load_from_file('test/resources/voregistry/registry_service_v1_0.xml')
|
12
|
-
}
|
13
|
-
end
|
14
|
-
|
15
|
-
def test_full
|
16
|
-
assert_equal(false, @res.full)
|
17
|
-
end
|
18
|
-
|
19
|
-
def test_managed_authorities
|
20
|
-
assert_equal('STScI', @res.managed_authorities[0].value)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
class AuthorityTest < ResourceTest
|
25
|
-
def setup
|
26
|
-
assert_nothing_raised {
|
27
|
-
@res = Authority.load_from_file('test/resources/voregistry/authority_resource_v1_0.xml')
|
28
|
-
}
|
29
|
-
end
|
30
|
-
|
31
|
-
def test_managing_org
|
32
|
-
assert_equal('STScI', @res.managing_org.value)
|
33
|
-
end
|
34
|
-
end
|
@@ -1,90 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<resource xsi:type="Organisation"
|
3
|
-
xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
|
4
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
-
xsi:schemaLocation="http://www.ivoa.net/xml/VOResource/v1.0
|
6
|
-
http://www.ivoa.net/xml/VOResource/v1.0"
|
7
|
-
created="2006-08-14T08:00:00"
|
8
|
-
updated="2006-08-14T13:26:00">
|
9
|
-
|
10
|
-
<validationLevel validatedBy="ivo://noao.edu/">2</validationLevel>
|
11
|
-
<validationLevel validatedBy="ivo://ncsa.uiuc.edu/">3</validationLevel>
|
12
|
-
|
13
|
-
<title>NCSA Radio Astronomy Imaging</title>
|
14
|
-
<shortName>NCSA-RAI</shortName>
|
15
|
-
<identifier>ivo://rai.ncsa/RAI</identifier>
|
16
|
-
|
17
|
-
<curation>
|
18
|
-
<publisher ivo-id="ivo://ncsa.uiuc/NCSA">
|
19
|
-
National Center for Supercomputing Applications
|
20
|
-
</publisher>
|
21
|
-
<creator>
|
22
|
-
<name> Dr. Richard Crutcher </name>
|
23
|
-
<logo>
|
24
|
-
http://rai.ncsa.uiuc.edu/rai.jpg
|
25
|
-
</logo>
|
26
|
-
</creator>
|
27
|
-
<creator>
|
28
|
-
<name> David Gasson </name>
|
29
|
-
<logo>
|
30
|
-
http://www.noao.edu/rai.jpg
|
31
|
-
</logo>
|
32
|
-
</creator>
|
33
|
-
<contributor>Dave Bell</contributor>
|
34
|
-
<contributor>Chris Miller</contributor>
|
35
|
-
<date>1993-01-01T02:34:45</date>
|
36
|
-
<date>2006-08-14T12:25:23</date>
|
37
|
-
<version>1.1</version>
|
38
|
-
<contact>
|
39
|
-
<name>Dr. Raymond Plante</name>
|
40
|
-
<email>rplante@ncsa.uiuc.edu</email>
|
41
|
-
</contact>
|
42
|
-
<contact>
|
43
|
-
<name>David Gasson</name>
|
44
|
-
<email>dgasson@noao.edu</email>
|
45
|
-
<address>950 N. Cherry Avenue, Tucson, AZ 85719 USA</address>
|
46
|
-
<telephone>+1-520-318-8381</telephone>
|
47
|
-
</contact>
|
48
|
-
</curation>
|
49
|
-
|
50
|
-
<content>
|
51
|
-
<subject>radio astronomy</subject>
|
52
|
-
<subject>data repositories</subject>
|
53
|
-
<subject>digital libraries</subject>
|
54
|
-
<subject>grid-based processing</subject>
|
55
|
-
<description>
|
56
|
-
The Radio Astronomy Imaging Group at the National Center for
|
57
|
-
Supercomputing Applications is focused on applying
|
58
|
-
high-performance computing to astronomical research. Our
|
59
|
-
projects include the NCSA Astronomy Digital Image Library,
|
60
|
-
the BIMA Data Archive, the BIMA Image Pipeline, and the
|
61
|
-
National Virtual Observatory.
|
62
|
-
</description>
|
63
|
-
<referenceURL>http://rai.ncsa.uiuc.edu/</referenceURL>
|
64
|
-
<source format="bibcode">1989ApJ...342L..71R</source>
|
65
|
-
<type>Organisation</type>
|
66
|
-
<type>Archive</type>
|
67
|
-
<type>Survey</type>
|
68
|
-
<contentLevel>Elementary Education</contentLevel>
|
69
|
-
<contentLevel>Middle School Education</contentLevel>
|
70
|
-
<contentLevel>General</contentLevel>
|
71
|
-
<relationship>
|
72
|
-
<relationshipType>Relationship 1</relationshipType>
|
73
|
-
<relatedResource>http://blah</relatedResource>
|
74
|
-
<relatedResource>http://blah2</relatedResource>
|
75
|
-
</relationship>
|
76
|
-
<relationship>
|
77
|
-
<relationshipType>Relationship 2</relationshipType>
|
78
|
-
<relatedResource>http://blah3</relatedResource>
|
79
|
-
</relationship>
|
80
|
-
</content>
|
81
|
-
|
82
|
-
<facility>Berkeley-Illinois-Maryland Array (BIMA)</facility>
|
83
|
-
<facility>
|
84
|
-
Combined Array for Research in Millimeter Astronomy (CARMA)
|
85
|
-
</facility>
|
86
|
-
|
87
|
-
<instrument>MOSA</instrument>
|
88
|
-
<instrument>MOSAIC</instrument>
|
89
|
-
|
90
|
-
</resource>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<resource updated="2000-12-16">
|
3
|
-
<title>1997 WIYN binary stars speckle observations (Horch+, 1999) - Individual notes (tables 2, 3 and 4)</title>
|
4
|
-
<shortName>J/AJ/117/548/not</shortName>
|
5
|
-
<identifier>ivo://CDS/VizieR/J/AJ/117/548/notes</identifier>
|
6
|
-
<curation>
|
7
|
-
<publisher>CDS</publisher>
|
8
|
-
<contributor>NOT PROVIDED</contributor>
|
9
|
-
<version>NOT PROVIDED</version>
|
10
|
-
</curation>
|
11
|
-
<content>
|
12
|
-
<subject>Multiple_Stars</subject>
|
13
|
-
<description>
|
14
|
-
Two hundred seventy-seven position angle and separation measures of 154 double stars are presented. Three of the systems were previously unknown to be double, and 16 other systems were discovered earlier this decade by the Hipparcos satellite. Measures are derived from speckle observations taken with the Wisconsin-Indiana-Yale-NOAO (WIYN) 3.5 m telescope located at Kitt Peak, Arizona. Speckle images were obtained using two different imaging detectors, namely, a multianode microchannel array (MAMA) detector and a fast-readout CCD. A measurement precision study was performed on a sample of binaries with extremely well known orbits by comparing the measures obtained here to the ephemeris predictions. For the CCD, the root mean square (rms) deviation of residuals was found to be 3.5 milliarcseconds (mas) in separation and 12 in position angle, while the residuals of the MAMA data varied depending on the magnification used and seeing conditions but can be comparable or superior to the CCD v
|
15
|
-
</description>
|
16
|
-
<referenceURL>http://vizier.u-strasbg.fr/cgi-bin/Cat?J/AJ/117/548/notes</referenceURL>
|
17
|
-
<contentLevel>Research</contentLevel>
|
18
|
-
</content>
|
19
|
-
|
20
|
-
<facility>WIYN</facility>
|
21
|
-
<instrument>MAMA</instrument>
|
22
|
-
</resource>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<resource updated="2000-12-16">
|
3
|
-
<title>1997 WIYN binary stars speckle observations (Horch+, 1999) - Individual notes (tables 2, 3 and 4)</title>
|
4
|
-
<shortName>J/AJ/117/548/not</shortName>
|
5
|
-
<identifier>ivo://CDS/VizieR/J/AJ/117/548/notes</identifier>
|
6
|
-
<curation>
|
7
|
-
<publisher>CDS</publisher>
|
8
|
-
<contributor>NOT PROVIDED</contributor>
|
9
|
-
<version>NOT PROVIDED</version>
|
10
|
-
</curation>
|
11
|
-
<content>
|
12
|
-
<subject>Multiple_Stars</subject>
|
13
|
-
<description>
|
14
|
-
Two hundred seventy-seven position angle and separation measures of 154 double stars are presented. Three of the systems were previously unknown to be double, and 16 other systems were discovered earlier this decade by the Hipparcos satellite. Measures are derived from speckle observations taken with the Wisconsin-Indiana-Yale-NOAO (WIYN) 3.5 m telescope located at Kitt Peak, Arizona. Speckle images were obtained using two different imaging detectors, namely, a multianode microchannel array (MAMA) detector and a fast-readout CCD. A measurement precision study was performed on a sample of binaries with extremely well known orbits by comparing the measures obtained here to the ephemeris predictions. For the CCD, the root mean square (rms) deviation of residuals was found to be 3.5 milliarcseconds (mas) in separation and 12 in position angle, while the residuals of the MAMA data varied depending on the magnification used and seeing conditions but can be comparable or superior to the CCD v
|
15
|
-
</description>
|
16
|
-
<referenceURL>http://vizier.u-strasbg.fr/cgi-bin/Cat?J/AJ/117/548/notes</referenceURL>
|
17
|
-
<contentLevel>Research</contentLevel>
|
18
|
-
</content>
|
19
|
-
</resource>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<resource updated="2000-12-16">
|
3
|
-
<title>1997 WIYN binary stars speckle observations (Horch+, 1999) - Individual notes (tables 2, 3 and 4)</title>
|
4
|
-
<shortName>J/AJ/117/548/not</shortName>
|
5
|
-
<identifier>ivo://CDS/VizieR/J/AJ/117/548/notes</identifier>
|
6
|
-
<curation>
|
7
|
-
<publisher>CDS</publisher>
|
8
|
-
<contributor>NOT PROVIDED</contributor>
|
9
|
-
<version>NOT PROVIDED</version>
|
10
|
-
</curation>
|
11
|
-
<content>
|
12
|
-
<subject>Multiple_Stars</subject>
|
13
|
-
<description>
|
14
|
-
Two hundred seventy-seven position angle and separation measures of 154 double stars are presented. Three of the systems were previously unknown to be double, and 16 other systems were discovered earlier this decade by the Hipparcos satellite. Measures are derived from speckle observations taken with the Wisconsin-Indiana-Yale-NOAO (WIYN) 3.5 m telescope located at Kitt Peak, Arizona. Speckle images were obtained using two different imaging detectors, namely, a multianode microchannel array (MAMA) detector and a fast-readout CCD. A measurement precision study was performed on a sample of binaries with extremely well known orbits by comparing the measures obtained here to the ephemeris predictions. For the CCD, the root mean square (rms) deviation of residuals was found to be 3.5 milliarcseconds (mas) in separation and 12 in position angle, while the residuals of the MAMA data varied depending on the magnification used and seeing conditions but can be comparable or superior to the CCD v
|
15
|
-
</description>
|
16
|
-
<referenceURL>http://vizier.u-strasbg.fr/cgi-bin/Cat?J/AJ/117/548/notes</referenceURL>
|
17
|
-
<contentLevel>Research</contentLevel>
|
18
|
-
</content>
|
19
|
-
</resource>
|
@@ -1,79 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<resource
|
3
|
-
xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
|
4
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
-
xsi:schemaLocation="http://www.ivoa.net/xml/VOResource/v1.0
|
6
|
-
http://www.ivoa.net/xml/VOResource/v1.0"
|
7
|
-
created="2006-08-14T08:00:00"
|
8
|
-
updated="2006-08-14T13:26:00">
|
9
|
-
|
10
|
-
<validationLevel validatedBy="ivo://noao.edu/">2</validationLevel>
|
11
|
-
<validationLevel validatedBy="ivo://ncsa.uiuc.edu/">3</validationLevel>
|
12
|
-
|
13
|
-
<title>NCSA Radio Astronomy Imaging</title>
|
14
|
-
<shortName>NCSA-RAI</shortName>
|
15
|
-
<identifier>ivo://rai.ncsa/RAI</identifier>
|
16
|
-
|
17
|
-
<curation>
|
18
|
-
<publisher ivo-id="ivo://ncsa.uiuc/NCSA">
|
19
|
-
National Center for Supercomputing Applications
|
20
|
-
</publisher>
|
21
|
-
<creator>
|
22
|
-
<name> Dr. Richard Crutcher </name>
|
23
|
-
<logo>http://rai.ncsa.uiuc.edu/rai.jpg</logo>
|
24
|
-
</creator>
|
25
|
-
<creator>
|
26
|
-
<name> David Gasson </name>
|
27
|
-
<logo>
|
28
|
-
http://www.noao.edu/rai.jpg
|
29
|
-
</logo>
|
30
|
-
</creator>
|
31
|
-
<contributor>Dave Bell</contributor>
|
32
|
-
<contributor>Chris Miller</contributor>
|
33
|
-
<date>1993-01-01T02:34:45</date>
|
34
|
-
<date>2006-08-14T12:25:23</date>
|
35
|
-
<version>1.1</version>
|
36
|
-
<contact>
|
37
|
-
<name>Dr. Raymond Plante</name>
|
38
|
-
<email>rplante@ncsa.uiuc.edu</email>
|
39
|
-
</contact>
|
40
|
-
<contact>
|
41
|
-
<name>David Gasson</name>
|
42
|
-
<email>dgasson@noao.edu</email>
|
43
|
-
<address>950 N. Cherry Avenue, Tucson, AZ 85719 USA</address>
|
44
|
-
<telephone>+1-520-318-8381</telephone>
|
45
|
-
</contact>
|
46
|
-
</curation>
|
47
|
-
|
48
|
-
<content>
|
49
|
-
<subject>radio astronomy</subject>
|
50
|
-
<subject>data repositories</subject>
|
51
|
-
<subject>digital libraries</subject>
|
52
|
-
<subject>grid-based processing</subject>
|
53
|
-
<description>
|
54
|
-
The Radio Astronomy Imaging Group at the National Center for
|
55
|
-
Supercomputing Applications is focused on applying
|
56
|
-
high-performance computing to astronomical research. Our
|
57
|
-
projects include the NCSA Astronomy Digital Image Library,
|
58
|
-
the BIMA Data Archive, the BIMA Image Pipeline, and the
|
59
|
-
National Virtual Observatory.
|
60
|
-
</description>
|
61
|
-
<referenceURL>http://rai.ncsa.uiuc.edu/</referenceURL>
|
62
|
-
<source format="bibcode">1989ApJ...342L..71R</source>
|
63
|
-
<type>Organisation</type>
|
64
|
-
<type>Archive</type>
|
65
|
-
<type>Survey</type>
|
66
|
-
<contentLevel>Elementary Education</contentLevel>
|
67
|
-
<contentLevel>Middle School Education</contentLevel>
|
68
|
-
<contentLevel>General</contentLevel>
|
69
|
-
<relationship>
|
70
|
-
<relationshipType>Relationship 1</relationshipType>
|
71
|
-
<relatedResource>http://blah</relatedResource>
|
72
|
-
<relatedResource>http://blah2</relatedResource>
|
73
|
-
</relationship>
|
74
|
-
<relationship>
|
75
|
-
<relationshipType>Relationship 2</relationshipType>
|
76
|
-
<relatedResource>http://blah3</relatedResource>
|
77
|
-
</relationship>
|
78
|
-
</content>
|
79
|
-
</resource>
|
@@ -1,91 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<resource xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Service" xsi:schemaLocation="http://www.ivoa.net/xml/VOResource/v1.0 http://www.ivoa.net/xml/VOResource/v1.0" created="2006-08-14T08:00:00" updated="2006-08-14T13:26:00">
|
3
|
-
<validationLevel validatedBy="ivo://noao.edu/">2</validationLevel>
|
4
|
-
<validationLevel validatedBy="ivo://ncsa.uiuc.edu/">3</validationLevel>
|
5
|
-
<title>NCSA Radio Astronomy Imaging</title>
|
6
|
-
<shortName>NCSA-RAI</shortName>
|
7
|
-
<identifier>ivo://rai.ncsa/RAI</identifier>
|
8
|
-
<curation>
|
9
|
-
<publisher ivo-id="ivo://ncsa.uiuc/NCSA">
|
10
|
-
National Center for Supercomputing Applications
|
11
|
-
</publisher>
|
12
|
-
<creator>
|
13
|
-
<name> Dr. Richard Crutcher </name>
|
14
|
-
<logo>
|
15
|
-
http://rai.ncsa.uiuc.edu/rai.jpg
|
16
|
-
</logo>
|
17
|
-
</creator>
|
18
|
-
<creator>
|
19
|
-
<name> David Gasson </name>
|
20
|
-
<logo>
|
21
|
-
http://www.noao.edu/rai.jpg
|
22
|
-
</logo>
|
23
|
-
</creator>
|
24
|
-
<contributor>Dave Bell</contributor>
|
25
|
-
<contributor>Chris Miller</contributor>
|
26
|
-
<date>1993-01-01T02:34:45</date>
|
27
|
-
<date>2006-08-14T12:25:23</date>
|
28
|
-
<version>1.1</version>
|
29
|
-
<contact>
|
30
|
-
<name>Dr. Raymond Plante</name>
|
31
|
-
<email>rplante@ncsa.uiuc.edu</email>
|
32
|
-
</contact>
|
33
|
-
<contact>
|
34
|
-
<name>David Gasson</name>
|
35
|
-
<email>dgasson@noao.edu</email>
|
36
|
-
<address>950 N. Cherry Avenue, Tucson, AZ 85719 USA</address>
|
37
|
-
<telephone>+1-520-318-8381</telephone>
|
38
|
-
</contact>
|
39
|
-
</curation>
|
40
|
-
<content>
|
41
|
-
<subject>radio astronomy</subject>
|
42
|
-
<subject>data repositories</subject>
|
43
|
-
<subject>digital libraries</subject>
|
44
|
-
<subject>grid-based processing</subject>
|
45
|
-
<description>
|
46
|
-
The Radio Astronomy Imaging Group at the National Center for
|
47
|
-
Supercomputing Applications is focused on applying
|
48
|
-
high-performance computing to astronomical research. Our
|
49
|
-
projects include the NCSA Astronomy Digital Image Library,
|
50
|
-
the BIMA Data Archive, the BIMA Image Pipeline, and the
|
51
|
-
National Virtual Observatory.
|
52
|
-
</description>
|
53
|
-
<referenceURL>http://rai.ncsa.uiuc.edu/</referenceURL>
|
54
|
-
<source format="bibcode">1989ApJ...342L..71R</source>
|
55
|
-
<type>Organisation</type>
|
56
|
-
<type>Archive</type>
|
57
|
-
<type>Survey</type>
|
58
|
-
<contentLevel>Elementary Education</contentLevel>
|
59
|
-
<contentLevel>Middle School Education</contentLevel>
|
60
|
-
<contentLevel>General</contentLevel>
|
61
|
-
<relationship>
|
62
|
-
<relationshipType>Relationship 1</relationshipType>
|
63
|
-
<relatedResource>http://blah</relatedResource>
|
64
|
-
<relatedResource>http://blah2</relatedResource>
|
65
|
-
</relationship>
|
66
|
-
<relationship>
|
67
|
-
<relationshipType>Relationship 2</relationshipType>
|
68
|
-
<relatedResource>http://blah3</relatedResource>
|
69
|
-
</relationship>
|
70
|
-
</content>
|
71
|
-
<rights>secure</rights>
|
72
|
-
<rights>public</rights>
|
73
|
-
<capability>
|
74
|
-
<validationLevel validatedBy="ivo://noao.edu/">1</validationLevel>
|
75
|
-
<validationLevel validatedBy="ivo://ncsa.uiuc.edu/">3</validationLevel>
|
76
|
-
<description>This is a fake capability signifying nothing.</description>
|
77
|
-
<interface xsi:type="vr:WebBrowser" role="std" version="1.1">
|
78
|
-
<accessURL use="base">www.noao.edu</accessURL>
|
79
|
-
<accessURL>http://nsa.noao.edu/</accessURL>
|
80
|
-
<securityMethod standardID="ivo://representative/security_uri/"/>
|
81
|
-
<securityMethod standardID="ivo://representative/security_uri/2/"/>
|
82
|
-
</interface>
|
83
|
-
<interface xsi:type="vr:WebService" role="std" version="1.1">
|
84
|
-
<accessURL use="base">www.noao.edu</accessURL>
|
85
|
-
<accessURL>http://nsa.noao.edu/</accessURL>
|
86
|
-
<securityMethod standardID="ivo://representative/security_uri/"/>
|
87
|
-
<securityMethod standardID="ivo://representative/security_uri/2/"/>
|
88
|
-
<wsdlURL>http://www.noao.edu?wsdl</wsdlURL>
|
89
|
-
</interface>
|
90
|
-
</capability>
|
91
|
-
</resource>
|