(obj)
| 283 | |
| 284 | @sizeof.register(xr.Dataset) |
| 285 | def xarray_sizeof_ds(obj): |
| 286 | return sys.getsizeof(obj) + sizeof(obj.variables) |
| 287 | |
| 288 | if XARRAY_GE_2024_02: |
| 289 | xarray_sizeof_da = sizeof.register(xr.NamedArray)(xarray_sizeof_da) |
nothing calls this directly
no outgoing calls
no test coverage detected