caom2 2.6.3__tar.gz → 2.6.4__tar.gz
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.
- {caom2-2.6.3/caom2.egg-info → caom2-2.6.4}/PKG-INFO +1 -1
- {caom2-2.6.3 → caom2-2.6.4}/caom2/obs_reader_writer.py +2 -2
- {caom2-2.6.3 → caom2-2.6.4}/caom2/plane.py +2 -10
- caom2-2.6.4/caom2/version.py +1 -0
- {caom2-2.6.3 → caom2-2.6.4/caom2.egg-info}/PKG-INFO +1 -1
- {caom2-2.6.3 → caom2-2.6.4}/setup.cfg +1 -1
- caom2-2.6.3/caom2/version.py +0 -1
- {caom2-2.6.3 → caom2-2.6.4}/LICENSE +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/MANIFEST.in +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/README.rst +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/__init__.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/artifact.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/caom_util.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/checksum.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/chunk.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/common.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/data/CAOM-2.2.xsd +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/data/CAOM-2.3.xsd +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/data/CAOM-2.4.xsd +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/diff.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/observation.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/part.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/shape.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/__init__.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/caom_test_instances.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/CompleteCompositeCircle-CAOM-2.2.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/CompleteCompositeCircle-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/CompleteCompositePolygon-CAOM-2.2.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/CompleteCompositePolygon-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/CompleteSimpleCircle-CAOM-2.2.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/CompleteSimpleCircle-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/CompleteSimplePolygon-CAOM-2.2.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/CompleteSimplePolygon-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/MinimalCompositeCircle-CAOM-2.2.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/MinimalCompositeCircle-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/MinimalCompositePolygon-CAOM-2.2.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/MinimalCompositePolygon-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/MinimalSimpleCircle-CAOM-2.2.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/MinimalSimpleCircle-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/MinimalSimplePolygon-CAOM-2.2.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/MinimalSimplePolygon-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/SampleComposite-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/SampleDerived-CAOM-2.4.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/SampleSimple-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/diff-actual-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/diff-actual-CAOM-2.4.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/diff-expected-CAOM-2.3.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/data/diff-expected-CAOM-2.4.xml +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_artifact.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_caom_util.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_checksum.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_chunk.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_common.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_diffs.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_obs_reader_writer.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_observation.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_part.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_plane.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_shape.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/test_wcs.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/tests/xml_compare.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2/wcs.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2.egg-info/SOURCES.txt +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2.egg-info/dependency_links.txt +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2.egg-info/entry_points.txt +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2.egg-info/not-zip-safe +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2.egg-info/requires.txt +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/caom2.egg-info/top_level.txt +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/docs/Makefile +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/docs/_templates/autosummary/base.rst +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/docs/_templates/autosummary/class.rst +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/docs/_templates/autosummary/module.rst +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/docs/conf.py +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/docs/index.rst +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/docs/make.bat +0 -0
- {caom2-2.6.3 → caom2-2.6.4}/setup.py +0 -0
|
@@ -645,7 +645,7 @@ class ObservationReader(object):
|
|
|
645
645
|
return None
|
|
646
646
|
else:
|
|
647
647
|
ucd = self._get_child_text("ucd", el, ns, True)
|
|
648
|
-
observable = plane.Observable(
|
|
648
|
+
observable = plane.Observable(ucd)
|
|
649
649
|
return observable
|
|
650
650
|
|
|
651
651
|
def _get_point(self, point, ns, required):
|
|
@@ -2305,7 +2305,7 @@ class ObservationWriter(object):
|
|
|
2305
2305
|
return
|
|
2306
2306
|
|
|
2307
2307
|
element = self._get_caom_element("observable", parent)
|
|
2308
|
-
self._add_element("ucd", observable.ucd
|
|
2308
|
+
self._add_element("ucd", observable.ucd, element)
|
|
2309
2309
|
|
|
2310
2310
|
def _add_transition_element(self, transition, parent):
|
|
2311
2311
|
if transition is None:
|
|
@@ -89,7 +89,7 @@ with warnings.catch_warnings():
|
|
|
89
89
|
__all__ = ['CalibrationLevel', 'DataProductType', 'EnergyBand',
|
|
90
90
|
'PolarizationState', 'Quality', 'Plane',
|
|
91
91
|
'PlaneURI', 'DataQuality', 'Metrics', 'Provenance', 'Position',
|
|
92
|
-
'Energy', 'Polarization', 'Time', 'Observable'
|
|
92
|
+
'Energy', 'Polarization', 'Time', 'Observable']
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
class CalibrationLevel(Enum):
|
|
@@ -108,14 +108,6 @@ class CalibrationLevel(Enum):
|
|
|
108
108
|
ANALYSIS_PRODUCT = int_32(4)
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
class Ucd(CaomObject):
|
|
112
|
-
""" UCD - enum of UCDs"""
|
|
113
|
-
_UCD_VOCAB = "https://ivoa.net/documents/UCD1+/20230125/ucd-list.txt"
|
|
114
|
-
|
|
115
|
-
def __init__(self, value):
|
|
116
|
-
self.value = value
|
|
117
|
-
|
|
118
|
-
|
|
119
111
|
class DataProductType(OrderedEnum):
|
|
120
112
|
""" DataproductType - enum of data product types"""
|
|
121
113
|
|
|
@@ -227,7 +219,7 @@ class Observable(CaomObject):
|
|
|
227
219
|
|
|
228
220
|
@ucd.setter
|
|
229
221
|
def ucd(self, value):
|
|
230
|
-
caom_util.type_check(value,
|
|
222
|
+
caom_util.type_check(value, str, 'ucd', override=False)
|
|
231
223
|
self._ucd = value
|
|
232
224
|
|
|
233
225
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = '2.6.4'
|
caom2-2.6.3/caom2/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
version = '2.6.3'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|