Skip to content

LapseRate Unit: KiloDegreesCelsiusPerMeter instead of DegreesCelsiusPerKilometer #319

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

Closed
0xferit opened this issue Nov 10, 2017 · 1 comment

Comments

@0xferit
Copy link
Contributor

0xferit commented Nov 10, 2017

I recently sent a pull request for LapseRate quantity which is merged, but I see that I created a unit KiloDegreesCelsiusPerMeter instead of DegreesCelsiusPerKilometer. I want to fix it but I don't know how to prefix a unit which comes after Per.

I checked other quantities, there is no other quantity which has a prefix after Per. So I wonder, is it possible? If not, should I use MilliDegreesCelsiusPerMeter instead?

@angularsen
Copy link
Owner

It will have to be defined "by hand", defining each unit separately in the quantity json. It can't use the prefixes structure for this, it's a weakness in the design.

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

2 participants