Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add units from ISO-IEC 80000 series #36

Open
anermina opened this issue Mar 27, 2023 · 3 comments
Open

Add units from ISO-IEC 80000 series #36

anermina opened this issue Mar 27, 2023 · 3 comments

Comments

@ronaldtse
Copy link
Contributor

Thank you @anermina , can you help make the PR?

Do we need to add Quantities or only Units?

@opoudjis
Copy link
Contributor

opoudjis commented Jun 7, 2023

Whatever source these have come for, they will need remapping to fit the YAML schema in this repository.

Compare our unitsdb:

Quantity:

NISTq158:
  dimension_url: "#NISTd68"
  quantity_type: derived
  quantity_name:
    - relative pressure coefficient
  unit_reference:
    - name: kelvin to the power minus one
      url: "#NISTu5e-1/1"

Unit:

"NISTu218":
  dimension_url: "#NISTd16"
  short: metric_horsepower
  root: true
  unit_system:
    type: "non-SI_not_acceptable"
    name: "non-SI"
  unit_name:
    - "horsepower, metric"
    - "metric horsepower"
  unit_symbols:
    - id: "hp_metric"
      ascii: "hp"
      html: "hp"
      mathml: "<mi mathvariant='normal'>hp</mi>"
      latex: \ensuremath{\mathrm{hp}}
      unicode: "hp"
  root_units:
    enumerated_root_units:
      - unit: "metric_horsepower"
        power_denominator: 1
        power_numerator: 1
  quantity_reference:
    - name: "power"
      url: "#NISTq20"

Whoever does this will also need to supply the unit references for quantities, and they will need to be analysed into base units of the metric system and dimensions whenever possible. Sometimes those analyses can be quite abstract; I remember at least one (angle?) devolving into a ratio.

With the URLs, do NIST need to be consulted to allocate the URIs? Or can we allocate at will?

I'm not volunteering to do this. But someone needs to.

@ronaldtse
Copy link
Contributor

With the URLs, do NIST need to be consulted to allocate the URIs? Or can we allocate at will?

We can allocate at will now. We actually need to change the namespaces to reflect CalConnect too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants