-
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
Fix an error about bs550aer #468
Conversation
This error occurs if a variable has two or more singleton dimensions and these axis ids (axes_ids) are omitted when invoking cmor_variable().
The test doesn't fail when I try removing the + lndims
. I can see that the changes do automatically include both singletons in the NetCDF files, but the test doesn't detect that.
@mauzey1 There are three tests in Please check output files for each test if your test execution terminates normally. In my execution, a segmentation fault has occurred in the 1st test if |
@kjoti I have added some suggested changes to the test. The changes will allow the test to see if the singleton dimensions were added to the variable. You can commit all three suggestions as a batch. Also, please update your branch with the latest from master. |
Co-Authored-By: kjoti <49138347+kjoti@users.noreply.github.com>
@mauzey1 |
Fixed #464 |
Hi @mauzey1,
Is there something that I need to change? |
@wachsylon In the 6.9.32 tables, we removed the I have tested test_singleton.c using the latest build of CMOR 3.6.0 and the 6.9.32 tables and did not get the error. Check if your test file is the latest from the repo, and make sure that it is using the directory with the 6.9.32 table. |
Thanks, it works with the recent test. Maybe it is possible to design these tests independently from the tables. The failing test suggests that the cmor version is incompatible with the table version which is probably not true. Another idea would be to tag a cmor 3.6.1. But I know this is a lot of effort for one test... |
This test was for multiple singleton axes. Since |
This error occurs if a variable has two or more singleton
dimensions and these axis ids (axes_ids) are omitted
when invoking cmor_variable().