Metadata-Version: 1.1
Name: caom2utils
Version: 1.2
Summary: CAOM-2.3 utils
Home-page: http://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/caom2
Author: Canadian Astronomy Data Centre
Author-email: cadc@nrc-cnrc.gc.ca
License: AGPLv3
Description: caom2utils
        =========
        
        .. image:: https://img.shields.io/pypi/v/caom2utils.svg   
            :target: https://pypi.python.org/pypi/caom2utils
        
        Utilities to facililate working with the CAOM2 model.
        
        Observation Validation
        ---------------------
        
        Validates a CAOM2 element (Observation, Plane, Artifact, Part or Chunk) with respect to the attributes of the element and possibly all its sub-elements. Example of validations: attribute values, spherical geometry of planes, WCS of chuncks, etc.
        
        .. code:: python
        
            from __future__ import (absolute_import, division, print_function,
                            unicode_literals)
            import sys
            from caom2 import SimpleObservation
            import caom2utils
        
            obs = SimpleObservation('collection', 'observationID')
        
            # change and update obs
        
            try:
                caom2utils.validate(obs)
            except Exception:
                print('My exception is not valid')
        
Platform: UNKNOWN
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
