We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Need to implement a comparison between xarray datasets to compare the grids and metadata. This is required
The text was updated successfully, but these errors were encountered:
@sol1105, here are some possible solutions for us to test out:
We might not need to write any extra code.
If we have a situation where we need to do a partial comparison, we can probably do:
assert isinstance(da1, xr.DataArray) assert isinstance(da2, xr.DataArray) da1_part = da1.drop(...stuff we don't want to compare...) da2_part = da2.drop(...stuff we don't want to compare...) xr.testing.assert_identical(da1_part, da2_part)
Sorry, something went wrong.
No branches or pull requests
Description
Need to implement a comparison between xarray datasets to compare the grids and metadata.
This is required
The text was updated successfully, but these errors were encountered: