Skip to content

Commit 8ae8d03

Browse files
Merge pull request #1373 from radiantearth/unitless
docs: clarify unit field usage in common metadata
2 parents d442ab9 + 5d11632 commit 8ae8d03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

commons/common-metadata.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,10 @@ It is STRONGLY RECOMMENDED to provide units in one of the following two formats:
288288
- [UCUM](https://ucum.org/): The unit code that is compliant to the UCUM specification.
289289
- [UDUNITS-2](https://ncics.org/portfolio/other-resources/udunits2/): The unit symbol if available, otherwise the singular unit name.
290290

291+
To specify that a value is unitless (dimensionless), provide an empty string (`""`).
292+
If unit information is not available or not applicable, the `unit` field SHOULD be omitted entirely.
293+
The value `null` is not valid for this field.
294+
291295
### Statistics Object
292296

293297
Statistics usually specify the range of values by providing the `minimum` and `maximum` values,

0 commit comments

Comments
 (0)