NcML 2.2 Schema & EMF Model Specification

The NcML 2.2 schema is implemented in Capella Datascience through the Eclipse Modeling Framework (EMF) package edu.ucar.unidata.namespaces.netcdf.ncml.netdcf.NetCDFPackage (namespace URI http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2).

Core EMF EClasses

EClass Description Key Features & Attributes
NetcdfType Root container representing a complete NetCDF/NcML dataset. location (URI/path), id, title, contains dimension, variable, attribute, group.
VariableType Represents a typed, multi-dimensional array variable. name, type (DataType: byte, short, int, long, float, double, string, structure), shape (space-separated dimension names), contains attribute.
DimensionType Represents a named coordinate axis or array length. name, length, isUnlimited, isShared.
AttributeType Key-value metadata attribute associated with a dataset or variable. name, value, type (DataType), separator.
GroupType Hierarchical namespace group (NetCDF-4/HDF5 group support). name, contains nested dimension, variable, group, attribute.

EMF Extension Parser

The .ncml extension is registered with NetCDFResourceFactoryImpl, enabling standard EMF ResourceSet.getResource(URI, true) calls to seamlessly deserialize and serialize NcML documents.