Is using SI prefix with non SI units possible ? #457
-
QuestionHello, To represent of a volcanic ash cloud, we are producing ash concentrations within layers defined by Flight Levels. These Flight levels are expressed as hundreds of feet. So, is using "hft" as units is CF compliant or is there a better way to express the unit of Flight Level ? Kind regards, Mathieu |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
From a CF compliance perspective |
Beta Was this translation helpful? Give feedback.
-
|
@larsbarring many thanks for answering me Maybe overthinking... In fact the question comes from the sentence in 3.1.3. section :
Does that restriction applies only to the previous sentence
or also to fact that UDUNITS allows as well SI prefix to be applied to non-SI units as mentionned ealier in the same paragraph ? |
Beta Was this translation helpful? Give feedback.
-
|
Dear Mathieu @matdeslandes Yes, the restriction applies only the special syntax that UDUNITS offers for transformation of units, which is not connected with SI prefixes. It's things like "33 feet water" and "degF @ 32" given as examples in the udunits(3) man page. CF doesn't allow this syntax for arbitrary linear transformation of units. Sorry for the confusion. Would it be better if we exchanged the order of the sentences "(Note that this is different ..." and "This UDUNITS syntax for arbitrary ..."? Cheers Jonathan |
Beta Was this translation helpful? Give feedback.
-
|
I think that simply adding a linebreak after "...allows them to be applied to non-SI units as well" is enough and distincts the two UDNITS syntax in two differents paragraphs. It can make clearer that the restriction only apply to the second syntax... and rereading it "syntax for arbitrary transformation" was already quite helpful. Many thanks @JonathanGregory ! |
Beta Was this translation helpful? Give feedback.
-
|
I see, yes. You're suggesting that the first sentence could be a paragraph of its own. I have proposed this change just now in conventions issue 620. Thanks for raising the point. |
Beta Was this translation helpful? Give feedback.
Dear Mathieu @matdeslandes
Yes, the restriction applies only the special syntax that UDUNITS offers for transformation of units, which is not connected with SI prefixes. It's things like "33 feet water" and "degF @ 32" given as examples in the udunits(3) man page. CF doesn't allow this syntax for arbitrary linear transformation of units.
Sorry for the confusion. Would it be better if we exchanged the order of the sentences "(Note that this is different ..." and "This UDUNITS syntax for arbitrary ..."?
Cheers
Jonathan