-
Notifications
You must be signed in to change notification settings - Fork 121
Description
I have started to look into Unitful.jl, and the package seems to be very useful. One thing that makes the package a little bit hard to use for me, is the lack of a list of predefined dimensions, units, conversion factors, and constants. I can go into the suggested src-file and make a table myself, but such an effort gets outdated if changes are made.
Would it be possible to develop a function provides such information -- loosely similar to what Python offers wrt. providing a list of predefined keywords?
What would be interesting is to ask for:
-
Base dimensions (ok -- these will likely not change -- it is of interest to know which fonts are used)
-
Derived dimensions (may change?)
-
Base units (these will likely not change, although the src-file is a little confusing to me wrt. the phrasing on mass being given in gram, and some talk about how this is not really the base unit for mass, etc.)
-
Derived units
-
Descriptive text (e.g., L is Length, kg is mass in kilogram, etc.)
-
Adding meta-data so that one can pick out base dimensions only (with description), derived dimensions only (with description), base units only (with description), derived units only (with description), units with corresponding description, relevant dimensions and description, whether units are SI units or not, etc.
-
Similar for conversion factors (i.e., a list)
-
Similar extraction of predefined constants
It would be useful to be able to put the extracted information into a data frame and/or a pretty table for export to html, latex, etc.
OK -- to me, this would be useful, and a simple way to stay up-to-date. I tried to develop something like this myself, with the help of MS Copilot... but in the end I gave up.