⇐ ⇒

[CF-metadata] standard_name modifiers -- units problem

From: Rosalyn Hatcher <r.s.hatcher>
Date: Mon, 28 Feb 2011 17:18:37 +0000

Dear Karl,

That is correct. If the variable is deemed unitless, then the checker
will not flag an error if either units=1 or the units attribute is omitted.
If the units attribute is missing, it will, however, produce an
information message suggesting that the units attribute is added for
completeness.

Eg.

------------------
Checking variable: CHL_count
------------------
INFO (3.1): No units attribute set. Please consider adding a units attribute for completeness.


I introduced the INFO category of message a while ago, for instances
where the checker couldn't be sure of an error (E.g. where an attribute
is being used in a non-standard way), to prompt the user to double check
that what they've put is actually what they meant.

I'll hopefully have a fixed version of the checker available tomorrow
for testing.

Regards,
Ros.




On 28/02/11 16:44, Karl Taylor wrote:
> Dear Rosalyn,
>
> I assume the checker will also not complain if the units attribute is
> simply omitted when the variable is unitless (i.e., either units="1"
> or the attribute is omitted result in the same behavior by the checker).
>
> best regards,
> Karl
>
> On 2/28/11 4:28 AM, cristina.tronconi at artov.isac.cnr.it wrote:
>> Dear Rosalyn,
>> thanks so much for your reply and your works that is so important for
>> me. Infact "my" data are produced within MYOCEAN (european) project
>> and thay are going to test them! so it is important they do not failed
>> the CF checker test.
>>
>> Best regards.
>>
>> cristina
>>
>> p.s.
>> Sorry if sometime I miss some e-mails and I didin't answer to them.
>> This is a very caotic working time....and I'm receiving so many e-mails.
>>
>> Thanks to all the cf-metadata group to their help!
>>
>> Citando Rosalyn Hatcher<r.s.hatcher at reading.ac.uk>:
>>
>>> I agree units should be set to "1" and I am currently in the process of
>>> fixing the error in the CF Checker.
>>>
>>> Regards,
>>> Ros.
>>>
>>>
>>> On 27/02/11 17:27, Steven Emmerson wrote:
>>>> Cristina,
>>>>
>>>> I recommend the unit "1" for that use.
>>>>
>>>> If the CF checker doesn't like that unit, then it should be fixed,
>>>> IMO, because that unit is supported by both the US NIST and the BIPM.
>>>>
>>>> Regards,
>>>> Steve Emmerson
>>>> UDUNITS developer
>>>>
>>>> On 2/26/2011 12:30 PM,cristina.tronconi at artov.isac.cnr.it wrote:
>>>>> Dear Roy,
>>>>> Our variable "chlorophyll count" as is understandable by CF is the
>>>>> number of individual measurements used to determine a chlorophyll value.
>>>>>
>>>>> I do need to know what to put at "units" attribute for that variable.
>>>>> I undestood by the CF convention 1.4 (appendix C) that I have to put
>>>>> "units="1" as the chlorophyll count is a dimensionless variable...but
>>>>> the CF checker found it as an error.
>>>>>
>>>>> I try not to put the Unit attribute ...but again i get an error by che
>>>>> cf chcker.......so.....
>>>>>
>>>>> my question is: what unit shoudl I set for my chlorophyll count variable?
>>>>>
>>>>> thanks for your help.
>>>>>
>>>>> cristina
>>>>>
>>>>> -------------------------------------------------------------------
>>>>> Cristina Tronconi
>>>>> Istituto di Scienze dell'Atmosfera e del Clima - sezione di Roma
>>>>> Consiglio Nazionale delle Ricerche
>>>>> Via Fosso del Cavaliere 100
>>>>> 00133 Roma, Italy
>>>>> Tel: +39 06 49934342
>>>>> cell: '39 349 1242954
>>>>> Fax: +39 06 20660291
>>>>> e-mail:cristina.tronconi at artov.isac.cnr.it
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> CF-metadata mailing list
>>>>> CF-metadata at cgd.ucar.edu
>>>>> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
>>>> _______________________________________________
>>>> CF-metadata mailing list
>>>> 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 Tel: +44 (0) 118 378 6016
>>
>> -------------------------------------------------------------------
>> Cristina Tronconi
>> Istituto di Scienze dell'Atmosfera e del Clima - sezione di Roma
>> Consiglio Nazionale delle Ricerche
>> Via Fosso del Cavaliere 100
>> 00133 Roma, Italy
>> Tel: +39 06 49934342
>> cell: '39 349 1242954
>> Fax: +39 06 20660291
>> e-mail:cristina.tronconi at artov.isac.cnr.it
>>
>>
>> _______________________________________________
>> CF-metadata mailing list
>> CF-metadata at cgd.ucar.edu
>> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
>
>
> _______________________________________________
> CF-metadata mailing list
> 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     Tel: +44 (0) 118 378 6016
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20110228/0c613eb5/attachment-0001.html>
Received on Mon Feb 28 2011 - 10:18:37 GMT

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

⇐ ⇒