xarray-contrib / xbatcher

Batch generation from xarray datasets
https://xbatcher.readthedocs.io
Apache License 2.0
167 stars 27 forks source link

Implement __repr__ for BatchGenerator #129

Open maxrjones opened 2 years ago

maxrjones commented 2 years ago

What is your issue?

Noting the recommendation by @jhamman to add a __repr__ method that supplies information about the batches, perhaps using some of the functions proposed in https://github.com/xarray-contrib/xbatcher/pull/124 for determining the sample and other dimension lengths.