Hi Dave, Thanks - good idea. I've just asked the udunits mailing list the question.
Regards, Ian. -----Original Message----- From: Dave Allured [mailto:[email protected]] Sent: 27 September 2011 19:34 To: Culverwell, Ian Cc: [email protected] Subject: Re: [CF-metadata] Is the "bits" unit CF-compliant? Ian, I suggest filing a request with Udunits support to restore "bits" as a valid unit in Udunits-2. It was probably dropped by accident. All unit strings from Udunits-1 should be inherited, with very limited and documented exceptions. http://www.unidata.ucar.edu/software/udunits/udunits-2/udunits2.html#Dif ferences --Dave On 9/27/2011 5:08 AM, Culverwell, Ian wrote: > *Hi Ros,* > ** > *Many thanks - that's pretty clear.* > ** > *I agree about the CF documentation - "udunits.dat" peppered all over > the place. * > ** > *We'll use a unit of '1' instead (our application need**s each > variable to have a unit, even if CF doesn't!).* > ** > *Best Regards,* > *Ian.* > ** > -------------------------------------------------------------------- > *From:* Rosalyn Hatcher [mailto:[email protected]] > *Sent:* 27 September 2011 11:43 > *To:* Culverwell, Ian > *Cc:* [email protected] > *Subject:* Re: [CF-metadata] Is the "bits" unit CF-compliant? > > Hi Ian, > > The CF Checker using UDUNITS-2 to validate the units. > > This is another one of those units where UDUNITS-1 deemed it valid and > UDUNITS-2 says it's invalid. > > I think the CF Document should be updated to specify validation > against UDUNITS-2 and also to remove the reference to the udunits.dat > file as this no longer exists at UDUNITS-2, instead xml files are > used. > > Regards, > Ros. > > On 26/09/11 12:10, Culverwell, Ian wrote: >> ** >> *Sorry, didn't quite finish.* >> ** >> *... it says:* >> ** >> *ERROR (3.1): Invalid units: bits* >> ** >> *So: is "bits" (or "bit") CF-compliant or not?* >> ** >> *Thanks for any help,* >> *Ian.* >> ** >> ** >> ****** >> -------------------------------------------------------------------- >> *From:* Culverwell, Ian >> *Sent:* 26 September 2011 12:09 >> *To:* [email protected] >> *Cc:* Culverwell, Ian >> *Subject:* Is the "bits" unit CF-compliant? >> >> *Hello,* >> ** >> *The latest CF-compliance document suggests that we should look to >> the udunits.dat file in the udunits package to find out if a certain >> unit is CF-compliant. The latest version of udunits.dat I have lists* >> ** >> *bit P count* >> ** >> *as an acceptable unit. Yet when I run a file with this unit through >> the CF-compliance checker, it says:* >> ** >> ** _______________________________________________ CF-metadata mailing list [email protected] http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
