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

not passing enough times as data passes #485

Closed
doutriaux1 opened this issue May 17, 2019 · 4 comments · Fixed by #500
Closed

not passing enough times as data passes #485

doutriaux1 opened this issue May 17, 2019 · 4 comments · Fixed by #500
Assignees
Labels
Milestone

Comments

@doutriaux1
Copy link
Collaborator

ntimes_written=2

but passing enough data only for 1 time should not work and right now it does

@mauzey1
Copy link
Collaborator

mauzey1 commented May 21, 2019

@doutriaux1 Are you saying that if the ntimes_writtten value of a variable is greater than the number of times in the time axis then CMOR should output an error? Is this similar to the issue in #440?

@mauzey1 mauzey1 added this to the 3.5.0 milestone May 22, 2019
@mauzey1
Copy link
Collaborator

mauzey1 commented Jun 11, 2019

@doutriaux1 Did you mean the ntimes_passed parameter for cmor_write? I can see this being done for the Python/Numpy arrays but not C arrays. I'm not sure about Fortran.

@doutriaux1
Copy link
Collaborator Author

@mauzey1 yes mostly for python. In C since we're sending a pointer i don't think we can catch it. in fortran we can get the array size so we can catch this well.

@doutriaux1
Copy link
Collaborator Author

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

Successfully merging a pull request may close this issue.

2 participants