-
Notifications
You must be signed in to change notification settings - Fork 17
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
Units for relative humidity #26
Comments
Update. Those quantities are not percentages, they have an upper bound of 1. Leaves the question if we should use 1 as per the rules (my preference) or any of the other units that are in the metadata. |
|
Agreed. The quantities in the UFS/ccpp-physics library definitely range from 0 to 1 and are therefore not percentages. But we should add |
@gold2718 EMC would prefer |
I agree that a value that varies between zero and one is a fraction and not a |
Just a comment, I feel using unit "1" to represent fraction, not integer number is a little confusing. But If it is a specific standard, it's fine to me. |
I am also not entirely sure about this. One can mean anything, it's got no information other than that the quantity in question is a number (which variable is not a number?). |
These are all good points, they get me thinking that we should be clear on the purpose of units in the CCPP world. |
Dimensionless would be a fair description of these types of variables.
Perhaps a blank unit field or - could convey this.
…On Wed, Nov 10, 2021 at 7:06 PM goldy ***@***.***> wrote:
These are all good points, they get me thinking that we should be clear on
the purpose of units in the CCPP world.
One obvious purpose is to clarify a value when there can be different
units for the same physical quantity and to provide a mechanism for
converting when necessary.
Is there a further purpose, especially for dimensionless physical
quantities?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77GKDCAFSY5RBHPIA4LULMQL5ANCNFSM5HMY24RA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Values that can be fraction or percent are still used in calculations. Knowing whether a field (relative_humidity) in this case is specified as a fraction or percent would be useful and could be auto-converted by the CCPP if needed. That way, CCPP methods can specify these quantities in the way they see fit. So while technically this is "dimensionless", |
I agree percent is definitely a unit and fraction would be a number in the
0-1 range. These are special cases.
…On Thu, Nov 11, 2021 at 10:48 AM cacraigucar ***@***.***> wrote:
Values that can be fraction or percent are still used in calculations.
Knowing whether a field (relative_humidity) in this case is specified as a
fraction or percent would be useful and could be auto-converted by the CCPP
if needed. That way, CCPP methods can specify these quantities in the way
they see fit. So while technically this is "dimensionless", fraction vs
percent does carry a mathematical qualifier that is useful for
calculations. As such, I believe we should allow both names.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77HMTG3A3CFV7UWIR2LULP6X5ANCNFSM5HMY24RA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Let's talk about this at the next CCPP framework meeting 2021/11/18. I'll add it to the agenda. @dudhia if you are interested in participating at the discussion, please join us at 9.30am MT. |
I won't be there, but special types of numbers I can think of are
fraction
percent
count
index
It would be good to know what numbers fall outside these categories, but I
prefer dimensionless over 1 as a unit,
Jimy
…On Tue, Nov 16, 2021 at 8:38 AM Dom Heinzeller ***@***.***> wrote:
Let's talk about this at the next CCPP framework meeting 2021/11/18. I'll
add it to the agenda.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77DSIR5DA6CBM7Q474LUMJ3IZANCNFSM5HMY24RA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi all. Was there a conclusion to this debate? |
@MarekWlasak - I use the section on units in: https://github.com/ESCOMP/CCPPStandardNames/blob/main/StandardNamesRules.rst to get my units. Also, in the dictionary: I remember discussions about this. Based on how old this issue is, I believe it has been resolved and the information was updated in the Rules and Dictionary. Maybe the issue was forgotten to be closed? I will defer to @mkavulich for the final say on this though. |
@cacraigucar This was before my time (or maybe right after I started on this team) so I don't recall how this was resolved! I think this might actually require at least a brief discussion next Monday, because even though the current dictionary shows |
@MarekWlasak I have opened #62 to clarify the rules regarding fraction vs percent. We have also discussed including a converter within the CCPP framework to automatically convert between the two with the proper metadata, but that will probably hinge on the resolution of this ccpp-framework discussion. |
…ables improperly using "1" to "fraction" (#62) Related to Issue #26 and discussion therein, this PR updates the Standard Name Rules table for dimensionless units, removing some ambiguity in wording, separating out "frac" from "percent" entries (since fractions and percentages are different things, and can theoretically be converted) and clarifying when "1" should be used. In addition, several standard names that reference fractions are updated to appropriately use "frac" rather than "1".
Relative humidity in the ccpp-physics library / UFS / SCM takes all sorts of units, I found
1
,frac
,none
, and even%
so far. According to the standard name rules, the unit should be1
. Please confirm and I will make the corresponding changes.If those quantities that have
%
are indeed percentages, then do we need another standard name, or do we simply definepercent
as a valid unit (the symbol can cause all sorts of trouble) and register a unit conversion from percent to one and vice versa?The text was updated successfully, but these errors were encountered: