xarray-mongodb

Store xarray objects on MongoDB


Keywords
mongodb, xarray, dask, distributed, pint, sparse
License
Apache-2.0
Install
pip install xarray-mongodb==0.2.2.dev35

Documentation

Amphora Logo

xarray_mongodb

doc-badge lint-badge pytest-badge

Read the full documentation at https://xarray-mongodb.readthedocs.io/en/latest/

xarray_mongodb allows storing xarray objects on MongoDB. Its design is heavily influenced by GridFS.

Current Features

  • Synchronous operations with PyMongo
  • asyncio support with Motor
  • Units annotation with Pint
  • Delayed put/get of xarray objects backed by dask. Only metadata and numpy-backed variables (e.g. indices) are written and read back at the time of graph definition.
  • Support for dask distributed
  • Data is stored on the database in a format that is agnostic to Python; this allows writing clients in different languages.

Upcoming Features

  • sparse arrays