Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Mar 2, 2021
1 parent 2e09d24 commit 442187a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion climetlab/utils/grib.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def post_xarray_open_dataset_hook(ds):
ds = ds.drop("surface")
return ds


def open_dataset_params(time_convention="withstep"):
params = {}
if time_convention == "withstep":
Expand Down Expand Up @@ -51,4 +52,4 @@ def open_dataset_params(time_convention="withstep"):
params["chunks"] = chunk_sizes_in
params["backend_kwargs"] = dict(squeeze=False, time_dims=time_dims)

return params
return params

0 comments on commit 442187a

Please sign in to comment.