No. CF section 9.5 says: "The variable carrying the cf_role attribute may
have any data type."
And that makes sense, because some profile_id might be an integer and
theoretically could be a single char.

Date: Wed, 22 Feb 2017 18:15:46 +0000
> From: Jonathan Gregory <j.m.greg...@reading.ac.uk>
> To: cf-metadata@cgd.ucar.edu
> Subject: Re: [CF-metadata] Pre-proposal for "charset"
> Message-ID: <20170222181546.gd8...@met.reading.ac.uk>
> Content-Type: text/plain; charset=us-ascii
>
> Dear Bob
>
> Thnaks for the helpful example. Yes, I agree that on the basis of netCDF
> alone
> you can't tell whether it's a string or a 10-char array. However, the
> cf_role
> is a string-valued attribute, according to the CF convention, so it must
> be a
> string. I expect that for contents of netCDF files that follow the CF con-
> vention this ambiguity shouldn't arise - but if there are cases where it
> does
> we should consider them.
>
> Best wishes
>
> Jonathan
>
> --
Sincerely,

Bob Simons
IT Specialist
Environmental Research Division
NOAA Southwest Fisheries Science Center
99 Pacific St., Suite 255A      (New!)
Monterey, CA 93940               (New!)
Phone: (831)333-9878            (New!)
Fax:   (831)648-8440
Email: bob.sim...@noaa.gov

The contents of this message are mine personally and
do not necessarily reflect any position of the
Government or the National Oceanic and Atmospheric Administration.
<>< <>< <>< <>< <>< <>< <>< <>< <><
_______________________________________________
CF-metadata mailing list
CF-metadata@cgd.ucar.edu
http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata

Reply via email to