Batch Generation from Xarray Datasets
copied from cf-staging / xbatcherXbatcher is a small library for iterating xarray DataArrays in batches. The goal is to make it easy to feed xarray datasets to machine learning libraries such as PyTorch or TensorFlow.