-
Notifications
You must be signed in to change notification settings - Fork 117
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
Mixing ratios and the like for Climate Science #768
Comments
If I am not mistaken, the reason that you do not want them to cancel is that strictly, you are thinking of e.g. Worth noting is that if you have e.g |
Yes, this is true. However, what I am trying to do in ERA5Reanalysis.jl is to try and convert the units provided by default from the dataset into actual usable units in Unitful.jl for printing and later manipulation. What you are suggesting is good if we are self-defining units, but I'm not self-defining these units, I am taking them from a dataset, so I do need to try and find some way to convert back and forth. |
I am assuming that the underlying dataset is essentially a bunch of numbers, with human-readable column headers or some such that you are using to attach Unitful units to the numbers. Does that need to be done programmatically? If you as the human are reading these units and manually interpreting e.g. kg H20/kg air, then if for your analysis you have already defined a unit named "kgH2O" there is nothing to stop you applying that to the column. What are the specific contexts where you need I am not a maintainer of the package, really, but spend a lot of time thinking about this kind of thing and am curious what the use case looks like (and eager to offer any help if I can). |
Hi! I have a question.
In Climate Science, it is very common for units to be expressed in
(i.e., unitless), which while technically accurate is not how it is done realistically.
kg kg^-1
(e.g., specific humidity). However, in Unitful.jl this is taken to beIs there a way to specify to prevent the default multiplication of units?
The text was updated successfully, but these errors were encountered: