Skip to content
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

no longer working for obs4MIPs, PCMDIobs #608

Closed
gleckler1 opened this issue Jun 11, 2020 · 9 comments
Closed

no longer working for obs4MIPs, PCMDIobs #608

gleckler1 opened this issue Jun 11, 2020 · 9 comments

Comments

@gleckler1
Copy link

@mauzey1 @durack1 CMOR no longer appears to be working for projects other than CMIP6. Using a code that previously worked with the following set in the input json:

_control_vocabulary_file":"PMPObs_CV.json

I am getting the following error:

(cdat_0611) bash-4.2$ python -i runCmor_ERA5_alllevs-CREATEIP.py
0 ua

C Traceback:
! In function: cmor_load_table_internal
!
!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Error: Could not find file: .//CMIP6_CV.json
!
!!!!!!!!!!!!!!!!!!!!!!!!!

C Traceback:
! In function:
!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Error: Can't open/read JSON table .//CMIP6_CV.json
!
!!!!!!!!!!!!!!!!!!!!!!!!!

@durack1
Copy link
Contributor

durack1 commented Jun 11, 2020

@gleckler1 which version of CMOR are you using, were you using?

@mauzey1
Copy link
Collaborator

mauzey1 commented Jun 11, 2020

@gleckler1 In CMOR 3.6.0, the term control vocabulary has been replaced with controlled vocabulary. So the correct input variable for the CV table should be _controlled_vocabulary.
This is reflected in CMIP6_input_example.json

@durack1
Copy link
Contributor

durack1 commented Jun 17, 2020

@gleckler1 are you fixed? If so this should be closed

@gleckler1
Copy link
Author

@durack1 Not quite. I was having a problem creating a new conda env with the latest CDAT and CMOR. When I have a chance to revisit that I will confirm this is fixed. For now I am using an older env. Any hints on how to create latest CDAT/CMOR are welcome.
P

@mauzey1
Copy link
Collaborator

mauzey1 commented Jun 18, 2020

@gleckler1 I tried installing both CMOR 3.6.0 and CDAT in the same conda environment but encountered conflicts. They seem to stem from a conflict with libnetcdf. CMOR 3.6.0 requires libnetcdf 4.7.4 but CDAT from conda still needs libnetcdf 4.6.2.

@durack1
Copy link
Contributor

durack1 commented Jun 18, 2020

@mauzey1 is there a way to resolve this, without a lot of fiddling? For most of our workflows, we depend on CDAT alongside CMOR.

@muryanto1 @jasonb5 @downiec @forsyth2 FYI

@gleckler1
Copy link
Author

@durack1 @mauzey1 @muryanto1 @jasonb5 @downiec @forsyth2
To be more specific, it is cdms that we rely on for CMOR. Can anyone advise on how to build a py3 conda env using the latest cmor and cdms?

@mauzey1
Copy link
Collaborator

mauzey1 commented Jul 1, 2020

@gleckler1
I have recently updated the CMOR 3.6.0 builds on conda-forge to use the "nompi" version of libnetcdf. Using the command conda create -n cmor_cdms2_env -c conda-forge cmor cdms2 python=3.8 creates an environment that installs the latest versions of CMOR and CDMS2.

@gleckler1
Copy link
Author

@mauzey1 Many thanks, this works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants