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.
Files changed (156) hide show
  1. data/LICENSE +339 -0
  2. data/REQUIREMENTS +4 -0
  3. data/Rakefile.rb +296 -0
  4. data/lib/voruby/adql/adql.rb +2735 -0
  5. data/lib/voruby/adql/ext.rb +15 -0
  6. data/lib/voruby/adql/loader.rb +5 -0
  7. data/lib/voruby/adql/operations.rb +54 -0
  8. data/lib/voruby/adql/parser.rb +160 -0
  9. data/lib/voruby/adql/transforms.rb +573 -0
  10. data/lib/voruby/ext.rb +17 -0
  11. data/lib/voruby/loader.rb +4 -0
  12. data/lib/voruby/misc/propertyfile.rb +36 -0
  13. data/lib/voruby/plastic/applications.rb +174 -0
  14. data/lib/voruby/plastic/constants.rb +30 -0
  15. data/lib/voruby/plastic/loader.rb +10 -0
  16. data/lib/voruby/plastic/plastic.rb +1 -0
  17. data/lib/voruby/resources/conesearch/conesearch.rb +9 -0
  18. data/lib/voruby/resources/conesearch/conesearch_v0_2.rb +55 -0
  19. data/lib/voruby/resources/conesearch/conesearch_v0_3.rb +50 -0
  20. data/lib/voruby/resources/conesearch/conesearch_v1_0.rb +72 -0
  21. data/lib/voruby/resources/conesearch/loader.rb +4 -0
  22. data/lib/voruby/resources/loader.rb +50 -0
  23. data/lib/voruby/resources/nodes.rb +190 -0
  24. data/lib/voruby/resources/openskynode/loader.rb +4 -0
  25. data/lib/voruby/resources/openskynode/openskynode.rb +9 -0
  26. data/lib/voruby/resources/openskynode/openskynode_v0_1.rb +54 -0
  27. data/lib/voruby/resources/sia/loader.rb +5 -0
  28. data/lib/voruby/resources/sia/sia.rb +9 -0
  29. data/lib/voruby/resources/sia/sia_v0_6.rb +90 -0
  30. data/lib/voruby/resources/sia/sia_v0_7.rb +89 -0
  31. data/lib/voruby/resources/sia/sia_v1_0.rb +122 -0
  32. data/lib/voruby/resources/stsci.rb +59 -0
  33. data/lib/voruby/resources/vodataservice/coverage_v0_2.rb +195 -0
  34. data/lib/voruby/resources/vodataservice/coverage_v0_3.rb +158 -0
  35. data/lib/voruby/resources/vodataservice/loader.rb +5 -0
  36. data/lib/voruby/resources/vodataservice/vodataservice.rb +9 -0
  37. data/lib/voruby/resources/vodataservice/vodataservice_v0_4.rb +189 -0
  38. data/lib/voruby/resources/vodataservice/vodataservice_v0_5.rb +163 -0
  39. data/lib/voruby/resources/vodataservice/vodataservice_v1_0.rb +221 -0
  40. data/lib/voruby/resources/voregistry/loader.rb +4 -0
  41. data/lib/voruby/resources/voregistry/voregistry.rb +9 -0
  42. data/lib/voruby/resources/voregistry/voregistry_v0_2.rb +40 -0
  43. data/lib/voruby/resources/voregistry/voregistry_v0_3.rb +30 -0
  44. data/lib/voruby/resources/voregistry/voregistry_v1_0.rb +86 -0
  45. data/lib/voruby/resources/voresource/loader.rb +17 -0
  46. data/lib/voruby/resources/voresource/voresource.rb +9 -0
  47. data/lib/voruby/resources/voresource/voresource_v0_10.rb +322 -0
  48. data/lib/voruby/resources/voresource/voresource_v0_9.rb +405 -0
  49. data/lib/voruby/resources/voresource/voresource_v1_0.rb +230 -0
  50. data/lib/voruby/services/ext.rb +11 -0
  51. data/lib/voruby/services/gestalt/footprint.rb +95 -0
  52. data/lib/voruby/services/gestalt/wcs_fixer.rb +105 -0
  53. data/lib/voruby/services/gestalt/wesix.rb +155 -0
  54. data/lib/voruby/services/loader.rb +7 -0
  55. data/lib/voruby/services/registry/registry.rb +53 -0
  56. data/lib/voruby/services/resolver/resolver.rb +35 -0
  57. data/lib/voruby/sesame/loader.rb +6 -0
  58. data/lib/voruby/sesame/sesame_v1_0.rb +64 -0
  59. data/lib/voruby/simple/loader.rb +6 -0
  60. data/lib/voruby/simple/parameters.rb +196 -0
  61. data/lib/voruby/simple/sap.rb +446 -0
  62. data/lib/voruby/spacetime/loader.rb +3 -0
  63. data/lib/voruby/spacetime/spacetime.rb +607 -0
  64. data/lib/voruby/stc/coords_v1_20.rb +900 -0
  65. data/lib/voruby/stc/loader.rb +55 -0
  66. data/lib/voruby/stc/region_v1_20.rb +274 -0
  67. data/lib/voruby/stc/stc_v1_20.rb +1196 -0
  68. data/lib/voruby/util.rb +27 -0
  69. data/lib/voruby/voevent/loader.rb +7 -0
  70. data/lib/voruby/voevent/voevent_v1_0.rb +213 -0
  71. data/lib/voruby/voevent/voevent_v1_1.rb +196 -0
  72. data/lib/voruby/votables/chandra.rb +410 -0
  73. data/lib/voruby/votables/cnoc.rb +393 -0
  74. data/lib/voruby/votables/data.rb +179 -0
  75. data/lib/voruby/votables/galex.rb +390 -0
  76. data/lib/voruby/votables/hst.rb +391 -0
  77. data/lib/voruby/votables/int.rb +391 -0
  78. data/lib/voruby/votables/libxml_parser.rb +411 -0
  79. data/lib/voruby/votables/libxml_votable.rb +67 -0
  80. data/lib/voruby/votables/loader.rb +10 -0
  81. data/lib/voruby/votables/meta.rb +763 -0
  82. data/lib/voruby/votables/misc.rb +51 -0
  83. data/lib/voruby/votables/nsa.rb +393 -0
  84. data/lib/voruby/votables/nsar3.rb +410 -0
  85. data/lib/voruby/votables/rexml_parser.rb +408 -0
  86. data/lib/voruby/votables/rexml_votable.rb +67 -0
  87. data/lib/voruby/votables/sdss.rb +393 -0
  88. data/lib/voruby/votables/transforms.rb +388 -0
  89. data/lib/voruby/votables/tree.rb +45 -0
  90. data/lib/voruby/votables/types.rb +391 -0
  91. data/lib/voruby/votables/votable.rb +630 -0
  92. data/lib/voruby/votables/xmm.rb +394 -0
  93. data/test/adql/test1.adql +49 -0
  94. data/test/adql/test2.adql +51 -0
  95. data/test/adql/test3.adql +81 -0
  96. data/test/adql/test4.adql +53 -0
  97. data/test/adql/test5.adql +55 -0
  98. data/test/adql/test6.adql +18 -0
  99. data/test/adql/test7.adql +48 -0
  100. data/test/adql/unittest.rb +1672 -0
  101. data/test/plastic/test.rb +44 -0
  102. data/test/plastic/test.vot +5385 -0
  103. data/test/plastic/unittest.rb +66 -0
  104. data/test/resources/conesearch/conesearch_v0_3.xml +31 -0
  105. data/test/resources/conesearch/conesearch_v1_0.xml +86 -0
  106. data/test/resources/conesearch/unittest_v0_3.rb +22 -0
  107. data/test/resources/conesearch/unittest_v1_0.rb +24 -0
  108. data/test/resources/openskynode/open_sky_node_v0_1.xml +32 -0
  109. data/test/resources/openskynode/unittest_v0_1.rb +31 -0
  110. data/test/resources/sia/simple_image_access_v0_7.xml +36 -0
  111. data/test/resources/sia/simple_image_access_v1_0.xml +122 -0
  112. data/test/resources/sia/unittest_v0_7.rb +24 -0
  113. data/test/resources/sia/unittest_v1_0.rb +29 -0
  114. data/test/resources/stsci.xml +336 -0
  115. data/test/resources/unittest_stsci.rb +25 -0
  116. data/test/resources/vodataservice/catalog_service_resource_v1_0.xml +128 -0
  117. data/test/resources/vodataservice/data_collection_resource_v0_5.xml +54 -0
  118. data/test/resources/vodataservice/data_collection_resource_v1_0.xml +117 -0
  119. data/test/resources/vodataservice/data_service_resource_v1_0.xml +115 -0
  120. data/test/resources/vodataservice/sky_service_resource_v0_10.xml +45 -0
  121. data/test/resources/vodataservice/table_service_resource_v1_0.xml +122 -0
  122. data/test/resources/vodataservice/tabular_sky_service_resource_v0_10.xml +60 -0
  123. data/test/resources/vodataservice/unittest_v0_5.rb +126 -0
  124. data/test/resources/vodataservice/unittest_v1_0.rb +151 -0
  125. data/test/resources/voregistry/authority_resource_v0_3.xml +20 -0
  126. data/test/resources/voregistry/authority_resource_v1_0.xml +82 -0
  127. data/test/resources/voregistry/registry_service_v0_3.xml +20 -0
  128. data/test/resources/voregistry/registry_service_v1_0.xml +107 -0
  129. data/test/resources/voregistry/unittest_v0_3.rb +31 -0
  130. data/test/resources/voregistry/unittest_v1_0.rb +34 -0
  131. data/test/resources/voresource/organisation_resource_v1_0.xml +90 -0
  132. data/test/resources/voresource/resource_organisation_v0_10.xml +22 -0
  133. data/test/resources/voresource/resource_service_v0_10.xml +19 -0
  134. data/test/resources/voresource/resource_v0_10.xml +19 -0
  135. data/test/resources/voresource/resource_v1_0.xml +79 -0
  136. data/test/resources/voresource/service_resource_v1_0.xml +91 -0
  137. data/test/resources/voresource/unittest_v0_10.rb +61 -0
  138. data/test/resources/voresource/unittest_v0_9.rb +4 -0
  139. data/test/resources/voresource/unittest_v1_0.rb +190 -0
  140. data/test/services/gestalt/unittest.rb +74 -0
  141. data/test/services/registry/unittest.rb +34 -0
  142. data/test/services/resolver/unittest.rb +38 -0
  143. data/test/simple/unittest.rb +46 -0
  144. data/test/spacetime/unittest.rb +39 -0
  145. data/test/stc/catalog_entry_location_v1_20.xml +112 -0
  146. data/test/stc/obs_data_location_v1_20.xml +108 -0
  147. data/test/stc/search_location_v1_20.xml +54 -0
  148. data/test/stc/stc_resource_profile_v1_20.xml +60 -0
  149. data/test/stc/unittest_v1_20.rb +620 -0
  150. data/test/voevent/unittest_v1_0.rb +79 -0
  151. data/test/voevent/unittest_v1_1.rb +70 -0
  152. data/test/voevent/voevent_v1_0.xml +96 -0
  153. data/test/voevent/voevent_v1_1.xml +76 -0
  154. data/test/votables/test.vot +366 -0
  155. data/test/votables/unittest.rb +54 -0
  156. metadata +256 -0
@@ -0,0 +1,79 @@
1
+ require 'test/unit'
2
+
3
+ require 'voruby/voevent/voevent_v1_0'
4
+
5
+ include VORuby::VOEvent::V1_0
6
+
7
+ class VOEventTest < Test::Unit::TestCase
8
+ def setup
9
+ assert_nothing_raised {
10
+ @event = VOEvent.load_from_file('test/voevent/voevent_v1_0.xml')
11
+ }
12
+ end
13
+
14
+ def test_voevent
15
+ assert_equal('ivo://raptor.lanl/VOEvent#23565', @event.voevent_id.value.to_s)
16
+ assert_equal('observation', @event.role)
17
+ assert_equal('1.0', @event.version)
18
+ end
19
+
20
+ def test_citations
21
+ assert_equal('followup', @event.citations.event_ids[0].cite)
22
+ assert_equal('ivo://raptor.lanl/VOEvent#23563', @event.citations.event_ids[0].value.to_s)
23
+ assert_match(/^An observation/, @event.citations.descriptions[0].value.strip)
24
+ end
25
+
26
+ def test_who
27
+ assert_equal('ivo://raptor.lanl/organization', @event.who.publisher_ids[0].value.to_s)
28
+ assert_equal('2005-04-15T14:34:16', @event.who.date.strftime('%Y-%m-%dT%H:%M:%S'))
29
+
30
+ contact = @event.who.contacts[0]
31
+ assert_equal(true, contact.principal_contact)
32
+ assert_equal('Robert White', contact.name)
33
+ assert_equal('LANL', contact.institution)
34
+
35
+ comm = contact.communications[0]
36
+ assert_match(/^Los Alamos National/, comm.address_line.strip)
37
+ assert_equal('+1-505-665-3025', comm.telephone)
38
+ assert_equal('rwhite@lanl.gov', comm.email.value.to_s)
39
+ end
40
+
41
+ def test_what
42
+ assert_equal('seeing', @event.what.params[0].name)
43
+ assert_equal('2', @event.what.params[0].value)
44
+ assert_equal('arcsec', @event.what.params[0].unit)
45
+ assert_equal('instr.obsty.site.seeing', @event.what.params[0].ucd)
46
+
47
+ assert_equal('http://raptor.lanl.gov/data/lightcurves/235649409', @event.what.references[0].uri.value.to_s)
48
+ assert_match(/^This is the light curve/, @event.what.descriptions[0].value)
49
+
50
+ group = @event.what.groups[0]
51
+ assert_equal('SQUARE_GALAXY_FLUX', group.name)
52
+ assert_equal('counts', group.params[0].name)
53
+ assert_equal('73288', group.params[0].value)
54
+ assert_equal('ct', group.params[0].unit)
55
+ assert_equal('phot.count', group.params[0].ucd)
56
+ assert_equal('peak', group.params[1].name)
57
+ assert_equal('1310', group.params[1].value)
58
+ assert_equal('ct/s', group.params[1].unit)
59
+ assert_equal('arith.rate;phot.count', group.params[1].ucd)
60
+ end
61
+
62
+ def test_how
63
+ assert_equal('http://www.raptor.lanl.gov/documents/phase_zero.rtml', @event.how.references[0].uri.value.to_s)
64
+ assert_equal('rtml', @event.how.references[0].reference_type)
65
+ assert_equal('Raptor AB', @event.how.references[0].name)
66
+ assert_match(/^This VOEvent resulted/, @event.how.descriptions[0].value.strip)
67
+ end
68
+
69
+ def test_why
70
+ assert_equal(0.8, @event.why.importance)
71
+ assert_equal('2005-04-16T02:34:16', @event.why.expires.strftime("%Y-%m-%dT%H:%M:%S"))
72
+
73
+ assert_equal('Fast Orphan Optical Transient', @event.why.concepts[0].value)
74
+
75
+ inference = @event.why.inferences[0]
76
+ assert_equal('associated', inference.relation)
77
+ assert_equal('NGC1234', inference.names[0].value)
78
+ end
79
+ end
@@ -0,0 +1,70 @@
1
+ require 'test/unit'
2
+
3
+ require 'voruby/voevent/voevent_v1_1'
4
+
5
+ include VORuby::VOEvent::V1_1
6
+
7
+ class VOEventTest < Test::Unit::TestCase
8
+ def setup
9
+ assert_nothing_raised {
10
+ @event = VOEvent.load_from_file('test/voevent/voevent_v1_1.xml')
11
+ }
12
+ end
13
+
14
+ def test_voevent
15
+ assert_equal('ivo://raptor.lanl/VOEvent#235649409', @event.ivorn.value.to_s)
16
+ assert_equal('observation', @event.role)
17
+ assert_equal('1.1', @event.version)
18
+ end
19
+
20
+ def test_citations
21
+ assert_equal('followup', @event.citations.event_ivorns[0].cite)
22
+ assert_equal('ivo://raptor.lanl/VOEvent#235649408', @event.citations.event_ivorns[0].value.to_s)
23
+ assert_match(/^This is an observation/, @event.citations.descriptions[0].value.strip)
24
+ end
25
+
26
+ def test_who
27
+ assert_equal('ivo://raptor.lanl/organization', @event.who.author_ivorns[0].value.to_s)
28
+ assert_equal('2005-04-15T14:34:16', @event.who.date.strftime('%Y-%m-%dT%H:%M:%S'))
29
+ end
30
+
31
+ def test_what
32
+ group = @event.what.groups[0]
33
+ assert_equal('SQUARE_GALAXY_FLUX', group.name)
34
+ assert_equal('counts', group.params[0].name)
35
+ assert_equal('73288', group.params[0].value)
36
+ assert_equal('ct', group.params[0].unit)
37
+ assert_equal('phot.count', group.params[0].ucd)
38
+ assert_equal('peak', group.params[1].name)
39
+ assert_equal('1310', group.params[1].value)
40
+ assert_equal('ct/s', group.params[1].unit)
41
+ assert_equal('arith.rate;phot.count', group.params[1].ucd)
42
+
43
+ assert_equal('seeing', @event.what.params[0].name)
44
+ assert_equal('2', @event.what.params[0].value)
45
+ assert_equal('arcsec', @event.what.params[0].unit)
46
+ assert_equal('instr.obsty.site.seeing', @event.what.params[0].ucd)
47
+
48
+ assert_equal('http://raptor.lanl.gov/data/lightcurves/235649409', @event.what.references[0].uri.value.to_s)
49
+ assert_match(/^This is the light curve/, @event.what.descriptions[0].value.strip)
50
+ end
51
+
52
+ def test_how
53
+ assert_equal('http://www.raptor.lanl.gov/documents/phase_zero.rtml', @event.how.references[0].uri.value.to_s)
54
+ assert_equal('rtml', @event.how.references[0].reference_type)
55
+ assert_equal('Raptor AB', @event.how.references[0].name)
56
+ #assert_match(/^This VOEvent packet resulted/, @event.how.descriptions[0].value.strip)
57
+ end
58
+
59
+ def test_why
60
+ assert_equal(0.8, @event.why.importance)
61
+ assert_equal('2005-04-16T02:34:16', @event.why.expires.strftime('%Y-%m-%dT%H:%M:%S'))
62
+ assert_equal('process.variation.burst;em.opt', @event.why.concepts[0].value)
63
+ assert_match(/^Fast Orphan Optical/, @event.why.descriptions[0].value.strip)
64
+
65
+ inference = @event.why.inferences[0]
66
+ assert_equal('associated', inference.relation)
67
+ assert_equal(0.9, inference.probability)
68
+ assert_equal('NGC1234', inference.names[0].value)
69
+ end
70
+ end
@@ -0,0 +1,96 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <VOEvent id="ivo://raptor.lanl/VOEvent#23565" role="observation" version="1.0"
3
+ xmlns="http://www.ivoa.net/xml/VOEvent/v1.0"
4
+ xmlns:stc="http://www.ivoa.net/xml/STC/stc-v1.20.xsd"
5
+ xmlns:crd="http://www.ivoa.net/xml/STC/STCcoords/v1.20"
6
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7
+ xsi:schemaLocation="http://www.ivoa.net/xml/STC/stc-v1.20.xsd http://hea-www.harvard.edu/~arots/nvometa/v1.2/stc-v1.20.xsd
8
+ http://www.ivoa.net/xml/STC/STCcoords/v1.20 http://hea-www.harvard.edu/~arots/nvometa/v1.2/coords-v1.20.xsd
9
+ http://www.ivoa.net/xml/VOEvent/v1.0 http://www.ivoa.net/internal/IVOA/IvoaVOEvent/VOEvent-v1.0.xsd">
10
+
11
+ <Citations>
12
+ <EventID cite="followup">ivo://raptor.lanl/VOEvent#23563</EventID>
13
+ <Description>
14
+ An observation that follows up an earlier event with
15
+ improved square-galaxy discrimination
16
+ </Description>
17
+ </Citations>
18
+
19
+ <Who>
20
+ <PublisherID>ivo://raptor.lanl/organization</PublisherID>
21
+
22
+ <Contact principalContact="true">
23
+ <Name>Robert White</Name>
24
+ <Institution>LANL</Institution>
25
+ <Communication>
26
+ <AddressLine> Los Alamos National Laboratory PO Box 1663 ISR-1,
27
+ MS B244 Los Alamos, NM 87545 </AddressLine>
28
+ <Telephone>+1-505-665-3025</Telephone>
29
+
30
+ <Email>rwhite@lanl.gov</Email>
31
+ </Communication>
32
+ </Contact>
33
+ <Date>2005-04-15T14:34:16</Date>
34
+ </Who>
35
+
36
+ <What>
37
+ <Group name="SQUARE_GALAXY_FLUX">
38
+ <Param name="counts" value="73288" unit="ct" ucd="phot.count"/>
39
+
40
+ <Param name="peak" value="1310" unit="ct/s" ucd="arith.rate;phot.count"/>
41
+ </Group>
42
+ <Param name="seeing" value="2" unit="arcsec" ucd="instr.obsty.site.seeing"/>
43
+ <Reference uri="http://raptor.lanl.gov/data/lightcurves/235649409"/>
44
+ <Description>This is the light curve associated with the observation.</Description>
45
+ </What>
46
+
47
+ <WhereWhen>
48
+ <ObservationLocation>
49
+ <stc:AstroCoordSystem ID="FK5-UTC-TOPO">
50
+ <stc:TimeFrame>
51
+ <stc:Name>Time</stc:Name>
52
+ <stc:TimeScale>UTC</stc:TimeScale>
53
+ <stc:TOPOCENTER/>
54
+ </stc:TimeFrame>
55
+ <stc:SpaceFrame>
56
+ <stc:Name>Equatorial</stc:Name>
57
+ <stc:FK5><stc:Equinox>J2000.0</stc:Equinox></stc:FK5>
58
+ <stc:TOPOCENTER/>
59
+ <stc:SPHERICAL coord_naxes="2"/>
60
+ </stc:SpaceFrame>
61
+ </stc:AstroCoordSystem>
62
+ <crd:AstroCoords coord_system_id="FK5-UTC-TOPO">
63
+ <crd:Time unit="s">
64
+ <crd:TimeInstant>
65
+ <crd:ISOTime>2005-04-15T23:59:59</crd:ISOTime>
66
+ </crd:TimeInstant>
67
+ <crd:Error>1.0</crd:Error>
68
+ </crd:Time>
69
+ <crd:Position2D unit="deg">
70
+ <crd:Value2>148.88 69.06</crd:Value2>
71
+ <crd:Error2PA>
72
+ <crd:Size>0.02 0.01</crd:Size>
73
+ <crd:PosAngle reference="North">15</crd:PosAngle>
74
+ </crd:Error2PA>
75
+ </crd:Position2D>
76
+ </crd:AstroCoords>
77
+ </ObservationLocation>
78
+ </WhereWhen>
79
+
80
+ <How>
81
+
82
+ <Reference uri="http://www.raptor.lanl.gov/documents/phase_zero.rtml"
83
+ type="rtml" name="Raptor AB"/>
84
+ <Description>
85
+ This VOEvent resulted from observations made with Raptor AB at Los Alamos.
86
+ </Description>
87
+ </How>
88
+
89
+ <Why importance="0.8" expires="2005-04-16T02:34:16">
90
+ <Concept>Fast Orphan Optical Transient</Concept>
91
+ <Inference relation="associated">
92
+ <Name>NGC1234</Name>
93
+
94
+ </Inference>
95
+ </Why>
96
+ </VOEvent>
@@ -0,0 +1,76 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <voe:VOEvent
3
+ ivorn="ivo://raptor.lanl/VOEvent#235649409"
4
+ role="observation"
5
+ version="1.1"
6
+ xmlns:voe="http://www.ivoa.net/xml/VOEvent/v1.1"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://www.ivoa.net/xml/VOEvent/v1.1
9
+ http://www.ivoa.net/xml/VOEvent/VOEvent-v1.1.xsd">
10
+
11
+ <Citations>
12
+ <EventIVORN cite="followup">ivo://raptor.lanl/VOEvent#235649408</EventIVORN>
13
+ <Description>This is an observation of the earlier event but with
14
+ improved square-galaxy discrimination</Description>
15
+ </Citations>
16
+
17
+ <Who>
18
+ <AuthorIVORN>ivo://raptor.lanl/organization</AuthorIVORN>
19
+ <Date>2005-04-15T14:34:16</Date>
20
+ </Who>
21
+
22
+ <What>
23
+ <Group name="SQUARE_GALAXY_FLUX">
24
+ <Param name="counts" value="73288" unit="ct" ucd="phot.count"/>
25
+ <Param name="peak" value="1310" unit="ct/s" ucd="arith.rate;phot.count"/>
26
+ </Group>
27
+ <Param name="seeing" value="2" unit="arcsec" ucd="instr.obsty.site.seeing"/>
28
+ <Reference uri="http://raptor.lanl.gov/data/lightcurves/235649409"/>
29
+ <Description>This is the light curve associated with the observation.</Description>
30
+ </What>
31
+
32
+ <WhereWhen>
33
+ <ObsDataLocation xmlns="http://www.ivoa.net/xml/STC/stc-v1.30.xsd"
34
+ xmlns:xlink="http://www.w3.org/1999/xlink">
35
+
36
+ <ObservatoryLocation id="KPNO" xlink:type="simple"
37
+ xlink:href="ivo://STClib/Observatories#KPNO"/>
38
+
39
+ <ObservationLocation>
40
+ <AstroCoordSystem id="UTC-ICRS-TOPO" xlink:type="simple"
41
+ xlink:href="ivo://STClib/CoordSys#UTC-ICRS-TOPO"/>
42
+ <AstroCoords coord_system_id="UTC-ICRS-TOPO">
43
+ <Time unit="s">
44
+ <TimeInstant>
45
+ <ISOTime>2005-04-15T23:59:59</ISOTime>
46
+ </TimeInstant>
47
+ <Error>1.0</Error>
48
+ </Time>
49
+ <Position2D unit="deg">
50
+ <Value2>
51
+ <C1>148.88821</C1>
52
+ <C2>69.06529</C2>
53
+ </Value2>
54
+ <Error2Radius>0.03</Error2Radius>
55
+ </Position2D>
56
+ </AstroCoords>
57
+ </ObservationLocation>
58
+ </ObsDataLocation>
59
+ </WhereWhen>
60
+
61
+ <How>
62
+ <Reference uri="http://www.raptor.lanl.gov/documents/phase_zero.rtml" type="rtml" name="Raptor AB"/>
63
+ <Description> <![CDATA[This VOEvent packet resulted from observations
64
+ made with <a href=http://www.raptor.lanl.gov>Raptor</a> AB at Los Alamos. ]]>
65
+ </Description>
66
+ </How>
67
+
68
+ <Why importance="0.8" expires="2005-04-16T02:34:16">
69
+ <Concept>process.variation.burst;em.opt</Concept>
70
+ <Description>Fast Orphan Optical Transient. Don't know what caused it,
71
+ but looks like we found the host galaxy</Description>
72
+ <Inference relation="associated" probability="0.9">
73
+ <Name>NGC1234</Name>
74
+ </Inference>
75
+ </Why>
76
+ </voe:VOEvent>