voruby 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +339 -0
- data/REQUIREMENTS +4 -0
- data/Rakefile.rb +296 -0
- data/lib/voruby/adql/adql.rb +2735 -0
- data/lib/voruby/adql/ext.rb +15 -0
- data/lib/voruby/adql/loader.rb +5 -0
- data/lib/voruby/adql/operations.rb +54 -0
- data/lib/voruby/adql/parser.rb +160 -0
- data/lib/voruby/adql/transforms.rb +573 -0
- data/lib/voruby/ext.rb +17 -0
- data/lib/voruby/loader.rb +4 -0
- data/lib/voruby/misc/propertyfile.rb +36 -0
- data/lib/voruby/plastic/applications.rb +174 -0
- data/lib/voruby/plastic/constants.rb +30 -0
- data/lib/voruby/plastic/loader.rb +10 -0
- data/lib/voruby/plastic/plastic.rb +1 -0
- data/lib/voruby/resources/conesearch/conesearch.rb +9 -0
- data/lib/voruby/resources/conesearch/conesearch_v0_2.rb +55 -0
- data/lib/voruby/resources/conesearch/conesearch_v0_3.rb +50 -0
- data/lib/voruby/resources/conesearch/conesearch_v1_0.rb +72 -0
- data/lib/voruby/resources/conesearch/loader.rb +4 -0
- data/lib/voruby/resources/loader.rb +50 -0
- data/lib/voruby/resources/nodes.rb +190 -0
- data/lib/voruby/resources/openskynode/loader.rb +4 -0
- data/lib/voruby/resources/openskynode/openskynode.rb +9 -0
- data/lib/voruby/resources/openskynode/openskynode_v0_1.rb +54 -0
- data/lib/voruby/resources/sia/loader.rb +5 -0
- data/lib/voruby/resources/sia/sia.rb +9 -0
- data/lib/voruby/resources/sia/sia_v0_6.rb +90 -0
- data/lib/voruby/resources/sia/sia_v0_7.rb +89 -0
- data/lib/voruby/resources/sia/sia_v1_0.rb +122 -0
- data/lib/voruby/resources/stsci.rb +59 -0
- data/lib/voruby/resources/vodataservice/coverage_v0_2.rb +195 -0
- data/lib/voruby/resources/vodataservice/coverage_v0_3.rb +158 -0
- data/lib/voruby/resources/vodataservice/loader.rb +5 -0
- data/lib/voruby/resources/vodataservice/vodataservice.rb +9 -0
- data/lib/voruby/resources/vodataservice/vodataservice_v0_4.rb +189 -0
- data/lib/voruby/resources/vodataservice/vodataservice_v0_5.rb +163 -0
- data/lib/voruby/resources/vodataservice/vodataservice_v1_0.rb +221 -0
- data/lib/voruby/resources/voregistry/loader.rb +4 -0
- data/lib/voruby/resources/voregistry/voregistry.rb +9 -0
- data/lib/voruby/resources/voregistry/voregistry_v0_2.rb +40 -0
- data/lib/voruby/resources/voregistry/voregistry_v0_3.rb +30 -0
- data/lib/voruby/resources/voregistry/voregistry_v1_0.rb +86 -0
- data/lib/voruby/resources/voresource/loader.rb +17 -0
- data/lib/voruby/resources/voresource/voresource.rb +9 -0
- data/lib/voruby/resources/voresource/voresource_v0_10.rb +322 -0
- data/lib/voruby/resources/voresource/voresource_v0_9.rb +405 -0
- data/lib/voruby/resources/voresource/voresource_v1_0.rb +230 -0
- data/lib/voruby/services/ext.rb +11 -0
- data/lib/voruby/services/gestalt/footprint.rb +95 -0
- data/lib/voruby/services/gestalt/wcs_fixer.rb +105 -0
- data/lib/voruby/services/gestalt/wesix.rb +155 -0
- data/lib/voruby/services/loader.rb +7 -0
- data/lib/voruby/services/registry/registry.rb +53 -0
- data/lib/voruby/services/resolver/resolver.rb +35 -0
- data/lib/voruby/sesame/loader.rb +6 -0
- data/lib/voruby/sesame/sesame_v1_0.rb +64 -0
- data/lib/voruby/simple/loader.rb +6 -0
- data/lib/voruby/simple/parameters.rb +196 -0
- data/lib/voruby/simple/sap.rb +446 -0
- data/lib/voruby/spacetime/loader.rb +3 -0
- data/lib/voruby/spacetime/spacetime.rb +607 -0
- data/lib/voruby/stc/coords_v1_20.rb +900 -0
- data/lib/voruby/stc/loader.rb +55 -0
- data/lib/voruby/stc/region_v1_20.rb +274 -0
- data/lib/voruby/stc/stc_v1_20.rb +1196 -0
- data/lib/voruby/util.rb +27 -0
- data/lib/voruby/voevent/loader.rb +7 -0
- data/lib/voruby/voevent/voevent_v1_0.rb +213 -0
- data/lib/voruby/voevent/voevent_v1_1.rb +196 -0
- data/lib/voruby/votables/chandra.rb +410 -0
- data/lib/voruby/votables/cnoc.rb +393 -0
- data/lib/voruby/votables/data.rb +179 -0
- data/lib/voruby/votables/galex.rb +390 -0
- data/lib/voruby/votables/hst.rb +391 -0
- data/lib/voruby/votables/int.rb +391 -0
- data/lib/voruby/votables/libxml_parser.rb +411 -0
- data/lib/voruby/votables/libxml_votable.rb +67 -0
- data/lib/voruby/votables/loader.rb +10 -0
- data/lib/voruby/votables/meta.rb +763 -0
- data/lib/voruby/votables/misc.rb +51 -0
- data/lib/voruby/votables/nsa.rb +393 -0
- data/lib/voruby/votables/nsar3.rb +410 -0
- data/lib/voruby/votables/rexml_parser.rb +408 -0
- data/lib/voruby/votables/rexml_votable.rb +67 -0
- data/lib/voruby/votables/sdss.rb +393 -0
- data/lib/voruby/votables/transforms.rb +388 -0
- data/lib/voruby/votables/tree.rb +45 -0
- data/lib/voruby/votables/types.rb +391 -0
- data/lib/voruby/votables/votable.rb +630 -0
- data/lib/voruby/votables/xmm.rb +394 -0
- data/test/adql/test1.adql +49 -0
- data/test/adql/test2.adql +51 -0
- data/test/adql/test3.adql +81 -0
- data/test/adql/test4.adql +53 -0
- data/test/adql/test5.adql +55 -0
- data/test/adql/test6.adql +18 -0
- data/test/adql/test7.adql +48 -0
- data/test/adql/unittest.rb +1672 -0
- data/test/plastic/test.rb +44 -0
- data/test/plastic/test.vot +5385 -0
- data/test/plastic/unittest.rb +66 -0
- data/test/resources/conesearch/conesearch_v0_3.xml +31 -0
- data/test/resources/conesearch/conesearch_v1_0.xml +86 -0
- data/test/resources/conesearch/unittest_v0_3.rb +22 -0
- data/test/resources/conesearch/unittest_v1_0.rb +24 -0
- data/test/resources/openskynode/open_sky_node_v0_1.xml +32 -0
- data/test/resources/openskynode/unittest_v0_1.rb +31 -0
- data/test/resources/sia/simple_image_access_v0_7.xml +36 -0
- data/test/resources/sia/simple_image_access_v1_0.xml +122 -0
- data/test/resources/sia/unittest_v0_7.rb +24 -0
- data/test/resources/sia/unittest_v1_0.rb +29 -0
- data/test/resources/stsci.xml +336 -0
- data/test/resources/unittest_stsci.rb +25 -0
- data/test/resources/vodataservice/catalog_service_resource_v1_0.xml +128 -0
- data/test/resources/vodataservice/data_collection_resource_v0_5.xml +54 -0
- data/test/resources/vodataservice/data_collection_resource_v1_0.xml +117 -0
- data/test/resources/vodataservice/data_service_resource_v1_0.xml +115 -0
- data/test/resources/vodataservice/sky_service_resource_v0_10.xml +45 -0
- data/test/resources/vodataservice/table_service_resource_v1_0.xml +122 -0
- data/test/resources/vodataservice/tabular_sky_service_resource_v0_10.xml +60 -0
- data/test/resources/vodataservice/unittest_v0_5.rb +126 -0
- data/test/resources/vodataservice/unittest_v1_0.rb +151 -0
- data/test/resources/voregistry/authority_resource_v0_3.xml +20 -0
- data/test/resources/voregistry/authority_resource_v1_0.xml +82 -0
- data/test/resources/voregistry/registry_service_v0_3.xml +20 -0
- data/test/resources/voregistry/registry_service_v1_0.xml +107 -0
- data/test/resources/voregistry/unittest_v0_3.rb +31 -0
- data/test/resources/voregistry/unittest_v1_0.rb +34 -0
- data/test/resources/voresource/organisation_resource_v1_0.xml +90 -0
- data/test/resources/voresource/resource_organisation_v0_10.xml +22 -0
- data/test/resources/voresource/resource_service_v0_10.xml +19 -0
- data/test/resources/voresource/resource_v0_10.xml +19 -0
- data/test/resources/voresource/resource_v1_0.xml +79 -0
- data/test/resources/voresource/service_resource_v1_0.xml +91 -0
- data/test/resources/voresource/unittest_v0_10.rb +61 -0
- data/test/resources/voresource/unittest_v0_9.rb +4 -0
- data/test/resources/voresource/unittest_v1_0.rb +190 -0
- data/test/services/gestalt/unittest.rb +74 -0
- data/test/services/registry/unittest.rb +34 -0
- data/test/services/resolver/unittest.rb +38 -0
- data/test/simple/unittest.rb +46 -0
- data/test/spacetime/unittest.rb +39 -0
- data/test/stc/catalog_entry_location_v1_20.xml +112 -0
- data/test/stc/obs_data_location_v1_20.xml +108 -0
- data/test/stc/search_location_v1_20.xml +54 -0
- data/test/stc/stc_resource_profile_v1_20.xml +60 -0
- data/test/stc/unittest_v1_20.rb +620 -0
- data/test/voevent/unittest_v1_0.rb +79 -0
- data/test/voevent/unittest_v1_1.rb +70 -0
- data/test/voevent/voevent_v1_0.xml +96 -0
- data/test/voevent/voevent_v1_1.xml +76 -0
- data/test/votables/test.vot +366 -0
- data/test/votables/unittest.rb +54 -0
- metadata +256 -0
@@ -0,0 +1,117 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<resource xsi:type="vs:DataService"
|
3
|
+
xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
|
4
|
+
xmlns:vs="http://www.ivoa.net/xml/VODataService/v1.0"
|
5
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
6
|
+
xsi:schemaLocation="http://www.ivoa.net/xml/VOResource/v1.0
|
7
|
+
http://www.ivoa.net/xml/VOResource/v1.0"
|
8
|
+
created="2006-08-14T08:00:00"
|
9
|
+
updated="2006-08-14T13:26:00">
|
10
|
+
|
11
|
+
<validationLevel validatedBy="ivo://noao.edu/">2</validationLevel>
|
12
|
+
<validationLevel validatedBy="ivo://ncsa.uiuc.edu/">3</validationLevel>
|
13
|
+
|
14
|
+
<title>NCSA Radio Astronomy Imaging</title>
|
15
|
+
<shortName>NCSA-RAI</shortName>
|
16
|
+
<identifier>ivo://rai.ncsa/RAI</identifier>
|
17
|
+
|
18
|
+
<curation>
|
19
|
+
<publisher ivo-id="ivo://ncsa.uiuc/NCSA">
|
20
|
+
National Center for Supercomputing Applications
|
21
|
+
</publisher>
|
22
|
+
<creator>
|
23
|
+
<name> Dr. Richard Crutcher </name>
|
24
|
+
<logo>
|
25
|
+
http://rai.ncsa.uiuc.edu/rai.jpg
|
26
|
+
</logo>
|
27
|
+
</creator>
|
28
|
+
<creator>
|
29
|
+
<name> David Gasson </name>
|
30
|
+
<logo>
|
31
|
+
http://www.noao.edu/rai.jpg
|
32
|
+
</logo>
|
33
|
+
</creator>
|
34
|
+
<contributor>Dave Bell</contributor>
|
35
|
+
<contributor>Chris Miller</contributor>
|
36
|
+
<date>1993-01-01T02:34:45</date>
|
37
|
+
<date>2006-08-14T12:25:23</date>
|
38
|
+
<version>1.1</version>
|
39
|
+
<contact>
|
40
|
+
<name>Dr. Raymond Plante</name>
|
41
|
+
<email>rplante@ncsa.uiuc.edu</email>
|
42
|
+
</contact>
|
43
|
+
<contact>
|
44
|
+
<name>David Gasson</name>
|
45
|
+
<email>dgasson@noao.edu</email>
|
46
|
+
<address>950 N. Cherry Avenue, Tucson, AZ 85719 USA</address>
|
47
|
+
<telephone>+1-520-318-8381</telephone>
|
48
|
+
</contact>
|
49
|
+
</curation>
|
50
|
+
|
51
|
+
<content>
|
52
|
+
<subject>radio astronomy</subject>
|
53
|
+
<subject>data repositories</subject>
|
54
|
+
<subject>digital libraries</subject>
|
55
|
+
<subject>grid-based processing</subject>
|
56
|
+
<description>
|
57
|
+
The Radio Astronomy Imaging Group at the National Center for
|
58
|
+
Supercomputing Applications is focused on applying
|
59
|
+
high-performance computing to astronomical research. Our
|
60
|
+
projects include the NCSA Astronomy Digital Image Library,
|
61
|
+
the BIMA Data Archive, the BIMA Image Pipeline, and the
|
62
|
+
National Virtual Observatory.
|
63
|
+
</description>
|
64
|
+
<referenceURL>http://rai.ncsa.uiuc.edu/</referenceURL>
|
65
|
+
<source format="bibcode">1989ApJ...342L..71R</source>
|
66
|
+
<type>Organisation</type>
|
67
|
+
<type>Archive</type>
|
68
|
+
<type>Survey</type>
|
69
|
+
<contentLevel>Elementary Education</contentLevel>
|
70
|
+
<contentLevel>Middle School Education</contentLevel>
|
71
|
+
<contentLevel>General</contentLevel>
|
72
|
+
<relationship>
|
73
|
+
<relationshipType>Relationship 1</relationshipType>
|
74
|
+
<relatedResource>http://blah</relatedResource>
|
75
|
+
<relatedResource>http://blah2</relatedResource>
|
76
|
+
</relationship>
|
77
|
+
<relationship>
|
78
|
+
<relationshipType>Relationship 2</relationshipType>
|
79
|
+
<relatedResource>http://blah3</relatedResource>
|
80
|
+
</relationship>
|
81
|
+
</content>
|
82
|
+
|
83
|
+
<facility>Facility 1</facility>
|
84
|
+
<facility>Facility 2</facility>
|
85
|
+
|
86
|
+
<instrument>MOSA</instrument>
|
87
|
+
<instrument>MOSAIC</instrument>
|
88
|
+
|
89
|
+
<rights>public</rights>
|
90
|
+
<rights>secure</rights>
|
91
|
+
|
92
|
+
<format isMIMEType="true">text/xml</format>
|
93
|
+
<format>plain text</format>
|
94
|
+
|
95
|
+
<coverage>
|
96
|
+
<footprint ivo-id="ivo://www.noao.edu/record">http://www.noao.edu/footprint/</footprint>
|
97
|
+
<waveband>Radio</waveband>
|
98
|
+
<waveband>Millimeter</waveband>
|
99
|
+
</coverage>
|
100
|
+
|
101
|
+
<catalog>
|
102
|
+
<table role="out">
|
103
|
+
<name>Fake catalog</name>
|
104
|
+
<description>This is a fake catalog</description>
|
105
|
+
<column>
|
106
|
+
<dataType>string</dataType>
|
107
|
+
<name>StringCol</name>
|
108
|
+
<description>A string in a column</description>
|
109
|
+
</column>
|
110
|
+
<column std="true">
|
111
|
+
<dataType arraysize="2x2">float</dataType>
|
112
|
+
</column>
|
113
|
+
</table>
|
114
|
+
</catalog>
|
115
|
+
|
116
|
+
<accessURL>http://nsa.noao.edu/</accessURL>
|
117
|
+
</resource>
|
@@ -0,0 +1,115 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<resource xsi:type="DataService"
|
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
|
+
<rights>secure</rights>
|
83
|
+
<rights>public</rights>
|
84
|
+
|
85
|
+
<capability>
|
86
|
+
<validationLevel validatedBy="ivo://noao.edu/">1</validationLevel>
|
87
|
+
<validationLevel validatedBy="ivo://ncsa.uiuc.edu/">3</validationLevel>
|
88
|
+
<description>This is a fake capability signifying nothing.</description>
|
89
|
+
<interface xsi:type="vr:WebBrowser" role="std" version="1.1">
|
90
|
+
<accessURL use="base">www.noao.edu</accessURL>
|
91
|
+
<accessURL>http://nsa.noao.edu/</accessURL>
|
92
|
+
<securityMethod standardID="ivo://representative/security_uri/" />
|
93
|
+
<securityMethod standardID="ivo://representative/security_uri/2/" />
|
94
|
+
</interface>
|
95
|
+
<interface xsi:type="vr:WebService" role="std" version="1.1">
|
96
|
+
<accessURL use="base">www.noao.edu</accessURL>
|
97
|
+
<accessURL>http://nsa.noao.edu/</accessURL>
|
98
|
+
<securityMethod standardID="ivo://representative/security_uri/" />
|
99
|
+
<securityMethod standardID="ivo://representative/security_uri/2/" />
|
100
|
+
<wsdlURL>http://www.noao.edu?wsdl</wsdlURL>
|
101
|
+
</interface>
|
102
|
+
</capability>
|
103
|
+
|
104
|
+
<coverage>
|
105
|
+
<footprint ivo-id="ivo://www.noao.edu/record">http://www.noao.edu/footprint/</footprint>
|
106
|
+
<waveband>Radio</waveband>
|
107
|
+
<waveband>Millimeter</waveband>
|
108
|
+
</coverage>
|
109
|
+
|
110
|
+
<facility>Facility 1</facility>
|
111
|
+
<facility>Facility 2</facility>
|
112
|
+
|
113
|
+
<instrument>MOSA</instrument>
|
114
|
+
<instrument>MOSAIC</instrument>
|
115
|
+
</resource>
|
@@ -0,0 +1,45 @@
|
|
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
|
+
<facility ivo-id="ivo://CDS/VizieR/J">CDS</facility>
|
20
|
+
<instrument>random instrument</instrument>
|
21
|
+
<coverage>
|
22
|
+
<spatial>
|
23
|
+
<resolution>10.21</resolution>
|
24
|
+
<regionOfRegard>2.5</regionOfRegard>
|
25
|
+
<region xsi:type="CoordRange">
|
26
|
+
<coordFrame>FK5</coordFrame>
|
27
|
+
<long><min>0</min><max>90</max></long>
|
28
|
+
<lat><min>-10</min><max>10</max></lat>
|
29
|
+
</region>
|
30
|
+
</spatial>
|
31
|
+
<spectral>
|
32
|
+
<resolution>2</resolution>
|
33
|
+
<range>
|
34
|
+
<min>1005</min><max>3500</max>
|
35
|
+
</range>
|
36
|
+
<waveband>UV</waveband>
|
37
|
+
<waveband>Optical</waveband>
|
38
|
+
</spectral>
|
39
|
+
<temporal>
|
40
|
+
<startTime>2005-01-01T12:00:00</startTime>
|
41
|
+
<endTime>2005-01-31T12:00:00</endTime>
|
42
|
+
<resolution>2.0</resolution>
|
43
|
+
</temporal>
|
44
|
+
</coverage>
|
45
|
+
</resource>
|
@@ -0,0 +1,122 @@
|
|
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
|
+
<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
|
+
<rights>secure</rights>
|
83
|
+
<rights>public</rights>
|
84
|
+
|
85
|
+
<capability>
|
86
|
+
<validationLevel validatedBy="ivo://noao.edu/">1</validationLevel>
|
87
|
+
<validationLevel validatedBy="ivo://ncsa.uiuc.edu/">3</validationLevel>
|
88
|
+
<description>This is a fake capability signifying nothing.</description>
|
89
|
+
<interface xsi:type="vr:WebBrowser" role="std" version="1.1">
|
90
|
+
<accessURL use="base">www.noao.edu</accessURL>
|
91
|
+
<accessURL>http://nsa.noao.edu/</accessURL>
|
92
|
+
<securityMethod standardID="ivo://representative/security_uri/" />
|
93
|
+
<securityMethod standardID="ivo://representative/security_uri/2/" />
|
94
|
+
</interface>
|
95
|
+
<interface xsi:type="vr:WebService" role="std" version="1.1">
|
96
|
+
<accessURL use="base">www.noao.edu</accessURL>
|
97
|
+
<accessURL>http://nsa.noao.edu/</accessURL>
|
98
|
+
<securityMethod standardID="ivo://representative/security_uri/" />
|
99
|
+
<securityMethod standardID="ivo://representative/security_uri/2/" />
|
100
|
+
<wsdlURL>http://www.noao.edu?wsdl</wsdlURL>
|
101
|
+
</interface>
|
102
|
+
</capability>
|
103
|
+
|
104
|
+
<facility>Facility 1</facility>
|
105
|
+
<facility>Facility 2</facility>
|
106
|
+
|
107
|
+
<instrument>MOSA</instrument>
|
108
|
+
<instrument>MOSAIC</instrument>
|
109
|
+
|
110
|
+
<table role="out">
|
111
|
+
<name>Fake catalog</name>
|
112
|
+
<description>This is a fake catalog</description>
|
113
|
+
<column>
|
114
|
+
<dataType>string</dataType>
|
115
|
+
<name>StringCol</name>
|
116
|
+
<description>A string in a column</description>
|
117
|
+
</column>
|
118
|
+
<column std="true">
|
119
|
+
<dataType arraysize="2x2">float</dataType>
|
120
|
+
</column>
|
121
|
+
</table>
|
122
|
+
</resource>
|
@@ -0,0 +1,60 @@
|
|
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
|
+
<facility ivo-id="ivo://CDS/VizieR/J">CDS</facility>
|
20
|
+
<instrument>random instrument</instrument>
|
21
|
+
<coverage>
|
22
|
+
<spatial>
|
23
|
+
<resolution>10.21</resolution>
|
24
|
+
<regionOfRegard>2.5</regionOfRegard>
|
25
|
+
<region xsi:type="CoordRange">
|
26
|
+
<coordFrame>FK5</coordFrame>
|
27
|
+
<long><min>0</min><max>90</max></long>
|
28
|
+
<lat><min>-10</min><max>10</max></lat>
|
29
|
+
</region>
|
30
|
+
</spatial>
|
31
|
+
<spectral>
|
32
|
+
<resolution>2</resolution>
|
33
|
+
<range>
|
34
|
+
<min>1005</min><max>3500</max>
|
35
|
+
</range>
|
36
|
+
<waveband>UV</waveband>
|
37
|
+
<waveband>Optical</waveband>
|
38
|
+
</spectral>
|
39
|
+
<temporal>
|
40
|
+
<startTime>2005-01-01T12:00:00</startTime>
|
41
|
+
<endTime>2005-01-31T12:00:00</endTime>
|
42
|
+
<resolution>2.0</resolution>
|
43
|
+
</temporal>
|
44
|
+
</coverage>
|
45
|
+
<table>
|
46
|
+
<name>A table</name>
|
47
|
+
<description>A description</description>
|
48
|
+
<param>
|
49
|
+
<name>id</name>
|
50
|
+
<dataType>int</dataType>
|
51
|
+
</param>
|
52
|
+
<param>
|
53
|
+
<name>ra</name>
|
54
|
+
<description>Standard RA</description>
|
55
|
+
<unit>degrees</unit>
|
56
|
+
<ucd>ra</ucd>
|
57
|
+
<dataType>float</dataType>
|
58
|
+
</param>
|
59
|
+
</table>
|
60
|
+
</resource>
|
@@ -0,0 +1,126 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'voruby/resources/vodataservice/vodataservice_v0_5'
|
3
|
+
|
4
|
+
require 'test/resources/voresource/unittest_v0_10'
|
5
|
+
|
6
|
+
include VORuby::Resources::VODataService::V0_5
|
7
|
+
|
8
|
+
class DataCollectionTest < ResourceTest
|
9
|
+
def setup
|
10
|
+
assert_nothing_raised {
|
11
|
+
@res = DataCollection.load_from_file('test/resources/vodataservice/data_collection_resource_v0_5.xml')
|
12
|
+
}
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_coverage_spatial
|
16
|
+
assert_equal(10.21, @res.coverage.spatial.resolution)
|
17
|
+
assert_equal(2.5, @res.coverage.spatial.region_of_regard)
|
18
|
+
assert_equal('FK5', @res.coverage.spatial.regions[0].coord_frame.value)
|
19
|
+
assert_equal(0, @res.coverage.spatial.regions[0].long.min)
|
20
|
+
assert_equal(90, @res.coverage.spatial.regions[0].long.max)
|
21
|
+
assert_equal(-10, @res.coverage.spatial.regions[0].lat.min)
|
22
|
+
assert_equal(10, @res.coverage.spatial.regions[0].lat.max)
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_coverage_spectral
|
26
|
+
assert_equal(2, @res.coverage.spectral.resolution)
|
27
|
+
assert_equal(1005, @res.coverage.spectral.range.min)
|
28
|
+
assert_equal(3500, @res.coverage.spectral.range.max)
|
29
|
+
assert_equal('UV', @res.coverage.spectral.wavebands[0].value)
|
30
|
+
assert_equal('Optical', @res.coverage.spectral.wavebands[1].value)
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_coverage_temporal
|
34
|
+
assert_equal('2005-01-01T12:00:00', @res.coverage.temporal.start_time.strftime('%Y-%m-%dT%H:%M:%S'))
|
35
|
+
assert_equal('2005-01-31T12:00:00', @res.coverage.temporal.end_time.strftime('%Y-%m-%dT%H:%M:%S'))
|
36
|
+
assert_equal(2.0, @res.coverage.temporal.resolution)
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_facilities
|
40
|
+
assert_equal('CDS', @res.facilities[0].value)
|
41
|
+
assert_equal('ivo://CDS/VizieR/J', @res.facilities[0].ivo_id.value.to_s)
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_instruments
|
45
|
+
assert_equal('random instrument', @res.instruments[0].value)
|
46
|
+
end
|
47
|
+
|
48
|
+
def test_formats
|
49
|
+
assert_equal(true, @res.formats[0].is_mime_type)
|
50
|
+
assert_equal('text/plain', @res.formats[0].value)
|
51
|
+
end
|
52
|
+
|
53
|
+
def test_rights
|
54
|
+
assert_equal('public', @res.rights[0].value)
|
55
|
+
assert_equal('secure', @res.rights[1].value)
|
56
|
+
end
|
57
|
+
|
58
|
+
def test_access_url
|
59
|
+
assert_equal('http://vizier.u-strasbg.fr/cgi-bin/Cat?J/AJ/117/548/', @res.access_url.value.to_s)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class SkyServiceTest < ServiceTest
|
64
|
+
def setup
|
65
|
+
assert_nothing_raised {
|
66
|
+
@res = SkyService.load_from_file('test/resources/vodataservice/sky_service_resource_v0_10.xml')
|
67
|
+
}
|
68
|
+
end
|
69
|
+
|
70
|
+
def test_coverage_spatial
|
71
|
+
assert_equal(10.21, @res.coverage.spatial.resolution)
|
72
|
+
assert_equal(2.5, @res.coverage.spatial.region_of_regard)
|
73
|
+
assert_equal('FK5', @res.coverage.spatial.regions[0].coord_frame.value)
|
74
|
+
assert_equal(0, @res.coverage.spatial.regions[0].long.min)
|
75
|
+
assert_equal(90, @res.coverage.spatial.regions[0].long.max)
|
76
|
+
assert_equal(-10, @res.coverage.spatial.regions[0].lat.min)
|
77
|
+
assert_equal(10, @res.coverage.spatial.regions[0].lat.max)
|
78
|
+
end
|
79
|
+
|
80
|
+
def test_coverage_spectral
|
81
|
+
assert_equal(2, @res.coverage.spectral.resolution)
|
82
|
+
assert_equal(1005, @res.coverage.spectral.range.min)
|
83
|
+
assert_equal(3500, @res.coverage.spectral.range.max)
|
84
|
+
assert_equal('UV', @res.coverage.spectral.wavebands[0].value)
|
85
|
+
assert_equal('Optical', @res.coverage.spectral.wavebands[1].value)
|
86
|
+
end
|
87
|
+
|
88
|
+
def test_coverage_temporal
|
89
|
+
assert_equal('2005-01-01T12:00:00', @res.coverage.temporal.start_time.strftime('%Y-%m-%dT%H:%M:%S'))
|
90
|
+
assert_equal('2005-01-31T12:00:00', @res.coverage.temporal.end_time.strftime('%Y-%m-%dT%H:%M:%S'))
|
91
|
+
assert_equal(2.0, @res.coverage.temporal.resolution)
|
92
|
+
end
|
93
|
+
|
94
|
+
def test_facilities
|
95
|
+
assert_equal('CDS', @res.facilities[0].value)
|
96
|
+
assert_equal('ivo://CDS/VizieR/J', @res.facilities[0].ivo_id.value.to_s)
|
97
|
+
end
|
98
|
+
|
99
|
+
def test_instruments
|
100
|
+
assert_equal('random instrument', @res.instruments[0].value)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
class TabularSkyServiceTest < SkyServiceTest
|
105
|
+
def setup
|
106
|
+
assert_nothing_raised {
|
107
|
+
@res = TabularSkyService.load_from_file('test/resources/vodataservice/tabular_sky_service_resource_v0_10.xml')
|
108
|
+
}
|
109
|
+
end
|
110
|
+
|
111
|
+
def test_tables
|
112
|
+
assert_equal('A table', @res.tables[0].name)
|
113
|
+
assert_equal('A description', @res.tables[0].description)
|
114
|
+
end
|
115
|
+
|
116
|
+
def test_tables_params
|
117
|
+
assert_equal('id', @res.tables[0].params[0].name)
|
118
|
+
assert_equal('int', @res.tables[0].params[0].data_type.value)
|
119
|
+
|
120
|
+
assert_equal('ra', @res.tables[0].params[1].name)
|
121
|
+
assert_equal('Standard RA', @res.tables[0].params[1].description)
|
122
|
+
assert_equal('degrees', @res.tables[0].params[1].unit)
|
123
|
+
assert_equal('ra', @res.tables[0].params[1].ucd)
|
124
|
+
assert_equal('float', @res.tables[0].params[1].data_type.value)
|
125
|
+
end
|
126
|
+
end
|