Skip to content

Commit

Permalink
remove extra vars
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Feb 26, 2024
1 parent d92a93b commit e43eee4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions notebooks/wp4/extreme_temperature_indices.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,7 @@
" resample,\n",
" **regrid_kwargs,\n",
"):\n",
" if \"rotated_pole\" in ds:\n",
" ds = ds.drop_vars(\"rotated_pole\")\n",
" ds = ds.drop_vars([var for var, da in ds.data_vars.items() if len(da.dims) != 3])\n",
"\n",
" # Original bounds for conservative interpolation\n",
" if regrid_kwargs.get(\"method\") == \"conservative\":\n",
Expand Down

0 comments on commit e43eee4

Please sign in to comment.