Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up netCDF4, h5netcdf backends #9067

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Commits on Jun 4, 2024

  1. Speed up netCDF4 backend.

    xref pydata#9058
    
    Accessing `.shape` on a netCDF4 variable is ~20-40ms.
    This can add up for large numbers of variables, e.g.:
    pydata#9058
    
    We already request the shape when creating NetCDF4ArrayWrapper,
    so we can reuse that.
    dcherian committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    590a264 View commit details
    Browse the repository at this point in the history
  2. Update h5netcdf backend too

    dcherian committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    3e28bac View commit details
    Browse the repository at this point in the history