1%YAML 1.1
2---
3$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
4id: "http://astropy.org/schemas/astropy/coordinates/longitude-1.0.0"
5tag: "tag:astropy.org:astropy/coordinates/longitude-1.0.0"
6
7title: |
8  Represents longitude-like angles.
9
10description: |
11    Longitude-like angle(s) which are wrapped within a contiguous 360 degree range.
12
13examples:
14  -
15    - A Longitude object in Degrees
16    - |
17        !<tag:astropy.org:astropy/coordinates/longitude-1.0.0>
18          unit: !unit/unit-1.0.0 deg
19          value: 10.0
20          wrap_angle: !<tag:astropy.org:astropy/coordinates/angle-1.0.0>
21            unit: !unit/unit-1.0.0 deg
22            value: 180.0
23
24type: object
25properties:
26  value:
27    description: |
28      A vector of one or more values
29    anyOf:
30      - type: number
31      - $ref: "tag:stsci.edu:asdf/core/ndarray-1.0.0"
32  unit:
33    description: |
34      The unit corresponding to the values
35    $ref: "tag:stsci.edu:asdf/unit/unit-1.0.0"
36  wrap_angle:
37    description: |
38      Angle at which to wrap back to ``wrap_angle - 360 deg``.
39    $ref: "angle-1.0.0"
40
41required: [value, unit, wrap_angle]
42...
43