⇐ ⇒

[CF-metadata] string valued coordinates

From: Jim Biard <jbiard>
Date: Fri, 03 Oct 2014 10:40:30 -0400

Ben,

Section 3.1 of the CF Standard says, " The|units|attribute is required
for all variables that represent dimensional quantities". Also, "Units
are not required for dimensionless quantities. A variable with no units
attribute is assumed to be dimensionless."

A string coordinate is not "dimensional", and thus a units attribute is
not required. Chapter 6 describes label coordinates (the name given to
string valued coordinates).

Grace and peace,

Jim

On 10/3/14, 10:16 AM, Ben Hetland wrote:
> On 2014-10-03, Jim Biard <jbiard at cicsnc.org> wrote:
>> The 'no units' case is covered by leaving off the units attribute.
> Wouldn't that be in violation of the CF convention?
> I was under the impression that _all_ dimensional quantities need that attribute, and a "coordinate" would by its very nature always imply a dimensional aspect, or is there something I've missed?
>
> If it were a 'dimensionless' value, using just "1" as a udunits string would work fine, but here I suppose the request is more along the lines of an _undefined_ unit (as in "missing", "unknown" or "not applicable").
>
>
>> On 10/3/14, 6:59 AM, Hedley, Mark wrote:
>> But I believe that I can create a CF auxiliary coordinate with string values without any concern.
> Perhaps you could provide some concrete examples where you think a string as such (*) may be used as a coordinate or dimension?
>
>
> -+-Ben-+-
>
> [*] i.e., the string is not just an alternative representation of some numeric value or scale, which it could have been converted into by means of a defined process.
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata

-- 
CICS-NC <http://www.cicsnc.org/> Visit us on
Facebook <http://www.facebook.com/cicsnc> 	*Jim Biard*
*Research Scholar*
Cooperative Institute for Climate and Satellites NC <http://cicsnc.org/>
North Carolina State University <http://ncsu.edu/>
NOAA's National Climatic Data Center <http://ncdc.noaa.gov/>
151 Patton Ave, Asheville, NC 28801
e: jbiard at cicsnc.org
o: +1 828 271 4900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20141003/36483002/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfiiefgh.png
Type: image/png
Size: 11847 bytes
Desc: not available
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20141003/36483002/attachment-0001.png>
Received on Fri Oct 03 2014 - 08:40:30 BST

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

⇐ ⇒