~nxg

https://nxg.me.uk

Trackers

~nxg/showlabels

Last active 2 years ago

~nxg/unity

Last active 2 years ago

~nxg/versonotes

Last active 4 years ago

#6 Refer to FITS 4.0 rather than 3.0? 2 years ago

Comment by ~nxg on ~nxg/unity

Include references to FITS spec v4.0.

Thanks to Mark Taylor for notes on the relevant difference between versions 3 and 4 (https://github.com/ivoa-std/VOUnits/issues/7).

Fixed in revision 3d45e3cd113b

REPORTED RESOLVED FIXED

#8 Dimensions fixes (issue 7) should be in the C library, too 3 years ago

Comment by ~nxg on ~nxg/unity

Resolved in bf7b99aa1614 – there is little actual support for dimensions in the C library, so there is little to fix.

REPORTED RESOLVED FIXED

#3 Include empty-string as a valid units string 3 years ago

Comment by ~nxg on ~nxg/unity

Done, and the GitHub issue closed

REPORTED RESOLVED FIXED

#3 Include empty-string as a valid units string 3 years ago

Comment by ~nxg on ~nxg/unity

In revision d01c83ddcd62 (with some extra test cases in 3e5917e04819) the VOUnits syntax supports "1" as a positive indicator of ‘unitless’. I'll leave this issue open until the corresponding textual change is made in the VOUnits document, and that document's issue 9 is closed.

#9 Migrate the RDF parser away from MRG 3 years ago

Comment by ~nxg on ~nxg/unity

REPORTED RESOLVED FIXED

#9 Migrate the RDF parser away from MRG 3 years ago

Comment by ~nxg on ~nxg/unity

I'm using RDF4j. It mostly works, except... (inevitably) the graphs are queried in a different order in different libraries, and thus I discover that the previous version worked slightly by accident.

Damn: I have managed to make this long in my career without ever having to make sense of CGS-ESU units and their somewhat unexpected dimensions.

#10 Migrate to QUDT 2.1 rather than 1.1 3 years ago

Ticket created by ~nxg on ~nxg/unity

The current version of the QUDT ontology is v2.1, whereas the one in the Unity repo is 1.1.

Specifically, the current release as of 2022-01-22 is 2.1.14.

#9 Migrate the RDF parser away from MRG 3 years ago

~nxg assigned ~nxg to #9 on ~nxg/unity

#9 Migrate the RDF parser away from MRG 3 years ago

Ticket created by ~nxg on ~nxg/unity

MRG was originally distributed by mulgara.org (it was the RDF parser used by the Mulgara database), but for some reason or another it's no longer maintained (or not maintained separately). mrg-0.7 is still available in the Maven repository, and presumably won't disappear, but it isn't readily available in source form.

It would be at least tidy to migrate to another RDF parser, and (by using a library more easily available) would make it easier for Unity to be packaged for eg Debian.

Possibilities include:

  • Whatever parser is currently used in Mulgara? Hmmm.... Mulgara's not looking very active these days.
  • RDF4j's rio
  • NxParser
  • Jena (rather heavyweight, if I recall correctly)

(JRDF is inactive, and sesame / OpenRDF.org has vanished).

MRG is currently used only in src/buildtools/src/uk/me/nxg/unity/ParseUnits.java so swapping it out shouldn't be a massive challenge.

#3 Include empty-string as a valid units string 3 years ago

Comment by ~nxg on ~nxg/unity