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

mol/m3/uatm #208

Closed
andyjacobson opened this issue Dec 12, 2022 · 3 comments
Closed

mol/m3/uatm #208

andyjacobson opened this issue Dec 12, 2022 · 3 comments
Labels
question Further information is requested

Comments

@andyjacobson
Copy link

Howdy. I am forever telling collaborators that they should not write units like mol/m3/uatm, or g/m2/s and that they should instead write "mol m-3 uatm-1" or "mol/(m3 uatm)". However, I find it difficult to point to a place in the CF-spec that states this clearly. Is this written explicitly somewhere? Thanks!

@andyjacobson andyjacobson added the question Further information is requested label Dec 12, 2022
@davidhassell
Copy link
Collaborator

Hello @andyjacobson,

All three of mol/m3/uatm, mol m-3 uatm-1 and mol/(m3 uatm) all allowed by the UDUNITS syntax, and all describe exactly the same units, i.e. 9.86923266716013 m-2.kg-1.s2.mol. So whilst I personally am also not so fond of the "x/y/z" formatting, I think it's perfectly legal, I'm afraid!

Thanks,
David

@andyjacobson
Copy link
Author

David, thanks for your comments. I'm baffled as to why x/y/z would be legal syntax. Isn't that mathematically equivalent to (xz)/y, as opposed to the intended x/(yz)? Anyway, I guess I should take up my question with the UDUNITS folks.

@japamment
Copy link
Member

Closing this issue as the original question was answered.

@japamment japamment transferred this issue from cf-convention/discuss Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants