xarray-contrib/xbatcher

Verde & Xbatcher -> Any connections / shared use?

Closed this issue · 1 comments

Verde (https://www.fatiando.org/verde/latest/#) has some spatial splitting and shuffling functions. Does this (could?) have some overlap with Xbatcher?

One example here: https://www.fatiando.org/verde/latest/api/generated/verde.BlockShuffleSplit.html#verde.BlockShuffleSplit

Just thinking out-loud as I dig into the repo's.

Best,
-TM

👋 @ThomasMGeo, thanks for opening this issue!

Verde's utility for splitting data definitely overlaps with the development roadmap for xbatcher. It will be useful to consider Verde’s implementation when building out xbatcher's API. A couple key differences are that xbatcher’s splitting and shuffling utilities will operate on batches and xarray datasets or dataarrays whereas verde expects the data array and coordinates to be separated. I think we’ll also want to support both selective and random sampling.