Skip to content

Commit

Permalink
Modified benchmark netcdf import - SciTools#4803.
Browse files Browse the repository at this point in the history
  • Loading branch information
trexfeathers committed Sep 29, 2022
1 parent b423984 commit 930ebe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/benchmarks/generate_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def load_realised():
file loading, but some benchmarks are only meaningful if starting with real
arrays.
"""
from iris.fileformats.netcdf import _get_cf_var_data as pre_patched
from iris.fileformats.netcdf.loader import _get_cf_var_data as pre_patched

def patched(cf_var, filename):
return as_concrete_data(pre_patched(cf_var, filename))
Expand Down

0 comments on commit 930ebe5

Please sign in to comment.