-
Notifications
You must be signed in to change notification settings - Fork 382
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
Temperature Gradient #988
Comments
Hi, without knowing this domain I would favor moving everything to TemperatureGradient. It might be more consistent with our other quantities to name it TemperaturePerLength, but it seems TemperatureGradient is a well established quantity and maybe the better choice . LapseRate has been touched in: @ferittuncer @jnyrup There is currently a v5 branch where we allow breaking changes, where we can remove anything made obsolete in v4. |
I'm fine with obsoleting
Some observations regard naming. |
@dglozano It seems we agree then, please go ahead with the PR:
|
Have created a PR to implement the suggested changes 😄 Not sure how to copy the Any suggestion on how to procede? |
Oh, that's right. Hm. I propose we allow that breaking change, since those updating will get a compile error (safe) and have an obsolete warning instructing them what to do. |
Hello @angularsen, I don't see a problem with this but my opinion might not be so helpful since I'm out of sync for since last 3 years. |
No problem @ferittuncer , I just thought I recognized your name in one of the PRs. It helps to know that you don't mind the change, anyhow 👍 |
Solved in #991 , so I am closing this 😁 |
Hi 👋🏻 I am using UnitsNet quite a lot and I really love it! So far it has covered most of my use cases, but I recently I got the need to use a
TemperatureGradient
quantity (https://en.wikipedia.org/wiki/Temperature_gradient).I know there is
LapseRate
quantity which is alsoTemperatureDelta / Length
, but it seems to be "semantically" focused on the atmospheric temperature variation and it supports only theDegreesPerKilometer
unit.I was wondering if adding a new
TemperatureGradient
is an option? If so, I would be willing to create a PR to add it.Another option would be to make the
LapseRate
support more units I guess, but both the name and description of the quantity can be a little misleading.Related (ish) to #324
The text was updated successfully, but these errors were encountered: