NetCDF Containers 1 documentation

2. Semantic Containers

«  1. NetCDF Containers Intentions   ::   Contents   ::   3. NetCDF3 Encoding  »

2. Semantic Containers

Semantic containers group NetCDF variables together and provide a named role for each contained variable.

Types of semantic container with clearly mandated roles can be defined by conventions authorities.

2.1. Container Vocabulary

A new terminology is defined, a container_type. This may be used to indicate that a particular set of container semantics are being used.

It is highly recommended that the ‘value’ of the container_type attribute is a URI, providing explicit resolution of the associated semantics for named roles and attributes. container_type identifiers may be used to register a new container type and reference associated semantics.

NetCDF semantic containers does not define extended semantics for defined types, it merely provides the mechanism for others to do so. A simple type is defined (hopefully this will be defined by a netCDF semantic containers owned URI in the future). This defines no further controlled semantics attributes.

Communities may define their own container_type values and within this scope define a controlled set of semantics for attribute names and allowable values to allow rich semantic content to be provided.

A container type may define container roles. These are attribute names which enable a particular member to be explicitly linked via a named role, with associated semantics, defined by the container type. Container roles link directly to variables within the scope of the container. All container role attribute names must be prepended with the string container_role_ to enable identification by software.

2.2. Exclusive Containment

Semantic containers set up an exclusive relationship within a data set. A variable which is contained by one container may not also be contained by another container; the relations are exclusive.

«  1. NetCDF Containers Intentions   ::   Contents   ::   3. NetCDF3 Encoding  »