-
Notifications
You must be signed in to change notification settings - Fork 0
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
Integration tests - how identical? #149
Comments
@atteggiani had the idea here of restricting |
h5dump shows different versions I'd be happy using |
If the data and metadata are identical, then I suggest following @MartinDix's advice and use a less-restrictive comparison for the bitwise compatibility. |
Thanks @MartinDix and @atteggiani, using |
#134 added manual integration tests, which compare the results of converting a ppfile with
um2nc
against data produced by the originalum2netcdf4
script. This has been useful to guard against inadvertent changes that might be missed by the unit tests – it would be great to turn these into CI tests that are run during pull requests!Up until now the output from
um2nc
has been bitwise identical to that ofum2netcdf4
.However, building a new conda environment for
um2nc
causes the bitwise integration tests to fail. The cause seems to be a newer version ofhdf5
producing some (unclear) difference in the resulting files. See #146 (comment) for details. Meanwhile,nccmp
suggests that the data and metadata in the netCDF files are identical.With the release and future updates, how strictly do we want to adhere to bitwise equivalence?
The text was updated successfully, but these errors were encountered: