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

Error in Python Sample Program 1 from cmor_users_guide #17

Closed
jypeter opened this issue Apr 7, 2015 · 5 comments
Closed

Error in Python Sample Program 1 from cmor_users_guide #17

jypeter opened this issue Apr 7, 2015 · 5 comments
Assignees
Labels
Milestone

Comments

@jypeter
Copy link

jypeter commented Apr 7, 2015

I have copy/pasted the Sample Program 1 example script from the CMOR2 documentation (page 56) and I had to use the following cmor.dataset call instead of the one supplied in the example. I don't know if I got all the meta-data right, but at least I got rid of the spurious quotes and I have added the missing parent_experiment_rip parameter

cmor.dataset('historical', 'ukmo', 'HadCM3 (2010)', '360_day',
             model_id='HadCM3',forcing='Nat',
             parent_experiment_id='N/A', parent_experiment_rip='N/A',
             branch_time=0.,
             contact='Tim Lincecum, timmy@sfgiants.com', institute_id='pcmdi')

Are the examples used in the documentation available somewhere in the github repo of CMOR? I have seen that there are several scripts in cmor/Test, but the documentation does not supply names for the examples and I have not opened all the scripts available in Test to check

@doutriaux1 doutriaux1 added this to the 2.9.2 milestone May 26, 2015
@doutriaux1 doutriaux1 added the bug label May 26, 2015
@doutriaux1 doutriaux1 self-assigned this May 26, 2015
@ehogan
Copy link
Contributor

ehogan commented Jun 5, 2015

If it's useful, there's already an example script containing a copy of 'Sample Program 1' in #26 :)

@durack1 durack1 modified the milestones: 2.9.3, 2.9.2 Jun 26, 2015
@dnadeau4
Copy link
Collaborator

cmor_dataset has been replaced with cmor_dataset_json. With the control vocabulary, this is no onger valid. for 3.1

@durack1
Copy link
Contributor

durack1 commented Jun 16, 2016

@jypeter the documentation has just been reformulated - see http://cmor.llnl.gov - so we'll close this issue, please reopen if you see remaining issues

@durack1 durack1 closed this as completed Jun 16, 2016
@dnadeau4
Copy link
Collaborator

@durack1
Copy link
Contributor

durack1 commented Jun 17, 2016

@dnadeau4 link above updated..

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

No branches or pull requests

5 participants