Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1003 from msdsoftware/master
Browse files Browse the repository at this point in the history
Add some UDUnits of substance
  • Loading branch information
lesserwhirls committed Feb 2, 2018
2 parents 2f848ac + 70864c6 commit 363804a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion udunits/src/main/java/ucar/units/StandardUnitDB.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 1998-2014 University Corporation for Atmospheric Research/Unidata
* Copyright 1998-2017 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
Expand Down Expand Up @@ -266,6 +266,15 @@ private StandardUnitDB() throws UnitParseException, SpecificationException,

au("arpentlin", "191.835 ft");

/*
* UNITS OF SUBSTANCE
*/
au("avogadro_constant", "6.02214179e23/mol");
au("molecule", "1/avogadro_constant");
au("molec", "molecule");
au("nucleon", "molecule");
au("nuc", "molecule");

/*
* UNITS OF TIME
*/
Expand Down

0 comments on commit 363804a

Please sign in to comment.