-
Notifications
You must be signed in to change notification settings - Fork 38
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
On using "convert_units" preprocessor, units in configuration file not changed #866
Comments
Perhaps @jvegasbsc knows? :-) |
Good catch! I am not sure how to proceed: the correct units are on the file, the By the way, you opened Pandora's box here, as we are not taking this into account in any preproc function, and even some of them don't produce the correct units. A couple of examples:
|
Right, I'll use the units from the file then. Ideally I suppose you would have an "original units" attribute for the cmor info and then a "preproc units" for anything that the preprocessor did to it, though I can see how that might be hard to do. In this case at least the netcdf file has the correct attributes, while I guess the sums you mentioned above do not. |
The original issue, as reported by @bettina-gier is a duplicate of #505. The issues reported by @jvegasbsc should probably be made into new issues. |
Made a specific issue for this here: #1613 |
when using the convert_units preprocessor, the units in both the "metadata.yml", as well as "var_info.ncl" are kept as the cmor units, while the data fed to the diagnostics has different units. I feel like the updated units due to the preprocessor should be reflected, especially as I wanted to used the units attribute from these file for my plots, and I feel this may be a common occurence?
The text was updated successfully, but these errors were encountered: