Replies: 2 comments 2 replies
-
Often there is a helpful choice like kg kg-1 or mol mol-1 and that should be done as much as possible. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yes, I see other units like count, index, flag, frac, so at least they are
being distinguished.
Consistency is what is needed and I have no problem with 'none'.
However I note that some parameters for schemes are labeled 'none' and I am
skeptical of that,
but it would take some digging to correct those.
…On Thu, Aug 12, 2021 at 3:59 PM grantfirl ***@***.***> wrote:
This was discussed A LOT several years ago and we arrived at 'none'. Dave
Gill was in on those conversations and spoke for NCAR models at the time. I
agree that kg kg-1 etc. should be used where appropriate, but otherwise I
think that the default dimensionless unit should remain 'none' as agreed
originally.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77A53B3GWBJVM2WGG6LT4Q74XANCNFSM5B7RITLA>
.
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&utm_campaign=notification-email>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The dictionary of standard names has a unit of
1
for dimensionless quantities, which is scientifically correct.The existing metadata in ccpp-physics and associated host models (UFS, SCM) uses
none
for dimensionless quantities.It is of course possible to write a unit conversion code that just returns the identity if the code generator encounters
1
andnone
between host model and physics, but this may still create overhead by calling a function that does nothing (although chances are that the compiler optimizes it out).Alternatively, we could add logic to the code generator to ignore such dummy unit conversions.
Best of course would be to agree to either
1
ornone
.Looking forward to hearing your thoughts.
Beta Was this translation helpful? Give feedback.
All reactions