Batch generation from Xarray objects
Project description
Xbatcher is a small library for iterating Xarray DataArrays and Datasets in batches. The goal is to make it easy to feed Xarray objects to machine learning libraries such as PyTorch or TensorFlow. View the for more info.
Installation
Xbatcher can be installed from PyPI as:
python -m pip install xbatcher
Or via Conda as:
conda install -c conda-forge xbatcher
Or from source as:
python -m pip install git+https://github.com/xarray-contrib/xbatcher.git
Documentation
Documentation is hosted on ReadTheDocs: https://xbatcher.readthedocs.org
License
Apache License 2.0, see LICENSE file.
Acknowledgements
This work was funded in part by:
NASA ACCESS19-0049: Pangeo ML: Open Source Tools and Pipelines for Scalable Machine Learning Using NASA Earth Observation Data
This work was motivated by many conversations in the Pangeo community and Pangeo ML working group
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xbatcher-0.4.0.tar.gz
.
File metadata
- Download URL: xbatcher-0.4.0.tar.gz
- Upload date:
- Size: 50.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6744005c76699659586a92d35a497e327749b37aa441e941c07a696ec99b6a8f |
|
MD5 | 7b733b33a4b22b40d9be27e702fb3fa0 |
|
BLAKE2b-256 | 9fbf28661c7535fa29cac2236a3854ea976668ab2e9dcc2d893f3fa2260a6161 |
Provenance
File details
Details for the file xbatcher-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: xbatcher-0.4.0-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a52dfa4e772c83f7a1937261c9a51cba656edefd09f5ffd780f62da2ad0dbea2 |
|
MD5 | e7f171bd5a62502b92583ed92005d9c4 |
|
BLAKE2b-256 | 85f09a67b054cd767e3beddb439969c30d885b59b617d743dda5e01efb693ee4 |