nomenclature: unit
vs units
#528
CagtayFabry
started this conversation in
General
Replies: 2 comments 2 replies
-
Not sure here but I would stick to the plural form -> |
Beta Was this translation helpful? Give feedback.
0 replies
-
a quick search for
So I don't think it is too bad if we want to rename to I guess in these cases we only need a simple if "units" in node:
_units = U_(node["units"])
else:
_units = U_(node["unit"]) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since we implemented our own
quantity
schema in #519 we no longer have to follow the asdf schema which would allow us to rename theunit
field of the quantityIn general two options come to mind:
unit
oderunits
I think it would be very good to decide on one of these options and use that consistently throughout
weldx
Maybe we should look into other fields what is most common. I know that
pint-xarray
stores unit information under theunits
key but not sure if that is actually defined in the CF-conventionsAny preferences? please discuss
Beta Was this translation helpful? Give feedback.
All reactions