Skip to content
Snippets Groups Projects
Commit ee5238da authored by Martin Lange's avatar Martin Lange
Browse files

fix profiling for renamed function to_xarray

parent 39000f11
No related branches found
No related tags found
1 merge request!242Fix/catch failing profiling
Pipeline #134941 passed with stages
in 5 minutes and 40 seconds
......@@ -19,7 +19,7 @@ def run_model():
size = (1024, 1024)
info1 = fm.Info(time=None, grid=fm.UniformGrid(size), units="m")
data = fm.data.to_xarray(fm.data.full(0.0, info1), info1)
data = fm.data.prepare(fm.data.full(0.0, info1), info1)
def gen_data(t):
return np.copy(data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment