﻿# NOMAD archives: a quantity needs its schema, unit and processing context

Extract scientific learning tables from NOMAD archives without confusing raw files, normalized quantities and search summaries or discarding schema-defined physical units.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-nomad-archive-quantity-units-schema-not-field-name/
Language: en

## Separate uploaded files from processed archives

The [NOMAD glossary](https://docs.nomad-lab.eu/reference/glossary.html) distinguishes raw files, parsed and normalized processed data, and results used for summaries. These are related representations rather than interchangeable downloads. A training extractor should name the representation it reads. A value obtained from a search summary need not carry all the methodological context available in the complete archive, while an uploaded code output may still require parsing and explicit physical interpretation.

## Interpret quantities through their definitions

The [schema-language reference](https://docs.nomad-lab.eu/develop/reference/metainfo.html) associates quantities with types, shapes and units. Read the applicable schema definition instead of inferring a unit from an abbreviated field name or from another provider's convention. Two arrays called energy can encode different physical meanings or normalizations. When producing a flat model table, retain the original quantity path and the conversion rule so a later reader can establish which physical target each column actually represents.

## Avoid treating numerical normalization as scientific equivalence

Converting compatible units makes numbers comparable on a chosen scale; it does not make different physical observables or simulation methods identical. A total quantity and a per-particle quantity remain different targets unless a declared transformation supplies the necessary denominator. Likewise, changing the parser or normalizer can alter a processed representation without changing the uploaded file. Record the extraction context rather than assuming that a stable-looking entry identifier alone freezes every derived model feature.

## Keep references and hierarchy until their meaning is resolved

The [data-structure explanation](https://docs.nomad-lab.eu/explanation/data.html) describes archives as schema-governed entry documents. A reference to another section is not merely an inconvenient string to discard. It can establish which system, method or workflow a result belongs to. Resolve the needed relationships before flattening nested records, and validate that a target is attached to its intended input structure rather than to the first structurally similar section encountered during traversal.

## Publish an extraction contract with the model artifact

For a small sample, trace a final training row back to the archive path, schema definition, physical unit and relevant processing context. State how missing quantities and unresolved references were handled. The existing [entity-group guide](/journal/data-guide-entity-group-split-design/) and [software reproducibility guide](/journal/software-stack-reproducibility/) support related evaluation and environment records. A defensible scientific dataset preserves enough meaning to reconstruct the observable, rather than presenting a large numeric matrix whose column names conceal incompatible units, methods or structural assignments.
