Skip to content

Commit

Permalink
Cmr 8924 deploy grid schema to cmr (#1841)
Browse files Browse the repository at this point in the history
* CMR-8924: Updated grid and order-option schemas

* CMR-8924: Update more files

* CMR-8924: addressed PR comment.

---------

Co-authored-by: siwei xu <[email protected]>
  • Loading branch information
sxu123 and siwei xu authored Jan 28, 2023
1 parent a7ee1fd commit 86a118b
Show file tree
Hide file tree
Showing 8 changed files with 384 additions and 213 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ These parameters will match fields within a Data Quality Summary. They are case
* provider - options: pattern, ignore\_case
* native\_id - options: pattern, ignore\_case
* concept\_id
* id (legacy identifier)
* id

```
curl "%CMR-ENDPOINT%/data-quality-summaries?concept_id=DQ1200000000-PROV1"
Expand Down
81 changes: 46 additions & 35 deletions schemas/resources/schemas/grid/v0.0.1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,53 +11,64 @@
"GridDefinition": {
"CoordinateReferenceSystemID": {
"Type": "EPSG",
"Code": "EPSG:4326",
"Code": "EPSG:4326",
"Title": "WGS84 - World Geodetic System 1984, used in GPS - EPSG:4326",
"URL": "https://epsg.io/4326"
},
"DimensionSize": {
"Height": 3.14,
"Width": 3.14,
"Time": "12:00:00Z",
"Height": 1,
"Width": 1,
"Time": 2,
"Other": {
"Name": "Other Dimension Size",
"Value": "42",
"Description": "Details about the other dimension size."
}
},
"Resolution": {
"Unit": "Meter",
"LongitudeResolution": 64,
"LatitudeResolution": 32
},
"SpatialExtent": {
"0_360_DegreeProjection": false,
"NorthBoundingCoordinate": -90.0,
"EastBoundingCoordinate": 180.0,
"SouthBoundingCoordinate": 90.0,
"WestBoundingCoordinate": -180.0
},
"ScaleExtent": {

"ScaleDimensions": [{
"Unit": "Meter",
"0_360_DegreeProjection": true,
"Y-Dimension": 0,
"X-Dimension": 30
},
{
"SpatialConstraint": {
"0_360_DegreeProjection": true,
"NorthBoundingCoordinate": 90.0,
"EastBoundingCoordinate": 0.0,
"SouthBoundingCoordinate": -90.0,
"WestBoundingCoordinate": 90.0,
"SpatialResolution": {
"Unit": "Degree",
"LongitudeResolution": "9",
"LatitudeResolution": "9"
}
},
"DimensionScale": {
"0_360_DegreeProjection": false,
"X":
{
"Minimum": 1,
"Maximum": 59,
"Unit": "Meter",
"0_360_DegreeProjection": true,
"Y-Dimension": 0,
"X-Dimension": 360
},
{
"Resolution": 0.125
},
"Y":
{
"Minimum": 1,
"Maximum": 59,
"Unit": "Meter",
"0_360_DegreeProjection": true,
"Y-Dimension": 0,
"X-Dimension": 180
}]
"Resolution": 0.5
},
"Time":
{
"Minimum": "2020-01-01T00:00:00.001Z",
"Maximum": "2020-01-30T23:59:59Z",
"Unit": "DateTime",
"Resolution": 0.125
},
"Other":
{
"Minimum": 0,
"Maximum": 44,
"Unit": "Meter",
"Resolution": 0.5
}
},

"Distortion": {
"Description": "Distortion around the grid edge",
Expand Down Expand Up @@ -89,7 +100,7 @@
"MetadataDate": {"Create": "2022-04-20T08:00:00Z"},
"RelatedURLs": [
{
"URL": "https://example.gov/",
"URL": "https://example.gov",
"URLContentType": "C-Type",
"Type": "Type"
},{
Expand All @@ -104,4 +115,4 @@
"Description": "Sample",
"DataType": "STRING"
}
}
}
Loading

0 comments on commit 86a118b

Please sign in to comment.