⇐ ⇒

[CF-metadata] When are the units attribute mandatory?

From: Steve Emmerson <steve>
Date: Thu, 16 Feb 2012 09:53:30 -0700

Egil,

Units of physical quantities are only meaningful for physical quantities
(yes, I know that's a tautology :-). Is the "profile_id" a physical
quantity? I wouldn't think so from its name. If it isn't, then a unit
attribute would be meaningless and possibly misleading.

Regards,
Steve Emmerson

On 02/16/2012 08:00 AM, Egil St?ren wrote:
> From the CF 1.6 Convention, chapter 3.1 Units:
>
> "The units attribute is required for all variables that represent
> dimensional quantities (except for boundary variables defined in Section
> 7.1, ?Cell Boundaries? and climatology variables defined in Section 7.4,
> ?Climatological Statistics?)."
>
> In the same document, in appendix H.3.4. Contiguous ragged array
> representation of profiles, the following example appears:
>
> int profile(profile) ;
> profile:cf_role = "profile_id";
>
> This array obviously contains identification numbers. It is also a
> dimensional quantity and accordinly the units attribute is mandatory
> (none of the listed exceptions apply). Are there any unit acceptable by
> udunits that can be used in this case? The best I have found is "count"
> which I think is misleading.
>
> Or should this and similar variables also be included in the list of
> exceptions above?
>
> Best regards,
>
> Egil St?ren
> met.no
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
Received on Thu Feb 16 2012 - 09:53:30 GMT

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:41 BST

⇐ ⇒