latitude-1.0.0¶
Represents latitude-like angles.
Description
Represents latitude-like angle(s) which must be in the range -90 to +90 deg.
Outline
Schema Definitions ¶
This type is an object with the following properties:
value
object Required A vector of one or more values
This node must validate against any of the following:
number
unit
http://stsci.edu/schemas/asdf/unit/unit-1.0.0 Required The unit corresponding to the values
Examples ¶
A Latitude object in Degrees:
!<tag:astropy.org:astropy/coordinates/latitude-1.0.0>
unit: !unit/unit-1.0.0 deg
value: 10.0
Original Schema ¶
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://astropy.org/schemas/astropy/coordinates/latitude-1.0.0"
title: |
Represents latitude-like angles.
description: |
Represents latitude-like angle(s) which must be in the range -90 to +90 deg.
examples:
-
- A Latitude object in Degrees
- |
!<tag:astropy.org:astropy/coordinates/latitude-1.0.0>
unit: !unit/unit-1.0.0 deg
value: 10.0
type: object
properties:
value:
description: |
A vector of one or more values
anyOf:
- type: number
- $ref: "http://stsci.edu/schemas/asdf/core/ndarray-1.0.0"
unit:
description: |
The unit corresponding to the values
$ref: "http://stsci.edu/schemas/asdf/unit/unit-1.0.0"
required: [value, unit]
...