Skip to content

What makes the NAME loader faster than the NetCDF loader? #5053

@trexfeathers

Description

@trexfeathers

📰 Custom Issue

@bsherratt has provided an interesting case. A Name III .txt file describing:

  • 200 x 200 grid
  • ~200 phenomena

The file takes ~20s to load. If Iris is used to convert the file to NetCDF, that NetCDF file takes ~105s to load. Both loaders are unreasonably slow in this example, since the grid is shared between all phenomena, yet the Coord instances are created on a Cube-by-Cube basis (see #3172 for discussion on sharing). But why is NetCDF even slower?

File available on request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions