⇐ ⇒

[CF-metadata] cf_role attribute

From: Rosalyn Hatcher <r.s.hatcher>
Date: Thu, 22 May 2014 12:11:10 +0100

Hi Ajay,

Variables of character type are treated as dimensionless and the units
attribute is only mandatory for dimensional quantities.
So no it is not necessary for station_name to have units associated with it.

Regards,
Ros.


On 15/05/14 16:16, Ajay Krishnan - NOAA Affiliate wrote:
> Hi Rosalyn,
>
> Thanks for the clarification. That leads me to another question
> though, if the *station_name *is defined as an aux co-ordinate, is it
> mandatory to have associated units with it?
> Can the units for the *station_name *variable be left blank? Is the
> *station_name *variable supposed to be monotonic?
>
> Thanks,
> Ajay
>
>
> On Mon, May 12, 2014 at 5:22 AM, Rosalyn Hatcher
> <r.s.hatcher at reading.ac.uk <mailto:r.s.hatcher at reading.ac.uk>> wrote:
>
> Hi Ajay,
>
> In your netcdf file is *station_name* identified as an aux
> coordinate variable by listing it in the *coordinates* attribute?
>
> There is a mistake in the H2 example (and others) where
> *station_name* should be identified as a aux coord var on the
> *coordinates* attribute for humidity
>
> I raised this and other defects in ticket 103 -
> http://kitt.llnl.gov/trac/ticket/103
>
> Hope this helps,
> Regards,
> Ros.
>
> On 08/05/14 21:38, Ajay Krishnan - NOAA Affiliate wrote:
>>
>> Hi Everyone,
>>
>> Can anybody tell me the correct usage of the *cf_role* attribute?
>>
>> From my gathering, the *cf_role* attribute should only be
>> attached to a coordinated variable (See appendix A
>> <http://cfconventions.org/1.6.html#attribute-appendix>).
>>
>> But in the CF conventions document Example H.2., the *cf_role* is
>> being attached to the *station_name* variable.
>>
>> When we do this, the CF compliance checker gives out an INFO
>> message stating that the *cf_role *attribute is being used in a
>> non-standard way.
>>
>> Any inputs?
>>
>> Thanks,
>> Ajay
>>
>>
>>
>> _______________________________________________
>> CF-metadata mailing list
>> CF-metadata at cgd.ucar.edu <mailto:CF-metadata at cgd.ucar.edu>
>> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
>
> --
> Rosalyn Hatcher
> NCAS Computational Modelling Services
> Dept. of Meteorology, University of Reading,
> Earley Gate, Reading. RG6 6BB
> Email:r.s.hatcher at reading.ac.uk <mailto:r.s.hatcher at reading.ac.uk> Tel:+44 (0) 118 378 5429 <tel:%2B44%20%280%29%20118%20378%205429>
>
>

-- 
Rosalyn Hatcher
NCAS Computational Modelling Services
Dept. of Meteorology, University of Reading,
Earley Gate, Reading. RG6 6BB
Email: r.s.hatcher at reading.ac.uk     Tel: +44 (0) 118 378 5429
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20140522/646af3cb/attachment.html>
Received on Thu May 22 2014 - 05:11:10 BST

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

⇐ ⇒