xarray-sql
xarray-sql copied to clipboard
An experiment to query Xarray datasets with SQL
Or geospatial geometry libraries, in general. Breaking the feature out from #5.
Here's an example workflow that I'd like to support once this feature exists. This is from Jake Wall of the Mara Elephant Project. Here, he would make use of raster...
One level, the fallback, would be the prototype in #8. This should always work, but is expensive since it requires compact Xarray datasets to be unraveled. The other level would...
https://overcast.fm/+AAU1XJb7r0Y/9:25 Can Xarrat/Zarr be hooked up to PostGIS as out DB rasters? Some notes: - raster2pg - 8kb page size, 32x32 pixels. - Want a tile size to match your...
I had a shower thought today. If Zarr is an OLAP DB, then could we treat tables as rasters? https://github.com/zarr-developers/zarr-specs/issues/290 One perspective is that this is the inverse of what...
Set up the dataframe interchange protocol scaffolding and implemented the initial XarrayBuffer component. Introduced a dedicated xarray_sql.dataframe_protocol subpackage so protocol-specific logic has its own organized namespace rather than crowding existing...
This commit sets up automated code quality checks using pre-commit: 1. Pre-commit configuration (.pre-commit-config.yaml): - Added pyink for code formatting (reads config from pyproject.toml) - Added mypy for type checking...
https://pre-commit.com/ I'd like to automate our auto-formatter with pyink and type checking (say, via mypy) at the very least. To close this issue, let's document using this pre-commit rule in...
https://github.com/apache/datafusion-python/blob/main/python/tests/test_catalog.py https://datafusion.apache.org/python/user-guide/data-sources.html#user-defined-catalog-and-schema