-
-
Notifications
You must be signed in to change notification settings - Fork 573
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7432 from braingram/schema_cleanup
Update schemas for upcoming ASDF standard 1.6.0
- Loading branch information
Showing
33 changed files
with
590 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Update ASDF schemas for upcoming ASDF standard 1.6.0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
sunpy/io/special/asdf/resources/manifests/sunpy-1.2.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
%YAML 1.1 | ||
--- | ||
id: asdf://sunpy.org/sunpy/manifests/sunpy-1.2.0 | ||
extension_uri: asdf://sunpy.org/extensions/sunpy-1.2.0 | ||
title: SunPy ASDF Manifest | ||
description: ASDF schemas and tags for SunPy classes. | ||
asdf_standard_requirement: | ||
gte: 1.6.0 | ||
|
||
tags: | ||
- tag_uri: "tag:sunpy.org:sunpy/map/generic_map-1.2.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/generic_map-1.2.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/geocentricearthequatorial-1.1.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/geocentricearthequatorial-1.1.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/geocentricsolarecliptic-1.1.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/geocentricsolarecliptic-1.1.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/geocentricsolarmagnetospheric-1.1.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/geocentricsolarmagnetospheric-1.1.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/geomagnetic-1.1.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/geomagnetic-1.1.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/heliocentric-1.1.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/heliocentric-1.1.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/heliocentricearthecliptic-1.1.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/heliocentricearthecliptic-1.1.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/heliocentricinertial-1.1.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/heliocentricinertial-1.1.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/heliographic_carrington-1.3.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/heliographic_carrington-1.3.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/heliographic_stonyhurst-1.2.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/heliographic_stonyhurst-1.2.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/helioprojective-1.1.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/helioprojective-1.1.0" | ||
|
||
- tag_uri: "tag:sunpy.org:sunpy/coordinates/frames/solarmagnetic-1.1.0" | ||
schema_uri: "asdf://sunpy.org/sunpy/schemas/solarmagnetic-1.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
sunpy/io/special/asdf/resources/schemas/generic_map-1.2.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01" | ||
id: "asdf://sunpy.org/sunpy/schemas/generic_map-1.2.0" | ||
|
||
title: | | ||
Represents the SunPy GenericMap object | ||
description: | ||
This object represents the base of the SunPy map tree by serialising the GenericMap class. | ||
|
||
type: object | ||
properties: | ||
meta: | ||
type: object | ||
data: | ||
tag: "tag:stsci.edu:asdf/core/ndarray-1.*" | ||
plot_settings: | ||
type: object | ||
mask: | ||
tag: "tag:stsci.edu:asdf/core/ndarray-1.*" | ||
unit: | ||
tag: "tag:stsci.edu:asdf/unit/unit-1.*" | ||
uncertainty: | ||
type: object | ||
|
||
|
||
required: [meta, data] | ||
allowAdditionalProperties: False | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
sunpy/io/special/asdf/resources/schemas/geocentricearthequatorial-1.1.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01" | ||
id: "asdf://sunpy.org/sunpy/schemas/geocentricearthequatorial-1.1.0" | ||
|
||
title: | | ||
Represents a Geocentric Earth Equatorial (GEI) coordinate object from SunPy | ||
examples: | ||
- | ||
- A GeocentricEarthEquatorial frame without data | ||
- asdf-standard-1.6.0 | ||
- | | ||
!<tag:sunpy.org:sunpy/coordinates/frames/geocentricearthequatorial-1.1.0> | ||
frame_attributes: | ||
equinox: !time/time-1.2.0 | ||
scale: tt | ||
value: J2000.000 | ||
- | ||
- A GeocentricEarthEquatorial frame with an obstime | ||
- asdf-standard-1.6.0 | ||
- | | ||
!<tag:sunpy.org:sunpy/coordinates/frames/geocentricearthequatorial-1.1.0> | ||
frame_attributes: | ||
equinox: !time/time-1.2.0 | ||
scale: tt | ||
value: J2000.000 | ||
obstime: !time/time-1.2.0 '2011-01-01T01:01:01.000' | ||
allOf: | ||
- $ref: "http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.1.0" | ||
- properties: | ||
frame_attributes: | ||
type: object | ||
properties: | ||
equinox: | ||
tag: "tag:stsci.edu:asdf/time/time-1.*" | ||
obstime: | ||
tag: "tag:stsci.edu:asdf/time/time-1.*" | ||
required: [equinox] | ||
additionalProperties: False | ||
... |
4 changes: 3 additions & 1 deletion
4
sunpy/io/special/asdf/resources/schemas/geocentricsolarecliptic-1.0.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
sunpy/io/special/asdf/resources/schemas/geocentricsolarecliptic-1.1.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01" | ||
id: "asdf://sunpy.org/sunpy/schemas/geocentricsolarecliptic-1.1.0" | ||
|
||
title: | | ||
Represents a Geocentric Solar Ecliptic (GSE) coordinate object from SunPy | ||
examples: | ||
- | ||
- A GeocentricSolarEcliptic frame without data | ||
- asdf-standard-1.6.0 | ||
- | | ||
!<tag:sunpy.org:sunpy/coordinates/frames/geocentricsolarecliptic-1.1.0> | ||
frame_attributes: {} | ||
- | ||
- A GeocentricSolarEcliptic frame with an obstime | ||
- asdf-standard-1.6.0 | ||
- | | ||
!<tag:sunpy.org:sunpy/coordinates/frames/geocentricsolarecliptic-1.1.0> | ||
frame_attributes: {obstime: !time/time-1.2.0 '2011-01-01T01:01:01.000'} | ||
allOf: | ||
- $ref: "http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.1.0" | ||
- properties: | ||
frame_attributes: | ||
type: object | ||
properties: | ||
obstime: | ||
tag: "tag:stsci.edu:asdf/time/time-1.*" | ||
additionalProperties: False | ||
... |
4 changes: 3 additions & 1 deletion
4
sunpy/io/special/asdf/resources/schemas/geocentricsolarmagnetospheric-1.0.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
sunpy/io/special/asdf/resources/schemas/geocentricsolarmagnetospheric-1.1.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01" | ||
id: "asdf://sunpy.org/sunpy/schemas/geocentricsolarmagnetospheric-1.1.0" | ||
|
||
title: | | ||
Represents a Geocentric Solar Magnetospheric (GSM) coordinate object from SunPy | ||
examples: | ||
- | ||
- A Geocentric Solar Magnetospheric frame without data | ||
- asdf-standard-1.6.0 | ||
- | | ||
!<tag:sunpy.org:sunpy/coordinates/frames/geocentricsolarmagnetospheric-1.1.0> | ||
frame_attributes: | ||
magnetic_model: igrf13 | ||
- | ||
- A Geocentric Solar Magnetospheric frame with an obstime | ||
- asdf-standard-1.6.0 | ||
- | | ||
!<tag:sunpy.org:sunpy/coordinates/frames/geocentricsolarmagnetospheric-1.1.0> | ||
frame_attributes: | ||
magnetic_model: igrf13 | ||
obstime: !time/time-1.2.0 '2011-01-01T01:01:01.000' | ||
allOf: | ||
- $ref: "http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.1.0" | ||
- properties: | ||
frame_attributes: | ||
type: object | ||
properties: | ||
magnetic_model: | ||
type: string | ||
obstime: | ||
tag: "tag:stsci.edu:asdf/time/time-1.*" | ||
required: [magnetic_model] | ||
additionalProperties: False | ||
... |
4 changes: 3 additions & 1 deletion
4
sunpy/io/special/asdf/resources/schemas/geomagnetic-1.0.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
sunpy/io/special/asdf/resources/schemas/geomagnetic-1.1.0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01" | ||
id: "asdf://sunpy.org/sunpy/schemas/geomagnetic-1.1.0" | ||
|
||
title: | | ||
Represents a Geomagnetic (MAG) coordinate object from SunPy | ||
examples: | ||
- | ||
- A Geomagnetic frame without data | ||
- asdf-standard-1.6.0 | ||
- | | ||
!<tag:sunpy.org:sunpy/coordinates/frames/geomagnetic-1.1.0> | ||
frame_attributes: | ||
magnetic_model: igrf13 | ||
- | ||
- A Geomagnetic frame with an obstime | ||
- asdf-standard-1.6.0 | ||
- | | ||
!<tag:sunpy.org:sunpy/coordinates/frames/geomagnetic-1.1.0> | ||
frame_attributes: | ||
magnetic_model: igrf13 | ||
obstime: !time/time-1.2.0 '2011-01-01T01:01:01.000' | ||
allOf: | ||
- $ref: "http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.1.0" | ||
- properties: | ||
frame_attributes: | ||
type: object | ||
properties: | ||
magnetic_model: | ||
type: string | ||
obstime: | ||
tag: "tag:stsci.edu:asdf/time/time-1.*" | ||
required: [magnetic_model] | ||
additionalProperties: False | ||
... |
Oops, something went wrong.