envlib-api 0.3.0__py3-none-any.whl
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.
- envlib_api/__init__.py +3 -0
- envlib_api/__main__.py +3 -0
- envlib_api/api/__init__.py +7 -0
- envlib_api/api/app.py +435 -0
- envlib_api/api/compress.py +52 -0
- envlib_api/api/cost.py +107 -0
- envlib_api/api/edr.py +343 -0
- envlib_api/api/encode.py +285 -0
- envlib_api/api/errors.py +23 -0
- envlib_api/api/grid.py +317 -0
- envlib_api/api/params.py +71 -0
- envlib_api/api/read.py +65 -0
- envlib_api/api/resolve.py +191 -0
- envlib_api/api/server.py +35 -0
- envlib_api/api/stations.py +96 -0
- envlib_api/api/timesel.py +97 -0
- envlib_api/cli.py +179 -0
- envlib_api/config.py +158 -0
- envlib_api/healthcheck.py +38 -0
- envlib_api/mirror.py +353 -0
- envlib_api/refresher.py +265 -0
- envlib_api/tests/__init__.py +0 -0
- envlib_api/tests/api_support.py +307 -0
- envlib_api/tests/conftest.py +12 -0
- envlib_api/tests/grid_support.py +217 -0
- envlib_api/tests/schemas/README.md +12 -0
- envlib_api/tests/schemas/coveragejson/coveragejson.json +1794 -0
- envlib_api/tests/schemas/edr/schemas/collections/DataQuery.yaml +38 -0
- envlib_api/tests/schemas/edr/schemas/collections/areaDataQuery.yaml +10 -0
- envlib_api/tests/schemas/edr/schemas/collections/areaLink.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/collections/collection.yaml +137 -0
- envlib_api/tests/schemas/edr/schemas/collections/collections.yaml +26 -0
- envlib_api/tests/schemas/edr/schemas/collections/corridorDataQuery.yaml +29 -0
- envlib_api/tests/schemas/edr/schemas/collections/corridorLink.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/collections/crsObject.yaml +15 -0
- envlib_api/tests/schemas/edr/schemas/collections/cubeDataQuery.yaml +20 -0
- envlib_api/tests/schemas/edr/schemas/collections/cubeLink.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/collections/extent.yaml +311 -0
- envlib_api/tests/schemas/edr/schemas/collections/instancesDataQuery.yaml +21 -0
- envlib_api/tests/schemas/edr/schemas/collections/instancesLink.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/collections/itemsDataQuery.yaml +21 -0
- envlib_api/tests/schemas/edr/schemas/collections/itemsLink.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/collections/locationsDataQuery.yaml +10 -0
- envlib_api/tests/schemas/edr/schemas/collections/locationsLink.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/collections/observedPropertyCollection.yaml +51 -0
- envlib_api/tests/schemas/edr/schemas/collections/parameterNames.yaml +70 -0
- envlib_api/tests/schemas/edr/schemas/collections/positionDataQuery.yaml +12 -0
- envlib_api/tests/schemas/edr/schemas/collections/positionLink.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/collections/radiusDataQuery.yaml +18 -0
- envlib_api/tests/schemas/edr/schemas/collections/radiusLink.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/collections/trajectoryDataQuery.yaml +10 -0
- envlib_api/tests/schemas/edr/schemas/collections/trajectoryLink.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/collections/units.yaml +42 -0
- envlib_api/tests/schemas/edr/schemas/core/confClasses.yaml +8 -0
- envlib_api/tests/schemas/edr/schemas/core/exception.yaml +8 -0
- envlib_api/tests/schemas/edr/schemas/core/landingPage.yaml +76 -0
- envlib_api/tests/schemas/edr/schemas/core/link.yaml +31 -0
- envlib_api/tests/schemas/edr/schemas/covjson/anyAxis.yaml +11 -0
- envlib_api/tests/schemas/edr/schemas/covjson/coverage.yaml +14 -0
- envlib_api/tests/schemas/edr/schemas/covjson/coverageBase.yaml +68 -0
- envlib_api/tests/schemas/edr/schemas/covjson/coverageCollection.yaml +58 -0
- envlib_api/tests/schemas/edr/schemas/covjson/coverageJSON.yaml +46 -0
- envlib_api/tests/schemas/edr/schemas/covjson/covjsonI18n.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/covjson/covjsonObservedProperty.yaml +29 -0
- envlib_api/tests/schemas/edr/schemas/covjson/covjsonParameter.yaml +32 -0
- envlib_api/tests/schemas/edr/schemas/covjson/covjsonParameterGroup.yaml +31 -0
- envlib_api/tests/schemas/edr/schemas/covjson/covjsonUnit.yaml +31 -0
- envlib_api/tests/schemas/edr/schemas/covjson/domain.yaml +7 -0
- envlib_api/tests/schemas/edr/schemas/covjson/domainBase.yaml +337 -0
- envlib_api/tests/schemas/edr/schemas/covjson/ndArray.yaml +88 -0
- envlib_api/tests/schemas/edr/schemas/covjson/numericAxis.yaml +11 -0
- envlib_api/tests/schemas/edr/schemas/covjson/numericRegularlySpacedAxis.yaml +17 -0
- envlib_api/tests/schemas/edr/schemas/covjson/numericSingleValueAxis.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/covjson/numericValuesAxis.yaml +14 -0
- envlib_api/tests/schemas/edr/schemas/covjson/polygonValuesAxis.yaml +29 -0
- envlib_api/tests/schemas/edr/schemas/covjson/primitiveValuesAxis.yaml +22 -0
- envlib_api/tests/schemas/edr/schemas/covjson/referenceSystem.yaml +48 -0
- envlib_api/tests/schemas/edr/schemas/covjson/referenceSystemConnection.yaml +16 -0
- envlib_api/tests/schemas/edr/schemas/covjson/stringSingleValueAxis.yaml +9 -0
- envlib_api/tests/schemas/edr/schemas/covjson/stringValuesAxis.yaml +14 -0
- envlib_api/tests/schemas/edr/schemas/covjson/targetConcept.yaml +13 -0
- envlib_api/tests/schemas/edr/schemas/covjson/tiledNdArray.yaml +50 -0
- envlib_api/tests/schemas/edr/schemas/covjson/tupleValuesAxis.yaml +24 -0
- envlib_api/tests/schemas/edr/schemas/covjson/valuesAxis.yaml +27 -0
- envlib_api/tests/schemas/edr/schemas/covjson/valuesAxisBase.yaml +24 -0
- envlib_api/tests/schemas/edr/schemas/edr-geojson/edrFeatureCollectionGeoJSON.yaml +32 -0
- envlib_api/tests/schemas/edr/schemas/edr-geojson/edrProperties.yaml +49 -0
- envlib_api/tests/schemas/edr/schemas/edr-geojson/observedProperty.yaml +26 -0
- envlib_api/tests/schemas/edr/schemas/edr-geojson/parameter.yaml +28 -0
- envlib_api/tests/schemas/edr/schemas/edr-geojson/unit.yaml +24 -0
- envlib_api/tests/schemas/edr/schemas/geojson/featureGeoJSON.yaml +29 -0
- envlib_api/tests/schemas/edr/schemas/geojson/geometrycollectionGeoJSON.yaml +19 -0
- envlib_api/tests/schemas/edr/schemas/geojson/linestringGeoJSON.yaml +23 -0
- envlib_api/tests/schemas/edr/schemas/geojson/multilinestringGeoJSON.yaml +19 -0
- envlib_api/tests/schemas/edr/schemas/geojson/multipointGeoJSON.yaml +16 -0
- envlib_api/tests/schemas/edr/schemas/geojson/multipolygonGeoJSON.yaml +21 -0
- envlib_api/tests/schemas/edr/schemas/geojson/pointGeoJSON.yaml +14 -0
- envlib_api/tests/schemas/edr/schemas/geojson/polygonGeoJSON.yaml +19 -0
- envlib_api/tests/schemas/edr/schemas/i18n.yaml +4 -0
- envlib_api/tests/schemas/edr/schemas/numberMatched.yaml +7 -0
- envlib_api/tests/schemas/edr/schemas/numberReturned.yaml +12 -0
- envlib_api/tests/schemas/edr/schemas/parameterGroup.yaml +30 -0
- envlib_api/tests/schemas/edr/schemas/queries/instances.yaml +26 -0
- envlib_api/tests/support.py +320 -0
- envlib_api/tests/test_alerting_and_guards.py +325 -0
- envlib_api/tests/test_api.py +808 -0
- envlib_api/tests/test_api_review.py +428 -0
- envlib_api/tests/test_grid.py +1075 -0
- envlib_api/tests/test_ops.py +358 -0
- envlib_api/tests/test_refresher.py +354 -0
- envlib_api/tests/test_schemas.py +91 -0
- envlib_api-0.3.0.dist-info/METADATA +408 -0
- envlib_api-0.3.0.dist-info/RECORD +116 -0
- envlib_api-0.3.0.dist-info/WHEEL +4 -0
- envlib_api-0.3.0.dist-info/entry_points.txt +3 -0
- envlib_api-0.3.0.dist-info/licenses/LICENSE +201 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
description: Property to contain any extra metadata information that is specific
|
|
2
|
+
to an individual data query
|
|
3
|
+
type: object
|
|
4
|
+
required:
|
|
5
|
+
- title
|
|
6
|
+
- description
|
|
7
|
+
- output_formats
|
|
8
|
+
- default_output_format
|
|
9
|
+
- crs_details
|
|
10
|
+
properties:
|
|
11
|
+
title:
|
|
12
|
+
description: title of the query
|
|
13
|
+
type: string
|
|
14
|
+
examples:
|
|
15
|
+
- Position query
|
|
16
|
+
description:
|
|
17
|
+
description: description of the query
|
|
18
|
+
type: string
|
|
19
|
+
examples:
|
|
20
|
+
- Query to return data for a defined well known text point
|
|
21
|
+
output_formats:
|
|
22
|
+
description: list of output formats supported by the Position query
|
|
23
|
+
type: array
|
|
24
|
+
items:
|
|
25
|
+
type: string
|
|
26
|
+
examples:
|
|
27
|
+
- - CoverageJSON
|
|
28
|
+
- GeoJSON
|
|
29
|
+
- IWXXM
|
|
30
|
+
- GRIB
|
|
31
|
+
default_output_format:
|
|
32
|
+
description: default output format for the Position query
|
|
33
|
+
type: string
|
|
34
|
+
crs_details:
|
|
35
|
+
description: List of key/value definitions for the CRS's supported by the Position query. The key is the query parameter and the value is the Well Known Text description
|
|
36
|
+
type: array
|
|
37
|
+
items:
|
|
38
|
+
$ref: crsObject.yaml
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
type: object
|
|
2
|
+
required:
|
|
3
|
+
- links
|
|
4
|
+
- id
|
|
5
|
+
- extent
|
|
6
|
+
- data_queries
|
|
7
|
+
- parameter_names
|
|
8
|
+
- output_formats
|
|
9
|
+
- crs
|
|
10
|
+
properties:
|
|
11
|
+
links:
|
|
12
|
+
type: array
|
|
13
|
+
items:
|
|
14
|
+
$ref: ../core/link.yaml
|
|
15
|
+
examples:
|
|
16
|
+
- - href: https://example.org/service/description.html
|
|
17
|
+
hreflang: en
|
|
18
|
+
rel: service-doc
|
|
19
|
+
type: text/html
|
|
20
|
+
title: ""
|
|
21
|
+
- href: https://example.org/service/licence.html
|
|
22
|
+
hreflang: en
|
|
23
|
+
rel: licence
|
|
24
|
+
type: text/html
|
|
25
|
+
title: ""
|
|
26
|
+
- href: https://example.org/service/terms-and-conditions.html
|
|
27
|
+
hreflang: en
|
|
28
|
+
rel: restrictions
|
|
29
|
+
type: text/html
|
|
30
|
+
title: ""
|
|
31
|
+
- href: https://example.org/edr/collections/the_collection_id/
|
|
32
|
+
hreflang: en
|
|
33
|
+
rel: collection
|
|
34
|
+
type: collection
|
|
35
|
+
title: Collection
|
|
36
|
+
- href: https://example.org/edr/collections/the_collection_id/position
|
|
37
|
+
hreflang: en
|
|
38
|
+
rel: data
|
|
39
|
+
type: position
|
|
40
|
+
title: Position
|
|
41
|
+
- href: https://example.org/edr/collections/the_collection_id/area
|
|
42
|
+
hreflang: en
|
|
43
|
+
rel: data
|
|
44
|
+
type: area
|
|
45
|
+
title: Area
|
|
46
|
+
id:
|
|
47
|
+
description: id of the collection
|
|
48
|
+
type: string
|
|
49
|
+
examples:
|
|
50
|
+
- Metar data
|
|
51
|
+
title:
|
|
52
|
+
description: title of the collection
|
|
53
|
+
type: string
|
|
54
|
+
examples:
|
|
55
|
+
- Metar observations
|
|
56
|
+
description:
|
|
57
|
+
description: description of the collection
|
|
58
|
+
type: string
|
|
59
|
+
examples:
|
|
60
|
+
- Last 24 hours Metar observations
|
|
61
|
+
keywords:
|
|
62
|
+
description: List of keywords which help to describe the collection
|
|
63
|
+
type: array
|
|
64
|
+
items:
|
|
65
|
+
type: string
|
|
66
|
+
extent:
|
|
67
|
+
$ref: extent.yaml
|
|
68
|
+
data_queries:
|
|
69
|
+
description: Detailed information relevant to individual query types
|
|
70
|
+
type: object
|
|
71
|
+
properties:
|
|
72
|
+
position:
|
|
73
|
+
type: object
|
|
74
|
+
properties:
|
|
75
|
+
link:
|
|
76
|
+
$ref: positionLink.yaml
|
|
77
|
+
radius:
|
|
78
|
+
type: object
|
|
79
|
+
properties:
|
|
80
|
+
link:
|
|
81
|
+
$ref: radiusLink.yaml
|
|
82
|
+
area:
|
|
83
|
+
type: object
|
|
84
|
+
properties:
|
|
85
|
+
link:
|
|
86
|
+
$ref: areaLink.yaml
|
|
87
|
+
cube:
|
|
88
|
+
type: object
|
|
89
|
+
properties:
|
|
90
|
+
link:
|
|
91
|
+
$ref: cubeLink.yaml
|
|
92
|
+
trajectory:
|
|
93
|
+
type: object
|
|
94
|
+
properties:
|
|
95
|
+
link:
|
|
96
|
+
$ref: trajectoryLink.yaml
|
|
97
|
+
corridor:
|
|
98
|
+
type: object
|
|
99
|
+
properties:
|
|
100
|
+
link:
|
|
101
|
+
$ref: corridorLink.yaml
|
|
102
|
+
locations:
|
|
103
|
+
type: object
|
|
104
|
+
properties:
|
|
105
|
+
link:
|
|
106
|
+
$ref: locationsLink.yaml
|
|
107
|
+
items:
|
|
108
|
+
type: object
|
|
109
|
+
properties:
|
|
110
|
+
link:
|
|
111
|
+
$ref: itemsLink.yaml
|
|
112
|
+
instances:
|
|
113
|
+
type: object
|
|
114
|
+
properties:
|
|
115
|
+
link:
|
|
116
|
+
$ref: instancesLink.yaml
|
|
117
|
+
crs:
|
|
118
|
+
description: list of the coordinate reference systems the collection results can support
|
|
119
|
+
type: array
|
|
120
|
+
items:
|
|
121
|
+
type: string
|
|
122
|
+
output_formats:
|
|
123
|
+
description: list of formats the results can be presented in
|
|
124
|
+
type: array
|
|
125
|
+
items:
|
|
126
|
+
type: string
|
|
127
|
+
examples:
|
|
128
|
+
- - CoverageJSON
|
|
129
|
+
- GeoJSON
|
|
130
|
+
- IWXXM
|
|
131
|
+
- GRIB
|
|
132
|
+
parameter_names:
|
|
133
|
+
description: list of the data parameters available in the collection
|
|
134
|
+
type: object
|
|
135
|
+
additionalProperties:
|
|
136
|
+
items:
|
|
137
|
+
$ref: parameterNames.yaml
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type: object
|
|
2
|
+
required:
|
|
3
|
+
- links
|
|
4
|
+
- collections
|
|
5
|
+
properties:
|
|
6
|
+
links:
|
|
7
|
+
type: array
|
|
8
|
+
items:
|
|
9
|
+
$ref: ../core/link.yaml
|
|
10
|
+
examples:
|
|
11
|
+
- - href: https://example.org/edr/collections
|
|
12
|
+
hreflang: en
|
|
13
|
+
rel: self
|
|
14
|
+
type: application/yaml
|
|
15
|
+
- href: https://example.org/edr/collections?f=html
|
|
16
|
+
hreflang: en
|
|
17
|
+
rel: alternate
|
|
18
|
+
type: text/html
|
|
19
|
+
- href: https://example.org/edr/collections?f=xml
|
|
20
|
+
hreflang: en
|
|
21
|
+
rel: alternate
|
|
22
|
+
type: application/xml
|
|
23
|
+
collections:
|
|
24
|
+
type: array
|
|
25
|
+
items:
|
|
26
|
+
$ref: collection.yaml
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
allOf:
|
|
2
|
+
- $ref: DataQuery.yaml
|
|
3
|
+
required:
|
|
4
|
+
- width_units
|
|
5
|
+
- height_units
|
|
6
|
+
properties:
|
|
7
|
+
query_type:
|
|
8
|
+
description: Type of EDR query
|
|
9
|
+
type: string
|
|
10
|
+
enum:
|
|
11
|
+
- corridor
|
|
12
|
+
examples:
|
|
13
|
+
- corridor
|
|
14
|
+
width_units:
|
|
15
|
+
description: list of width distance units distance values can be specified in
|
|
16
|
+
type: array
|
|
17
|
+
items:
|
|
18
|
+
type: string
|
|
19
|
+
examples:
|
|
20
|
+
- - km
|
|
21
|
+
- miles
|
|
22
|
+
height_units:
|
|
23
|
+
description: list of height distance units distance values can be specified in
|
|
24
|
+
type: array
|
|
25
|
+
items:
|
|
26
|
+
type: string
|
|
27
|
+
examples:
|
|
28
|
+
- - m
|
|
29
|
+
- hPa
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type: object
|
|
2
|
+
required:
|
|
3
|
+
- crs
|
|
4
|
+
- wkt
|
|
5
|
+
properties:
|
|
6
|
+
crs:
|
|
7
|
+
description: name of the coordinate reference system, used as the value in the crs query parameter to define the required output CRS
|
|
8
|
+
type: string
|
|
9
|
+
examples:
|
|
10
|
+
- native
|
|
11
|
+
wkt:
|
|
12
|
+
description: Well Known text description of the coordinate reference system
|
|
13
|
+
type: string
|
|
14
|
+
examples:
|
|
15
|
+
- 'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]'
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
allOf:
|
|
2
|
+
- $ref: DataQuery.yaml
|
|
3
|
+
required:
|
|
4
|
+
- height_units
|
|
5
|
+
properties:
|
|
6
|
+
query_type:
|
|
7
|
+
description: Type of EDR query
|
|
8
|
+
type: string
|
|
9
|
+
enum:
|
|
10
|
+
- cube
|
|
11
|
+
examples:
|
|
12
|
+
- cube
|
|
13
|
+
height_units:
|
|
14
|
+
description: list of z distance units vertical values can be specified in
|
|
15
|
+
type: array
|
|
16
|
+
items:
|
|
17
|
+
type: string
|
|
18
|
+
examples:
|
|
19
|
+
- - m
|
|
20
|
+
- hPa
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
description: >-
|
|
2
|
+
The extent of the information in the collection. In the Core only spatial and
|
|
3
|
+
temporal
|
|
4
|
+
|
|
5
|
+
extents are specified. Extensions may add additional members to represent other
|
|
6
|
+
|
|
7
|
+
extents, for example, thermal or pressure ranges.
|
|
8
|
+
type: object
|
|
9
|
+
properties:
|
|
10
|
+
spatial:
|
|
11
|
+
description: The spatial extent of the information in the collection.
|
|
12
|
+
type: object
|
|
13
|
+
required:
|
|
14
|
+
- bbox
|
|
15
|
+
- crs
|
|
16
|
+
properties:
|
|
17
|
+
bbox:
|
|
18
|
+
description: >-
|
|
19
|
+
One or more bounding boxes that describe the spatial extent of the
|
|
20
|
+
dataset.
|
|
21
|
+
|
|
22
|
+
In the Core only a single bounding box is supported. Extensions may support
|
|
23
|
+
|
|
24
|
+
additional areas. If multiple areas are provided, the union of the bounding
|
|
25
|
+
|
|
26
|
+
boxes describes the spatial extent.
|
|
27
|
+
type: array
|
|
28
|
+
minItems: 1
|
|
29
|
+
items:
|
|
30
|
+
description: >-
|
|
31
|
+
Each bounding box is provided as four or six numbers, depending on
|
|
32
|
+
|
|
33
|
+
whether the coordinate reference system includes a vertical axis
|
|
34
|
+
|
|
35
|
+
(height or depth):
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
* Lower left corner, coordinate axis 1
|
|
39
|
+
|
|
40
|
+
* Lower left corner, coordinate axis 2
|
|
41
|
+
|
|
42
|
+
* Minimum value, coordinate axis 3 (optional)
|
|
43
|
+
|
|
44
|
+
* Upper right corner, coordinate axis 1
|
|
45
|
+
|
|
46
|
+
* Upper right corner, coordinate axis 2
|
|
47
|
+
|
|
48
|
+
* Maximum value, coordinate axis 3 (optional)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
The coordinate reference system of the values is WGS 84 longitude/latitude
|
|
52
|
+
|
|
53
|
+
(https://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate
|
|
54
|
+
|
|
55
|
+
reference system is specified in `crs`.
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
For WGS 84 longitude/latitude the values are in most cases the sequence of
|
|
59
|
+
|
|
60
|
+
minimum longitude, minimum latitude, maximum longitude and maximum latitude.
|
|
61
|
+
|
|
62
|
+
However, in cases where the box spans the antimeridian the first value
|
|
63
|
+
|
|
64
|
+
(west-most box edge) is larger than the third value (east-most box edge).
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
If the vertical axis is included, the third and the sixth number are
|
|
68
|
+
|
|
69
|
+
the bottom and the top of the 3-dimensional bounding box.
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
If a feature has multiple spatial geometry properties, it is the decision of the
|
|
73
|
+
|
|
74
|
+
server whether only a single spatial geometry property is used to determine
|
|
75
|
+
|
|
76
|
+
the extent or all relevant geometries.
|
|
77
|
+
oneOf:
|
|
78
|
+
- items:
|
|
79
|
+
type: number
|
|
80
|
+
minItems: 4
|
|
81
|
+
maxItems: 4
|
|
82
|
+
type: array
|
|
83
|
+
- items:
|
|
84
|
+
type: number
|
|
85
|
+
minItems: 6
|
|
86
|
+
maxItems: 6
|
|
87
|
+
type: array
|
|
88
|
+
examples:
|
|
89
|
+
- [[-180, -90, 180, 90]]
|
|
90
|
+
|
|
91
|
+
values:
|
|
92
|
+
description: |-
|
|
93
|
+
Provides information about the spatial resolution available in the collection
|
|
94
|
+
for the x and y coordinates
|
|
95
|
+
as number of repetitions / minimum value / interval (e.g. "R720/0/0.5")
|
|
96
|
+
or a list of the values (e.g. 0, 0.5, 1.0, 1.5 ... 715, 720)
|
|
97
|
+
type: object
|
|
98
|
+
required:
|
|
99
|
+
- x
|
|
100
|
+
- y
|
|
101
|
+
properties:
|
|
102
|
+
x:
|
|
103
|
+
type: array
|
|
104
|
+
description: |-
|
|
105
|
+
x coordinates as number of repetitions / minimum value / interval
|
|
106
|
+
(e.g. "R720/0/0.5") or a list of the values
|
|
107
|
+
(e.g. 0, 0.5, 1.0, 1.5 ... 715, 720)
|
|
108
|
+
items:
|
|
109
|
+
type:
|
|
110
|
+
- string
|
|
111
|
+
y:
|
|
112
|
+
type: array
|
|
113
|
+
description: |-
|
|
114
|
+
y coordinates as number of repetitions / minimum value / interval
|
|
115
|
+
(e.g. "R361/90/-0.5") or a list of the values
|
|
116
|
+
(e.g. 90, 89.5, 89, 88.5 ... -89.5,-90)
|
|
117
|
+
items:
|
|
118
|
+
type:
|
|
119
|
+
- string
|
|
120
|
+
crs:
|
|
121
|
+
description: >-
|
|
122
|
+
Coordinate reference system of the coordinates in the spatial extent
|
|
123
|
+
|
|
124
|
+
(property `bbox`). The default reference system is WGS 84 longitude/latitude.
|
|
125
|
+
|
|
126
|
+
In the Core this is the only supported coordinate reference system.
|
|
127
|
+
|
|
128
|
+
Extensions may support additional coordinate reference systems
|
|
129
|
+
type: string
|
|
130
|
+
default: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS
|
|
131
|
+
84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
|
|
132
|
+
name:
|
|
133
|
+
description: Name of the vertical coordinate reference system
|
|
134
|
+
type: string
|
|
135
|
+
temporal:
|
|
136
|
+
description: The temporal extent of the information in the collection.
|
|
137
|
+
type: object
|
|
138
|
+
required:
|
|
139
|
+
- interval
|
|
140
|
+
- trs
|
|
141
|
+
properties:
|
|
142
|
+
interval:
|
|
143
|
+
description: RFC3339 compliant Date and Time
|
|
144
|
+
type: array
|
|
145
|
+
minItems: 1
|
|
146
|
+
items:
|
|
147
|
+
description: |-
|
|
148
|
+
Begin and end times of the time interval. The timestamps are in the
|
|
149
|
+
temporal coordinate reference system specified in `trs`. By default
|
|
150
|
+
this is the Gregorian calendar.
|
|
151
|
+
type: array
|
|
152
|
+
minItems: 2
|
|
153
|
+
maxItems: 2
|
|
154
|
+
items:
|
|
155
|
+
type:
|
|
156
|
+
- string
|
|
157
|
+
- "null"
|
|
158
|
+
examples:
|
|
159
|
+
- [["2020-11-12T12:15Z","2020-11-12T12:15Z"]]
|
|
160
|
+
- [["2020-11-12T12:15Z","2020-11-12T12:45Z"]]
|
|
161
|
+
- [["2022-01-14T09:00Z","2022-01-15T09:00Z"]]
|
|
162
|
+
- [["2022-01-14T09:00Z","2022-01-14T21:00Z"]]
|
|
163
|
+
- [["2022-01-14T09:00Z","2022-01-16T09:00Z"]]
|
|
164
|
+
values:
|
|
165
|
+
description: |-
|
|
166
|
+
Provides information about the time intervals available in the collection
|
|
167
|
+
as ISO8601 compliant dates, either as a time range specified
|
|
168
|
+
as start time / end time (e.g. 2017-11-14T09:00Z/2017-11-14T21:00Z) or
|
|
169
|
+
as number of repetitions / start time / interval (e.g. R4/2017-11-14T21:00Z/PT3H)
|
|
170
|
+
or a list of time values (e.g.
|
|
171
|
+
2017-11-14T09:00Z,2017-11-14T12:00Z,2017-11-14T15:00Z,2017-11-14T18:00Z,2017-11-14T21:00Z)
|
|
172
|
+
type: array
|
|
173
|
+
minItems: 1
|
|
174
|
+
items:
|
|
175
|
+
type:
|
|
176
|
+
- string
|
|
177
|
+
- "null"
|
|
178
|
+
minItems: 1
|
|
179
|
+
examples:
|
|
180
|
+
- ["2020-11-12T12:15Z"]
|
|
181
|
+
- ["2020-11-12T12:15Z","2020-11-12T12:30Z","2020-11-12T12:45Z"]
|
|
182
|
+
- ["R12/2022-01-14T09:00Z/2022-01-15T09:00Z"]
|
|
183
|
+
- ["R12/2022-01-14T09:00Z/PT1H"]
|
|
184
|
+
- ["R12/2022-01-14T09:00Z/PT1H","R4/2022-01-14T21:00Z/PT3H","R4/2022-01-15T09:00Z/PT6H"]
|
|
185
|
+
trs:
|
|
186
|
+
description: >-
|
|
187
|
+
Coordinate reference system of the coordinates in the temporal extent
|
|
188
|
+
|
|
189
|
+
(property `interval`). The default reference system is the Gregorian calendar.
|
|
190
|
+
|
|
191
|
+
In the Core this is the only supported temporal coordinate reference system.
|
|
192
|
+
|
|
193
|
+
Extensions may support additional temporal coordinate reference systems
|
|
194
|
+
type: string
|
|
195
|
+
examples:
|
|
196
|
+
- TIMECRS["DateTime",TDATUM["Gregorian Calendar"],CS[TemporalDateTime,1],AXIS["Time (T)",future]]
|
|
197
|
+
default: https://www.opengis.net/def/uom/ISO-8601/0/Gregorian
|
|
198
|
+
name:
|
|
199
|
+
description: Name of the temporal coordinate reference system
|
|
200
|
+
type: string
|
|
201
|
+
vertical:
|
|
202
|
+
description: The vertical extent of the information in the collection.
|
|
203
|
+
type: object
|
|
204
|
+
required:
|
|
205
|
+
- interval
|
|
206
|
+
- vrs
|
|
207
|
+
properties:
|
|
208
|
+
interval:
|
|
209
|
+
description: >-
|
|
210
|
+
If multiple intervals are provided, the union of the intervals describes the vertical extent.
|
|
211
|
+
type: array
|
|
212
|
+
minItems: 1
|
|
213
|
+
items:
|
|
214
|
+
description: >-
|
|
215
|
+
minimum and maximum heights of the vertical interval. The values are
|
|
216
|
+
in the
|
|
217
|
+
|
|
218
|
+
vertical coordinate reference system specified in `vrs`. By default
|
|
219
|
+
|
|
220
|
+
this is the vertical coordinate reference system of the source information.
|
|
221
|
+
type: array
|
|
222
|
+
minItems: 1
|
|
223
|
+
items:
|
|
224
|
+
type:
|
|
225
|
+
- string
|
|
226
|
+
- "null"
|
|
227
|
+
examples:
|
|
228
|
+
- [["2","100"]]
|
|
229
|
+
values:
|
|
230
|
+
description: |-
|
|
231
|
+
Vertical level intervals that data in the collection is available at
|
|
232
|
+
these can be defined as follows:
|
|
233
|
+
min level / max level (e.g. "2/100") or
|
|
234
|
+
as number of repetitions / start level / interval (e.g."R5/100/50")
|
|
235
|
+
or a list of vertical levels (e.g. "2",10,"80","100"}
|
|
236
|
+
The value `null` is supported and indicates an open vertical interval.
|
|
237
|
+
type: array
|
|
238
|
+
minItems: 1
|
|
239
|
+
items:
|
|
240
|
+
type:
|
|
241
|
+
- string
|
|
242
|
+
- "null"
|
|
243
|
+
examples:
|
|
244
|
+
- ["2/100"]
|
|
245
|
+
- ["R20/1000/-50"]
|
|
246
|
+
- ["2","10","80", "100"]
|
|
247
|
+
vrs:
|
|
248
|
+
description: |-
|
|
249
|
+
Coordinate reference system of the coordinates in the vertical extent
|
|
250
|
+
(property `interval`).
|
|
251
|
+
type: string
|
|
252
|
+
example: VERTCS["WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PARAMETER["Vertical_Shift",0.0],PARAMETER["Direction",1.0],UNIT["Meter",1.0]],AXIS["Up",UP]
|
|
253
|
+
default: VERTCS["WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PARAMETER["Vertical_Shift",0.0],PARAMETER["Direction",1.0],UNIT["Meter",1.0]],AXIS["Up",UP]
|
|
254
|
+
name:
|
|
255
|
+
description: Name of the vertical coordinate reference system
|
|
256
|
+
type: string
|
|
257
|
+
custom:
|
|
258
|
+
description: The custom extents available in the collection.
|
|
259
|
+
type: array
|
|
260
|
+
items:
|
|
261
|
+
description: custom dimension defintion
|
|
262
|
+
type: object
|
|
263
|
+
required:
|
|
264
|
+
- id
|
|
265
|
+
- interval
|
|
266
|
+
- reference
|
|
267
|
+
properties:
|
|
268
|
+
id:
|
|
269
|
+
description: >-
|
|
270
|
+
The name of the custom dimension.
|
|
271
|
+
type: string
|
|
272
|
+
example: "members"
|
|
273
|
+
interval:
|
|
274
|
+
description: >-
|
|
275
|
+
If multiple intervals are provided, the union of the intervals describes the custom extent.
|
|
276
|
+
type: array
|
|
277
|
+
minItems: 1
|
|
278
|
+
items:
|
|
279
|
+
description: >-
|
|
280
|
+
minimum and maximum vakues of the custom interval.
|
|
281
|
+
type: array
|
|
282
|
+
minItems: 1
|
|
283
|
+
items:
|
|
284
|
+
type:
|
|
285
|
+
- string
|
|
286
|
+
- "null"
|
|
287
|
+
examples:
|
|
288
|
+
- [["0","50"]]
|
|
289
|
+
values:
|
|
290
|
+
description: |-
|
|
291
|
+
values that data in the collection is available at
|
|
292
|
+
these can be defined as follows:
|
|
293
|
+
min level / max level (e.g. "2/100") or
|
|
294
|
+
as number of repetitions / start level / interval (e.g."R5/100/50")
|
|
295
|
+
or a list of custom dimension values (e.g. "25",50,"75"}
|
|
296
|
+
The value `null` is supported and indicates an open custom interval.
|
|
297
|
+
type: array
|
|
298
|
+
minItems: 1
|
|
299
|
+
items:
|
|
300
|
+
type:
|
|
301
|
+
- string
|
|
302
|
+
- "null"
|
|
303
|
+
examples:
|
|
304
|
+
- ["25/75"]
|
|
305
|
+
- ["R20/0/5"]
|
|
306
|
+
- ["25","50","75"]
|
|
307
|
+
reference:
|
|
308
|
+
description: |-
|
|
309
|
+
URI to a definition or description of the custom dimension
|
|
310
|
+
type: string
|
|
311
|
+
example: https://en.wikipedia.org/wiki/Percentile
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
description: Property to contain any extra metadata information that is specific
|
|
2
|
+
to an individual data queries
|
|
3
|
+
type: object
|
|
4
|
+
properties:
|
|
5
|
+
title:
|
|
6
|
+
description: title of the query
|
|
7
|
+
type: string
|
|
8
|
+
examples:
|
|
9
|
+
- Instances query
|
|
10
|
+
description:
|
|
11
|
+
description: description of the query
|
|
12
|
+
type: string
|
|
13
|
+
examples:
|
|
14
|
+
- Instances of collection each representing different versions
|
|
15
|
+
query_type:
|
|
16
|
+
description: Instances of collection
|
|
17
|
+
type: string
|
|
18
|
+
enum:
|
|
19
|
+
- instances
|
|
20
|
+
examples:
|
|
21
|
+
- instances
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
description: Property to contain any extra metadata information that is specific
|
|
2
|
+
to an individual data queries
|
|
3
|
+
type: object
|
|
4
|
+
properties:
|
|
5
|
+
title:
|
|
6
|
+
description: title of the query
|
|
7
|
+
type: string
|
|
8
|
+
examples:
|
|
9
|
+
- Items query
|
|
10
|
+
description:
|
|
11
|
+
description: description of the query
|
|
12
|
+
type: string
|
|
13
|
+
examples:
|
|
14
|
+
- Query to return data for a defined well known text point
|
|
15
|
+
query_type:
|
|
16
|
+
description: Type of EDR query
|
|
17
|
+
type: string
|
|
18
|
+
enum:
|
|
19
|
+
- items
|
|
20
|
+
examples:
|
|
21
|
+
- items
|