TileDB-Inc / TileDB-CF-Py

TileDB interface with awareness of the CF metadata conventions
https://tiledb-inc.github.io/TileDB-CF-Py/
MIT License
19 stars 3 forks source link

Refactor Xarray Backend Tests #59

Closed calexat-123 closed 3 years ago

calexat-123 commented 3 years ago

Refactored the tests to work with xarray dataset samples and set to_tiledb and then open_dataset with our engine for roundtrip to compare expected and result datasets. I also added a test for comparing results from indexing tdb arrays to indexing the xarray dataset. Still needs work on fixtures and edit domain settings and to be built out a bit in general.

jp-dark commented 3 years ago

Adding a roundtrip test is blocked by having a "canonical" DataArray writer that can fully recover a TileDB array.