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
MITgcmutils.diagnostics.readstats does not read output with more than one region #818
Comments
@mjlosch I think the matlab equivalent ( |
Shouldn't be too hard. Implementation choices: returned arrays will get a new dimension if multiple regions are present; it may be more predictable to always have this dimension (with extent 1 if only one region), but it would break existing code, so I am hesitant. |
@jahn, I have a messy solution:
I can turn this in a PR if you wnat, but I am all open for anything nicer (and more compact). |
@mjlosch sorry I missed your post while at a meeting. Don't think mine is more compact but I've addressed a couple more issues and tested against a good selection of diagstat output from verification. |
Has been fixed in PR #823 |
MITgcmutils.diagnostics.readstats
cannot read output with more than one region, probably because there are no blank lines between records of different regions. For example, after running testreport, I change intoglobal_ocean.cs32x15/tr_run.seaice
and try:I do not know how to fix this. Suggestions are welcome.
The text was updated successfully, but these errors were encountered: