Skip to content

Commit

Permalink
weights on
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Feb 9, 2024
1 parent 0118fca commit 63b95a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/wp3/bias_assessment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
" request_reanalysis | {\"variable\": variable},\n",
" chunks=chunks,\n",
" transform_func=regionalised_spatial_weighted_mean,\n",
" transform_func_kwargs={\"region\": region, \"weights\": False},\n",
" transform_func_kwargs={\"region\": region, \"weights\": True},\n",
" )\n",
" (da,) = ds.data_vars.values()\n",
" dataarrays.append(postprocess_dataarray(da.rename(variable)))\n",
Expand Down Expand Up @@ -391,7 +391,7 @@
" transform_func=regionalised_spatial_weighted_mean,\n",
" transform_func_kwargs={\n",
" \"region\": region,\n",
" \"weights\": False,\n",
" \"weights\": True,\n",
" \"mean_dims\": (\"realization\",),\n",
" },\n",
" backend_kwargs={\n",
Expand Down

0 comments on commit 63b95a4

Please sign in to comment.