Skip to content

Commit

Permalink
satellite esacci updates
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Jun 26, 2024
1 parent 9e3b411 commit 66e77ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion notebooks/wp5/satellite_esacci_gmpe_timeseries.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"# Time\n",
"# Note: Time period from December year_start-1 to November year_stop\n",
"year_start = 1982\n",
"year_stop = 2011\n",
"year_stop = 2016\n",
"\n",
"# Regions\n",
"regions = {\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/wp5/satellite_esacci_gmpe_variability.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
" **kwargs,\n",
" requests=annual_requests,\n",
" transform_func=compute_time_reductions,\n",
" transform_func_kwargs={\"func\": func, \"weights\": False},\n",
" transform_func_kwargs={\"func\": func, \"weights\": False, \"skipna\": False},\n",
" )\n",
" tmp_ds_list.append(rechunk(ds).expand_dims(reduction=[reduction]))\n",
" annual_ds_list.append(\n",
Expand Down Expand Up @@ -308,7 +308,7 @@
" **kwargs,\n",
" requests=season_requests,\n",
" transform_func=compute_time_reductions,\n",
" transform_func_kwargs={\"func\": func, \"weights\": False},\n",
" transform_func_kwargs={\"func\": func, \"weights\": False, \"skipna\": False},\n",
" )\n",
" tmp_ds_list.append(rechunk(ds).expand_dims(reduction=[reduction]))\n",
" seasonal_ds_list.append(xr.concat(tmp_ds_list, \"reduction\"))\n",
Expand Down

0 comments on commit 66e77ae

Please sign in to comment.