Skip to content

Commit

Permalink
Merge branch 'main' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
baloola committed Jun 17, 2024
2 parents 6f3bf7a + 13a23f1 commit db87445
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions CoverageEncoding/rangeType.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Specification for provision of rangeType information

OGC CIS uses [SWE Common](https://portal.ogc.org/files/?artifact_id=41157) DataRecord types for the provision of rangeType (description of what the numbers provided in the coverage range actually mean)
To date, this element has often been filled with erroneous values, not taking requirements from the SWE Common specification into account.
In order to ensure correct provision of CIS encoded data, we will describe the requirements here, together with examples.
OGC CIS uses [SWE Common](https://portal.ogc.org/files/?artifact_id=41157) DataRecord types for the provision of rangeType (description of what the numbers provided in the coverage range actually mean).
To date, it is not always entirely clear how to use this DataRecord element in a coverage context, one reason being the known complexity of SWE; also, in a coverage context not all sensor acquisition information may be of equal relevance.
In order to clarify and exemplify use of SWE Common in CIS encoded data, we will describe the requirements here, together with examples.

A challenge in this context is that many of the detail metadata are not readily available in machine-readable format. In FAIRiCUBE, and likely in many EO data services, data sources used typically require human interpretation of descriptions written in HTML, PDF, or similar, with varying mileage of completeness and conciseness. As both FAIRiCUBE platforms, EOxHub and rasdaman, support the OGC coverage standards, goal is to achieve the same level of (SWE and other) metadata on both. This exercise is considered useful for establishing general best practices useful in other projects, too.

## SWE Common
The OGC Sensor Web Enablement Suite (SWE) aims to cover requirements pertaining to measured or observed data.
Expand Down
2 changes: 1 addition & 1 deletion stac/stac-generator/test/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def validate_item(item: pystac.item.Item):
# Temporal
assert "t" in item.properties["cube:dimensions"].keys() or "time" in item.properties["cube:dimensions"].keys()
time = dict()
if "t" in item.properties["cube:dimensions"].keys() or "time" in item.properties["cube:dimensions"].keys():
if "t" in item.properties["cube:dimensions"].keys():
time = item.properties["cube:dimensions"]["t"]
else:
time = item.properties["cube:dimensions"]["time"]
Expand Down

0 comments on commit db87445

Please sign in to comment.