-
Notifications
You must be signed in to change notification settings - Fork 33
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
CMOR.write fails on OSX in validation of attributes #354
Comments
@tommibergman I ran into something similar on a side test case this week. Thanks for reporting, do you mind attaching the file containing your license info on here. I'm worried copy/pasting might remove someinvisible characters. |
Why should this problem be occurring all of a sudden? It's been working for months. |
@taylor13 might be an invisible character, might be a change in Python regex, as I said once I get the file from @tommibergman I will investigate further. |
We use this file for the metadata. Had to zip it, JSON is not supported here. |
I just used your file (in Test directory), and ran cmor off of master on it and it worked on both Linux and Mac OSX, does the attached script works for you? |
@tommibergman notice that your |
The attached scripts fails also on the validation of license. It seems this is related to my setup. Do you have any idea, where I could look to solve the problem? I am using anaconda distribution with cmor 3.3.2.npy1.13. |
That's ineteresting. Same as me. Which conda do you use?
|
@tommibergman also can you post the result of |
Here you go, conda seems to be the same. conda --version BIBINPUTS=.:/Users/bergmant/bib |
With the latest version of the CMOR tables (01.00.27) and with latest CMOR library from Conda (cmor 3.3.3.2018.08.08.14.53.g4103823.npy1.14) I am not anymore experiencing this problem. |
I have a case where the CMOR is trying to validate the license information for our model during writing and complains about an error on OSX. I am using the python bindings for CMOR. The same case works fine on ECMWF supercomputer.
I attach here the error message:
The text was updated successfully, but these errors were encountered: