[VOUnit] How to express the unit of a dimensionless quantity?

Alberto Micol amicol at eso.org
Thu Mar 7 13:15:06 CET 2024


Given Mark's reply,
may I kindly remind all the sites monitoring the VO health
to please ensure to keep up-to-date your STILTS-based validators?

Thanks Mark, cheers,
Alberto

On 07.03.24, 13:05, "Mark Taylor" <m.b.taylor at bristol.ac.uk <mailto:m.b.taylor at bristol.ac.uk>> wrote:

>On Thu, 7 Mar 2024, Alberto Micol wrote:
> Regarding the special unit string '1', 
> taplint (at least the version I'm using) returns the following: 
> 
> > This is STILTS taplint, 3.4-8/ba1522571 (2023-04-20)
> >
> > W-UUC-VUNE-2 Questionable unit "1"; Not legal VOUnits string (BAD_SYNTAX): unity parser error at character 2: syntax error in 15 columns: dbo.espresso_rv.ccf_continuum, ...
> 
> It is a Warning and not an Error, but the text reads quite strongly...
> Would a more recent version of STILTS fix this?

Yes: stilts v3.4-10 (released last week) is upgraded to Unity 1.1,
corresponding to REC-VOUnits-1.1, and it will pass a unit string of
"1" without comment.

--
Mark Taylor Astronomical Programmer Physics, Bristol University, UK
m.b.taylor at bristol.ac.uk <mailto:m.b.taylor at bristol.ac.uk> https://www.star.bristol.ac.uk/mbt/ <https://www.star.bristol.ac.uk/mbt/>







More information about the semantics mailing list