KVBackend¶
Import path: earth2studio.io.KVBackend
Documentation¶
A key-value (dict) backend holding Torch tensors.
Stored arrays are Torch tensors on device, keyed by name in
root. Dimension and auxiliary coordinates are kept in coords
and the store is available as an xarray.Dataset from
to_xarray.
Parameters:
-
device(str, default:'cpu') –Device to keep array tensors on, by default "cpu"