Skip to content

Commit

Permalink
Merge branch 'minor-doc-fix-and-hack' of github.com:Ouranosinc/xclim …
Browse files Browse the repository at this point in the history
…into minor-doc-fix-and-hack
  • Loading branch information
aulemahal committed Jun 26, 2020
2 parents 71724eb + e219f5d commit d2c9291
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xclim/ensembles.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,9 @@ def ensemble_percentiles(
for p, perc in out.data_vars.items():
perc.attrs.update(ens.attrs)
perc.attrs["description"] = (
perc.attrs.get("descrption", "") + " {p}th percentile of ensemble."
perc.attrs.get("description", "") + f" {p}th percentile of ensemble."
)
out[p] = perc
out = out.rename(name_dict={p: f"{ens.name}_p{int(p):02d}"})

out.attrs["history"] = update_history(
Expand Down

0 comments on commit d2c9291

Please sign in to comment.