granger@ucar.edu
December 2002
A data model is a type, in the computer science sense. It describes the set of values that can be stored in instances of the type. Like classes or structs, it is a hierarchy of primitive types. The basic primitive type is the field. Examples: NetCDF files define the data model in the header. An XML DTD is a data model. The set of fields written over a serial feed is a data model, but not necessarily the syntax. Data model also implies how the topology and mapping of a field are described.
There can be more than one way to serialize or record the values in a datamodel, just as there are machine-dependent ways to store a float. However, there is every intention that there can be a standard but transparent translation between the model and an on-the-wire format and file formats like netcdf. NetCDF translates its model directly to an on-disk binary format.
| Next | ||
| Motivations |