Skip to content

Connection Catalog Datacubes

Peter Baumann edited this page Mar 19, 2024 · 1 revision

Connecting Catalog and Datacubes

Catalog entries and rasdaman datacubes mutually reference each other.

For the discussion below, assume {dc} is the identifier of a coverage datacube, for example LGN.

Catalog to Datacube

In the STAC record, the following references are generated:

Datacube to Catalog

In the coverage metadata, a slot is added (in addition to potential further metadata) based on [this example by KS}(https://github.com/FAIRiCUBE/data-requests/blob/main/encoding-examples/dominant_leaf_type-metadata.xml) (OGC CIS 1.0 schema; CIS 1.1 does not need the Extension element):

<gmlcov:metadata>
  <gmlcov:Extension>
    <fic-md:fairicubeMetadata
      xlink:role="https://codelists.fairicube.eu/metadata/MetadataCatalogLink"
      xlink:title="{dc} metadata on the FAIRiCUBE Catalog"
      xlink:href="https://stacapi.eoxhub.fairicube.eu//collections/index/items/{dc}"/>
    <rasdaman:covMetadata>
      ...
    </rasdaman:covMetadata>
  </gmlcov:Extension>
</gmlcov:metadata>

Underlying XML schema (namespace fic pointing to https://schemas.fairicube.eu/coveragemetadata (TBC):

<?xml version="1.0" encoding="UTF-8"?>
<schema
    xmlns:xlink="http://www.w3.org/1999/xlink"
    targetNamespace="https://schemas.fairicube.eu/coveragemetadata"
    elementFormDefault="qualified"
    version="1.1.0">
    <annotation>
        <documentation>Schema of FAIRiCUBE coverage metadata extension
        </documentation>
    </annotation>
    <element name="fairicubeMetadata">
        <complexType name="FairicubeMetadataType">
            <attribute name="role"  type="uriReference" use="required"/>
            <attribute name="title" type="string"       use="required"/>
            <attribute name="href"  type="xlink:href"   use="required"/>
        </complexType>
    </element>
</schema>
Clone this wiki locally