⇐ ⇒

[CF-metadata] String attribute syntax

From: Brigitte Koffi <Brigitte.Koffi-Lefeivre>
Date: Thu, 26 Jun 2014 12:52:38 +0200

Thank you David.

On 6/26/2014 12:50 PM, David Hassell wrote:
> Hello Brigitte,
>
> Yes - netCDF string valued attributes can contain spaces, commas and
> many (any?) other characters, such as +, -, _, (, ), etc. So,
>
> institute_id = "INSTITUTE1, INSTITUTE2, and INSTITUTE3";
>
> is fine. For a few attributes (like standard_name) a limited character
> set is required to be CF compliant.
>
> One last thought: I don't know exactly what your data are, but perhaps
> the CF attribute "institution" would be a better choice of attribute
> name (http://cfconventions.org/1.6.html#description-of-file-contents)?
>
> Hope that helps.
>
> All the best,
>
> David
>
> ---- Original message from Brigitte Koffi (12PM 26 Jun 14)
>
>> Date: Thu, 26 Jun 2014 12:10:44 +0200
>> From: Brigitte Koffi <Brigitte.Koffi-Lefeivre at jrc.ec.europa.eu>
>> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215
>> Thunderbird/17.0.3
>> To: cf-metadata at cgd.ucar.edu
>> Subject: [CF-metadata] String attribute syntax
>>
>> Dear all
>>
>> Can string attributes contain blanks or comma characters?
>> For instance, in case of netCDF files from multiple institutes, can one define "INSTITUTE1, INSTITUTE2, and INSTITUTE3"
>> as "institute_id"?
>>
>> Thank you for your help,
>>
>> Brigitte
>>
>>
>> _______________________________________________
>> CF-metadata mailing list
>> CF-metadata at cgd.ucar.edu
>> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
>
> --
> David Hassell
> National Centre for Atmospheric Science (NCAS)
> Department of Meteorology, University of Reading,
> Earley Gate, PO Box 243,
> Reading RG6 6BB, U.K.
>
> Tel : +44 118 3785613
> E-mail: d.c.hassell at reading.ac.uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20140626/b1152b3e/attachment.html>
Received on Thu Jun 26 2014 - 04:52:38 BST

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

⇐ ⇒