https://us02web.zoom.us/j/87503265754?pwd=cEFJMzFqdTFaS3BMdkx4UkNZRk1QZz09
Archive: https://hackmd.io/Vv6g2ABzTPKbe2MWBQqS1w
xr.tutorial.open_datatree
xarray-datatree
on PyPI.shape
attributeds.as_array_type(cp.asarray)
ds.as_array_type(jnp.from_dlpack)
ds.as_array_type(jnp.asarray, device=jax.devices("gpu")[0])
ds.as_array_type(pint.Quantity, units="m/s")
ds.is_array_type(cp.ndarray) # -> True
jax.tree.map(cp.asarray, ds)
or isinstance(array.data, cp.ndarray)
root.create_array(..., name='/foo/bar')
vs root.create_array(..., name='foo/bar')
xarray
(might be possible to interface with fillna
, bfill
/ ffill
, where
, notnull
/ isnull
, interpolate_na
):
import marray
data = marray.numpy.asarray(np.array([1, 2, 3], dtype="int32"), mask=np.array([True, False, True]))
arr = xr.DataArray(data, dims="x")
assert arr.dtype == "int64"
open_mfdataset
DataTree.to_zarr(append_dim)
bug (https://github.com/pydata/xarray/issues/9858)xarray.DataTree
Stephan:
Justus:
Tom
Joe
Deepak
xarray-contrib/datatree
?
.fill_value
as CF _FillValue
only for new V3 storesmain
pip install git+https://github.com/TomAugspurger/zarr-python@xarray-compat git+https://github.com/TomAugspurger/xarray/@fix/zarr-v3 git+https://github.com/jhamman/dask@fix/zarr-array-construction-2
__array_namespace__
over __array_function__
DataTree.subtree.<method>
namespace?
open_groups
typing Qconventions.decode_cf_variables
without decoding actual values
Dataset.shuffle_by() -> Dataset
DatasetGroupBy.shuffle() -> DatasetGroupBy
.Cancelled – only Stephan Hoyer and Justus Magin showed up.
main
cupy
underneath arbitrary layers (especially dask)open_as_dict_of_datasets
idea? Would that help?
open_mfdataset
works for 90% of cases
open_mf_as_grid_of_datasets
function to create an interrogatable intermediate structureopen_datatree
open_datatree
failed on alignment it gave very clear report of what should be fixedpreprocess
arg could be useful for "massaging"open_as_dict_of_datasets
(or open_datatree_as_dict
?) (Tom can raise issue for this)
assert_equal
… https://github.com/pydata/xarray/blob/b0036749542145794244dee4c4869f3750ff2dee/xarray/testing/assertions.py#L88-L120
ds = xr.Dataset(data_vars={'x': ('x', [0])})
PendingDeprecationWarning
Coordinates
object is passed__array__
(typing, mostly): https://github.com/pydata/xarray/pull/8939/filesas_shared_dtype
concatenate
and stack
shouldn't really allow python scalars (?)where
, in which case that code could also go therefsspec
objectsxarray/tests/test_duck_array_ops.py::TestOps::test_where_type_promotion: AssertionError: assert dtype('float64') == <class 'numpy.float32'>
+ where dtype('float64') = array([ 1., nan]).dtype
+ and <class 'numpy.float32'> = np.float32
xarray/tests/test_duck_array_ops.py::TestDaskOps::test_where_type_promotion: AssertionError: assert dtype('float64') == <class 'numpy.float32'>
+ where dtype('float64') = array([ 1., nan]).dtype
+ and <class 'numpy.float32'> = np.float32
Deepak : upstream-dev fixes
Tom:
Alex F
Matt
Stephan
Relevant issues
Why xarray?
Pain points?