Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Avoid xarray len implementation loading data #1467
XArray supports lazy loading of data but the current xarray interface uses the actual array data to determine the length of the data, which is highly inefficient. This PR instead uses the product of the coordinate array lengths which are always in memory to determine the overall length.