-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review units list for duplicates, errors #378
Comments
Hi, |
@amoeba Yes, I think the duplication is an issue, and bummer that we missed it. It appears to me there is little functional effect because they are defined the same way (with the exception of the use of the word "micromoles" in the second description). So, I think we should eliminate one of the two, which could go out in a patch release of the spec (e.g., 2.2.1). @earnaud In terms of completeness, we have never thought the EML spec could define all units needed by researchers, but were striving to provide shared names for the most commonly used units, and a spec that allows additional units to be added as needed. Your ticket on how to get the R |
@amoeba I also see that the |
I confess I did not spend much time on the unitType field. I found it to be somewhat overloaded, combining features of quantity and dimensionality. Further, unitType did not seem to be widely used. BTW, EDI has recently spun up a Units Working Group, to address the future for all the content of the (now retired) LTER Unit Registry. In particular, we would like to partner with a larger org dealing with units, and come up with a way to suggest new additions to that system, and to export from it in ways that are compatible with EML. We have just begun examining a group of systems (udunits among them) for certain features. Our WG does not have a web-presence yet - contact me if you're interested in joining this effort. |
Thanks, @mobb. I'm interested, or maybe someone from our group at NCEAS might be. Regarding Lines 205 to 209 in fe77f8f
Any two units that share the same |
Hi @mbjones , Indeed, I naively worked on the tables returned by |
@earnaud over on ropensci/EML#330 reported seeing a unit with the
id
molePerKilogram
twice in the units list but with slightly different attributes. You can see it's defined twice:eml/eml-unitDictionary.xml
Lines 1623 to 1627 in fe77f8f
eml/eml-unitDictionary.xml
Lines 2017 to 2020 in fe77f8f
The first time, it's grouped with
<!--amountOfSubstanceWeight-->
and the second time it's grouped with<!--amountPerMass-->
.It's also listed twice in the
eml-unitTypeDefinitions.xsd
file:eml/xsd/eml-unitTypeDefinitions.xsd
Lines 378 to 379 in fe77f8f
@mbjones, @mobb: Does this seem like a mistake to you too?
@earnaud also indicates there were other issues but I haven't figured out what those are just yet.
Once fixed, we need to issue a re-release of EML and emld. emld is where the schema files are shipped.
The text was updated successfully, but these errors were encountered: