Skip to content

Commit

Permalink
add compute
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Jun 20, 2023
1 parent ea7904f commit b7852ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
")\n",
"\n",
"with xr.set_options(keep_attrs=True):\n",
" ds = ds_timeseries.mean(\"year\")\n",
" ds = ds_timeseries.mean(\"year\").compute()\n",
" ds_bias = ds.drop_sel(model=\"ERA5\") - ds.sel(model=\"ERA5\")\n",
"for da in ds_bias.data_vars.values():\n",
" da.attrs[\"long_name\"] += \" Bias\""
Expand Down

0 comments on commit b7852ef

Please sign in to comment.