xarray_size_check
File Purpose: misc. tools related to checking xarray size,
and doing manipulations more efficiently with chunking for very large arrays.
Functions
|
returns ds.to_array(...) but first check that the result won't be too big. |
|
return dict of {dim: max size across all arrays} for all dims in any of the arrays. |
|
returns result of product of arrays then .sum(dim=dim). |
|
return prediction of how large the product of these xarray objects would be. |
|
ensure that the result of combining these xarrays (e.g., via product) is not too large. |