Skip to content

Commit

Permalink
typos in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
coxipi committed Jun 12, 2024
1 parent 808e192 commit ee15980
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions docs/notebooks/figanos_docs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1037,9 +1037,11 @@
"metadata": {},
"outputs": [],
"source": [
"ds_ref = xc.testing.open_dataset(\"sdba/ahccd_1950-2013.nc\")\n",
"ds_sim = xc.testing.open_dataset(\"sdba/nrcan_1950-2013.nc\")\n",
"for v in ds.data_vars: \n",
"from xclim.testing import open_dataset\n",
"\n",
"ds_ref = open_dataset(\"sdba/ahccd_1950-2013.nc\")\n",
"ds_sim = open_dataset(\"sdba/nrcan_1950-2013.nc\")\n",
"for v in ds_ref.data_vars: \n",
" ds_sim[v] = xc.core.units.convert_units_to(ds_sim[v], ds_ref[v], context=\"hydro\")\n",
"\n",
"# Here, we have three locations, two variables. We stack variables to convert from\n",
Expand Down Expand Up @@ -1194,14 +1196,6 @@
" line_kw={'lw':2}\n",
")\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "70",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit ee15980

Please sign in to comment.