Skip to content

Commit

Permalink
Fixed standard symbol use in unitsystem definitions. (#514)
Browse files Browse the repository at this point in the history
* Fixed standard symbol use in unitsystem definitions.

The standard symbol is the symbol in the respective unit data schemas.

* Minor fixes in unit descriptions; fix year in si_1985 unitsystem

---------

Co-authored-by: Rickard Armiento <[email protected]>
  • Loading branch information
oke464 and rartino authored Apr 5, 2024
1 parent 308ee83 commit 582d1bc
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ title: "Bohr magneton"
symbol: "bohrmagneton"
display-symbol: '\(\mu_B\)'
description: |-
The 2018 CODATA Bohr magneton constant is defined as "1 \(\mu_B\) = 9.274 010 0783(28)·10^-24 J·T^-1" with joule and tesla conforming to the 2019 redefinition of the SI derived units.
The 2018 CODATA Bohr magneton constant is defined as "1 \(\mu_B\) = 9.274 010 0783(28)·10⁻²⁴ J·T⁻¹" with joule and tesla conforming to the 2019 redefinition of the SI derived units.
resources:
- relation: "2018 CODATA value Bohr magneton: source for relationship to joules*tesla^-1"
- relation: "2018 CODATA value Bohr magneton: source for relationship to SI units"
resource-id: "https://physics.nist.gov/cgi-bin/cuu/Value?mub"
- relation: "Wikipedia article describing the unit"
resource-id: "https://en.wikipedia.org/wiki/Bohr_magneton"
Expand Down
2 changes: 1 addition & 1 deletion schemas/src/defs/v1.2/prefixes/si/ronto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $id: "https://schemas.optimade.org/defs/v1.2/prefixes/si/ronto"
title: "ronto"
symbol: "r"
display-symbol: "r"
description: "The ronto SI prefix defined as a dimensionless multiple of 10^⁻²⁷, defined at the 27th CGPM Meeting in 2022, resolution 3."
description: "The ronto SI prefix defined as a dimensionless multiple of 10⁻²⁷, defined at the 27th CGPM Meeting in 2022, resolution 3."
resources:
- relation: "Definition in the 27th CGPM Meeting in 2022, resolution 3"
resource-id: "https://www.bipm.org/en/cgpm-2022/resolution-3"
Expand Down
2 changes: 1 addition & 1 deletion schemas/src/defs/v1.2/unitsystems/optimade/optimade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ x-optimade-definition:
units:
bit:
$$inherit: "/v1.2/units/independent/1948/information/bit"
byte:
B:
$$inherit: "/v1.2/units/iso-iec-80000/2008/information_science_and_technology/byte"
2 changes: 1 addition & 1 deletion schemas/src/defs/v1.2/unitsystems/si/si_1985.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |-
The SI unit system as represented in the 5th edition of the International System of Units.
The International System of Units (SI) is established and maintained by the General Conference on Weights and Measures (CGPM).
This represents the SI unit system described in the 5th edition of the International System of Units in 1995.
This represents the SI unit system described in the 5th edition of the International System of Units in 1985.
x-optimade-definition:
label: "si_1985_unitsystem"
kind: "unitsystem"
Expand Down
4 changes: 2 additions & 2 deletions schemas/src/defs/v1.2/unitsystems/si/si_accepted_2019.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ units:
$$inherit: "/v1.2/units/si/1970/accepted/day"
au:
$$inherit: "/v1.2/units/si/2019/accepted/astronomicalunit"
deg:
degree:
$$inherit: "/v1.2/units/si/1970/accepted/degree"
arcmin:
$$inherit: "/v1.2/units/si/1970/accepted/arcminute"
Expand All @@ -36,7 +36,7 @@ units:
$$inherit: "/v1.2/units/si/1983/accepted/litre"
t:
$$inherit: "/v1.2/units/si/2019/accepted/tonne"
da:
Da:
$$inherit: "/v1.2/units/si/1998/accepted/dalton"
eV:
$$inherit: "/v1.2/units/si/2019/accepted/electronvolt"
8 changes: 4 additions & 4 deletions schemas/src/defs/v1.2/unitsystems/si/si_general.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ units:
$$inherit: "/v1.2/units/si/general/arcminute"
arcsec:
$$inherit: "/v1.2/units/si/general/arcsecond"
are:
a:
$$inherit: "/v1.2/units/si/general/are"
au:
$$inherit: "/v1.2/units/si/general/astronomicalunit"
Expand All @@ -41,13 +41,13 @@ units:
$$inherit: "/v1.2/units/si/general/coulomb"
Ci:
$$inherit: "/v1.2/units/si/general/curie"
da:
Da:
$$inherit: "/v1.2/units/si/general/dalton"
day:
$$inherit: "/v1.2/units/si/general/day"
degC:
$$inherit: "/v1.2/units/si/general/degcelsius"
deg:
degree:
$$inherit: "/v1.2/units/si/general/degree"
eV:
$$inherit: "/v1.2/units/si/general/electronvolt"
Expand Down Expand Up @@ -87,7 +87,7 @@ units:
$$inherit: "/v1.2/units/si/general/minute"
mol:
$$inherit: "/v1.2/units/si/general/mole"
nauticalmile:
M:
$$inherit: "/v1.2/units/si/general/nauticalmile"
N:
$$inherit: "/v1.2/units/si/general/newton"
Expand Down

0 comments on commit 582d1bc

Please sign in to comment.